diff options
author | Zhiyong Tao <zhiyong.tao@mediatek.com> | 2017-09-21 04:26:52 +0300 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2018-03-19 04:49:59 +0300 |
commit | 5f59955299a13196233bbc0fb72f8dd5b5ba22a1 (patch) | |
tree | bb98f6886048debb197f78236e7e3c774163c14b /arch/arm64/boot/dts/mediatek | |
parent | 2c97fa22daa1f9bdbdebb9880f44a50c703a9d35 (diff) | |
download | linux-5f59955299a13196233bbc0fb72f8dd5b5ba22a1.tar.xz |
arm64: dts: mt2712: Add auxadc device node.
Add auxadc device node for MT2712.
Signed-off-by: Zhiyong Tao <zhiyong.tao@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'arch/arm64/boot/dts/mediatek')
-rw-r--r-- | arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 4 | ||||
-rw-r--r-- | arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt2712-evb.dts b/arch/arm64/boot/dts/mediatek/mt2712-evb.dts index 10f9c76cd105..4ce9d6ca0bf7 100644 --- a/arch/arm64/boot/dts/mediatek/mt2712-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt2712-evb.dts @@ -41,6 +41,10 @@ }; +&auxadc { + status = "okay"; +}; + &cpu0 { proc-supply = <&cpus_fixed_vproc0>; }; diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index fdf66f4fe7c3..9d88f41aefa0 100644 --- a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi @@ -289,6 +289,15 @@ (GIC_CPU_MASK_RAW(0x13) | IRQ_TYPE_LEVEL_HIGH)>; }; + auxadc: adc@11001000 { + compatible = "mediatek,mt2712-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,mt2712-uart", "mediatek,mt6577-uart"; |