diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2017-09-05 19:09:55 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2017-10-12 02:12:02 +0200 |
commit | dd47e4a36afd6c606f20e6d58e58f8e7e472c8fe (patch) | |
tree | c37d53b52ebf0fb66d5d24276c816ceb74d2c11e | |
parent | Linux 4.14-rc4 (diff) | |
download | linux-dd47e4a36afd6c606f20e6d58e58f8e7e472c8fe.tar.xz linux-dd47e4a36afd6c606f20e6d58e58f8e7e472c8fe.zip |
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: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts index 64c54c92e214..a8aa9ce5f55e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts @@ -96,6 +96,13 @@ 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 { compatible = "regulator-fixed"; regulator-name = "VDDIO_BOOT"; @@ -196,6 +203,11 @@ "7J1 Header Pin15"; }; +&saradc { + status = "okay"; + vref-supply = <&vddio_ao18>; +}; + /* SD card */ &sd_emmc_b { status = "okay"; |