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>
This commit is contained in:
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 @@ memory {
};
};
&auxadc {
status = "okay";
};
&pio {
spi_pins_a: spi0@0 {
pins_spi {

View File

@ -207,6 +207,15 @@ gic: interrupt-controller@10211000 {
<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";