提交 dd47e4a3 编写于 作者: J Jerome Brunet 提交者: Kevin Hilman

ARM64: dts: meson-gxl-libretech-cc: enable saradc

Enable saradc and add the reference 1.8v regulator required.
The libretech-cc has saradc channel 0 and 2 available on the 2 first
pins of 2J3 header
Signed-off-by: NJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: NKevin Hilman <khilman@baylibre.com>
上级 8a5776a5
...@@ -96,6 +96,13 @@ ...@@ -96,6 +96,13 @@
regulator-settling-time-down-us = <50000>; regulator-settling-time-down-us = <50000>;
}; };
vddio_ao18: regulator-vddio_ao18 {
compatible = "regulator-fixed";
regulator-name = "VDDIO_AO18";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
vddio_boot: regulator-vddio_boot { vddio_boot: regulator-vddio_boot {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "VDDIO_BOOT"; regulator-name = "VDDIO_BOOT";
...@@ -196,6 +203,11 @@ ...@@ -196,6 +203,11 @@
"7J1 Header Pin15"; "7J1 Header Pin15";
}; };
&saradc {
status = "okay";
vref-supply = <&vddio_ao18>;
};
/* SD card */ /* SD card */
&sd_emmc_b { &sd_emmc_b {
status = "okay"; status = "okay";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册