]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: aspeed: system1: Disable gpio pull down
authorNinad Palsule <ninad@linux.ibm.com>
Tue, 4 Feb 2025 19:41:12 +0000 (13:41 -0600)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Wed, 11 Jun 2025 04:19:18 +0000 (13:49 +0930)
Disable internal pull down for the following GPIO lines.
- GPIOL4 - Reset PCH registers in the rtc.
- GPIOL5 - Reset portition of Intel ME
- GPIOL6 - FM smi active
- GPIOL7 - psu all dc power good.

Reviewed-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
Link: https://patch.msgid.link/20250204194115.3899174-10-ninad@linux.ibm.com
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts

index 00b091bc7da9931faf52cd4e6f97edf670af15ac..c8267c97a44e6fb50dab6248f7257eef3bc4b557 100644 (file)
        status = "okay";
 };
 
+&pinctrl {
+       pinctrl_gpiol4_unbiased: gpiol4 {
+               pins = "C15";
+               bias-disable;
+       };
+
+       pinctrl_gpiol5_unbiased: gpiol5 {
+               pins = "F15";
+               bias-disable;
+       };
+
+       pinctrl_gpiol6_unbiased: gpiol6 {
+               pins = "B14";
+               bias-disable;
+       };
+
+       pinctrl_gpiol7_unbiased: gpiol7 {
+               pins = "C14";
+               bias-disable;
+       };
+};
+
 &gpio0 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_gpiol4_unbiased
+               &pinctrl_gpiol5_unbiased
+               &pinctrl_gpiol6_unbiased
+               &pinctrl_gpiol7_unbiased>;
+
        gpio-line-names =
        /*A0-A7*/       "","","","","","","","",
        /*B0-B7*/       "","","","","bmc-tpm-reset","","","",