diff options
author | Zhiyong Tao <zhiyong.tao@mediatek.com> | 2017-01-13 11:42:56 +0300 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2017-01-13 18:15:00 +0300 |
commit | 301501d3b5eb3e86be01f2584321c9c8f4b9b98b (patch) | |
tree | 70842428828d0604a9361dfa607aaa257feef670 | |
parent | 111758b738cc9190521f75d65cb7987b230fede4 (diff) | |
download | linux-301501d3b5eb3e86be01f2584321c9c8f4b9b98b.tar.xz |
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>
-rw-r--r-- | arch/arm/boot/dts/mt2701-evb.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/mt2701.dtsi | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/mt2701-evb.dts b/arch/arm/boot/dts/mt2701-evb.dts index 879f1ebfc16d..a4837985b7a7 100644 --- a/arch/arm/boot/dts/mt2701-evb.dts +++ b/arch/arm/boot/dts/mt2701-evb.dts @@ -24,6 +24,10 @@ }; }; +&auxadc { + status = "okay"; +}; + &pio { spi_pins_a: spi0@0 { pins_spi { diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi index 9edf000cf7af..af5c737a10a5 100644 --- a/arch/arm/boot/dts/mt2701.dtsi +++ b/arch/arm/boot/dts/mt2701.dtsi @@ -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"; |