diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2021-06-07 08:54:29 +0200 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2021-06-14 09:57:45 +0200 |
commit | 1f80a5cf74a60997b92d2cde772edec093bec4d9 (patch) | |
tree | 5a801965b65cd1702c2d15ced8f117c83c4cca27 /arch | |
parent | a270a2b24de5be0480136cbbd7805b9134762b97 (diff) | |
download | linux-stable-1f80a5cf74a60997b92d2cde772edec093bec4d9.tar.gz linux-stable-1f80a5cf74a60997b92d2cde772edec093bec4d9.tar.bz2 linux-stable-1f80a5cf74a60997b92d2cde772edec093bec4d9.zip |
arm64: dts: meson-sm1-odroid: add missing enable gpio and supply for tf_io regulator
As described in the schematics of Odroid-C4 and Odroid-HC4, the TF_IO regulator
is enabled by the GPIOE_2 GPIO and gets it's supply from VCC_5V.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20210607065435.577334-2-narmstrong@baylibre.com
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi index d14716b3d0f1..af40ba461074 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi @@ -46,6 +46,11 @@ regulator-name = "TF_IO"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; + vin-supply = <&vcc_5v>; + + enable-gpio = <&gpio GPIOE_2 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; gpios = <&gpio_ao GPIOAO_6 GPIO_ACTIVE_HIGH>; gpios-states = <0>; |