arm: xea: dts: Add 'fec-3v3' regulator properties to prevent accidental disablement
authorLukasz Majewski <lukma@denx.de>
Sat, 25 Jan 2020 08:01:40 +0000 (09:01 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 9 Feb 2020 13:59:16 +0000 (14:59 +0100)
The 'enable-active-high' DTS property configures GPIO so it is active with
HIGH state (by default it is low).

The 'regulator-boot-on' property indicates that the regulator was enabled
in the 'earlier' stage - i.e. bootloader/firmware.
In the XEA case the 'fec-3v3' was configured (as a "wrapper" on GPIO0_0) in
very early SPL code, so it shouldn't be modified at latter stages.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
arch/arm/dts/imx28-xea.dts

index 5de6774c5a49bcc935231d693c9022b9c14cc3d2..de049042f83ec894411f4ed2017772fdb65a9e4e 100644 (file)
@@ -38,6 +38,8 @@
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+               regulator-boot-on;
        };
 };