Skip to content

Commit e6b0337

Browse files
thelekssuperna9999
authored andcommitted
arm64: dts: meson-sm1-odroid: fix boot loop after reboot
Since the correct gpio pin is used for enabling tf-io regulator the system did not boot correctly after calling reboot. [ 36.862443] reboot: Restarting system bl31 reboot reason: 0xd bl31 reboot reason: 0x0 system cmd 1. SM1:BL:511f6b:81ca2f;FEAT:A0F83180:20282000;POC:B;RCY:0;SPINOR:0;CHK:1F;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;0.0;CHK:0; bl2_stage_init 0x01 bl2_stage_init 0x81 hw id: SM1:BL:511f6b:81ca2f;FEAT:A0F83180:20282000;POC:B;RCY:0;SPINOR:0;CHK:1F;EMMC:800;NAND:81;SD?:0;SD:400;USB:8;LOOP:1;... Setting the gpio to open drain solves the issue. Fixes: 1f80a5c ("arm64: dts: meson-sm1-odroid: add missing enable gpio and supply for tf_io regulator") Signed-off-by: Lutz Koschorreck <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> [narmstrong: reduced serial log & removed invalid character in commit message] Signed-off-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/20220128193150.GA1304381@odroid-VirtualBox
1 parent f26573e commit e6b0337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
regulator-max-microvolt = <3300000>;
4949
vin-supply = <&vcc_5v>;
5050

51-
enable-gpio = <&gpio_ao GPIOE_2 GPIO_ACTIVE_HIGH>;
51+
enable-gpio = <&gpio_ao GPIOE_2 GPIO_OPEN_DRAIN>;
5252
enable-active-high;
5353
regulator-always-on;
5454

0 commit comments

Comments
 (0)