Skip to content

Commit 27fdf92

Browse files
committed
ARM: dts: Add strict_gpiod dtparam
Setting strict_gpiod disables the GPIO output persistence, such that pins are returned to being inputs when they are released. Note that this applies to the GPIO/pinctrl driver for the user-facing GPIOs, not the SoC GPIOs on Pi 5. Signed-off-by: Phil Elwell <[email protected]>
1 parent 3668014 commit 27fdf92

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

arch/arm/boot/dts/broadcom/bcm270x-rpi.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@
9797
drm_fb0_vc4 = <&aliases>, "drm-fb0=",&vc4;
9898
drm_fb1_vc4 = <&aliases>, "drm-fb1=",&vc4;
9999
drm_fb2_vc4 = <&aliases>, "drm-fb2=",&vc4;
100+
101+
strict_gpiod = <&chosen>, "bootargs=pinctrl_bcm2835.strict_gpiod=y";
100102
};
101103
};
102104

arch/arm/boot/dts/broadcom/bcm2712-rpi.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
nvmem_cust_rw = <&nvmem_cust>,"rw?";
100100
nvmem_priv_rw = <&nvmem_priv>,"rw?";
101101
nvmem_mac_rw = <&nvmem_mac>,"rw?";
102+
strict_gpiod = <&chosen>, "bootargs=pinctrl_rp1.strict_gpiod=y";
102103
};
103104
};
104105

0 commit comments

Comments
 (0)