]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: aspeed: system1: Mark GPIO line high/low
authorNinad Palsule <ninad@linux.ibm.com>
Tue, 4 Feb 2025 19:41:11 +0000 (13:41 -0600)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Wed, 11 Jun 2025 04:19:18 +0000 (13:49 +0930)
- Mark following GPIO lines as input high:
  - GPIOL4 (reset PCH registers)
  - GPIOL5 (reset portition of intel ME)
- Mark isolate errors from cpu1 gpio (GPIOO6) as active low output.
- The fan controller reset line should be active high.

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

index 7d9f6a1b26379f2df07b16d0892e17f1412ea032..00b091bc7da9931faf52cd4e6f97edf670af15ac 100644 (file)
        /*X0-X7*/       "fpga-pgood","power-chassis-good","pch-pgood","","","","","",
        /*Y0-Y7*/       "","","","","","","","",
        /*Z0-Z7*/       "","","","","","","","";
+
+       pin-gpio-hog-0 {
+               gpio-hog;
+               gpios = <ASPEED_GPIO(L, 4) GPIO_ACTIVE_HIGH>;
+               input;
+               line-name = "RST_RTCRST_N";
+       };
+
+       pin-gpio-hog-1 {
+               gpio-hog;
+               gpios = <ASPEED_GPIO(L, 5) GPIO_ACTIVE_HIGH>;
+               input;
+               line-name = "RST_SRTCRST_N";
+       };
+
+       pin-gpio-hog-2 {
+               gpio-hog;
+               gpios = <ASPEED_GPIO(L, 6) GPIO_ACTIVE_HIGH>;
+               output-high;
+               line-name = "BMC_FAN_E3_SVC_PEX_INT_N";
+       };
+
+       pin-gpio-hog-3 {
+               gpio-hog;
+               gpios = <ASPEED_GPIO(O, 6) GPIO_ACTIVE_LOW>;
+               output-low;
+               line-name = "isolate_errs_cpu1";
+       };
 };
 
 &emmc_controller {