OSDN Git Service

arm: dts: mt7623: add auxadc nodes to the mt7623.dtsi file
authorSean Wang <sean.wang@mediatek.com>
Wed, 26 Apr 2017 09:26:04 +0000 (17:26 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 15 May 2017 08:47:09 +0000 (10:47 +0200)
Add auxadc nodes to the mt7623.dtsi file.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm/boot/dts/mt7623.dtsi

index c21e19c..25fb19b 100644 (file)
                      <0 0x10216000 0 0x2000>;
        };
 
+       auxadc: adc@11001000 {
+               compatible = "mediatek,mt7623-auxadc",
+                            "mediatek,mt2701-auxadc";
+               reg = <0 0x11001000 0 0x1000>;
+               clocks = <&pericfg CLK_PERI_AUXADC>;
+               clock-names = "main";
+               #io-channel-cells = <1>;
+       };
+
        uart0: serial@11002000 {
                compatible = "mediatek,mt7623-uart",
                             "mediatek,mt6577-uart";