Skip to content

Commit

Permalink
arm64: dts: meson-sm1-odroid: add missing enable gpio and supply for …
Browse files Browse the repository at this point in the history
…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 <[email protected]>
Acked-by: Martin Blumenstingl <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
superna9999 committed Jun 14, 2021
1 parent a270a2b commit 1f80a5c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down

0 comments on commit 1f80a5c

Please sign in to comment.