arm64: dts: mediatek: mt8516: add auxadc node
authorFabien Parent <fparent@baylibre.com>
Mon, 12 Oct 2020 20:52:18 +0000 (22:52 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 26 Oct 2020 09:49:42 +0000 (10:49 +0100)
Add node for the auxadc IP. The IP is compatible with the one found
in MT8173 SoC.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Link: https://lore.kernel.org/r/20201012205218.3010868-2-fparent@baylibre.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8516.dtsi

index 89af661..943c426 100644 (file)
                                #phy-cells = <1>;
                        };
                };
+
+               auxadc: adc@11003000 {
+                       compatible = "mediatek,mt8516-auxadc",
+                                    "mediatek,mt8173-auxadc";
+                       reg = <0 0x11003000 0 0x1000>;
+                       clocks = <&topckgen CLK_TOP_AUX_ADC>;
+                       clock-names = "main";
+                       #io-channel-cells = <1>;
+                       status = "disabled";
+               };
        };
 };