1
0
Fork 0

arm: dts: mt2701: Add auxadc device node.

Add auxadc device node for MT2701.

Signed-off-by: Zhiyong Tao <zhiyong.tao@mediatek.com>
Signed-off-by: Erin Lo <erin.lo@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
zero-colors
Zhiyong Tao 2017-01-13 16:42:56 +08:00 committed by Matthias Brugger
parent 111758b738
commit 301501d3b5
2 changed files with 13 additions and 0 deletions

View File

@ -24,6 +24,10 @@
};
};
&auxadc {
status = "okay";
};
&pio {
spi_pins_a: spi0@0 {
pins_spi {

View File

@ -207,6 +207,15 @@
<0 0x10216000 0 0x2000>;
};
auxadc: adc@11001000 {
compatible = "mediatek,mt2701-auxadc";
reg = <0 0x11001000 0 0x1000>;
clocks = <&pericfg CLK_PERI_AUXADC>;
clock-names = "main";
#io-channel-cells = <1>;
status = "disabled";
};
uart0: serial@11002000 {
compatible = "mediatek,mt2701-uart",
"mediatek,mt6577-uart";