Skip to contentSkip to conversation

gpio: dt-bindings: Fix typo in two-letter ports

PATCH New Xo Wang 1 participant 2 messages Jan 11, 2017

Subsystems (3)
lore
Share & tools
lore

Xo Wang

author
#0 lore raw

PATCH 1/2 gpio: dt-bindings: Fix typo in two-letter ports

Add missing port AC.

---
 include/dt-bindings/gpio/aspeed-gpio.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
include/dt-bindings/gpio/aspeed-gpio.h +2 -1
index 058c527cbcaf..0f8ab977c352 100644
@@ -39,7 +39,8 @@
 #define ASPEED_GPIO_PORT_Y 24
 #define ASPEED_GPIO_PORT_Z 25
 #define ASPEED_GPIO_PORT_AA 26
-#define ASPEED_GPIO_PORT_BB 27
+#define ASPEED_GPIO_PORT_AB 27
+#define ASPEED_GPIO_PORT_AC 28
 
 #define ASPEED_GPIO(port, offset) \
 	((ASPEED_GPIO_PORT_##port * 8) + offset)
Signature · 1 line
2.11.0.390.gc69c2f50cf-goog
author
#1 lore raw

PATCH 2/2 ARM: dts: aspeed: zaius: Update EVT2 LED GPIOs

---
 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts +4 -4
index 7f9aab901df9..d1efe6e6e57e 100644
@@ -45,22 +45,22 @@
 
 		sys_boot_status {
 			label = "System boot status";
-			gpios = <&gpio ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>;
+			gpios = <&gpio ASPEED_GPIO(D, 5) GPIO_ACTIVE_LOW>;
 		};
 
 		attention {
 			label = "Attention";
-			gpios = <&gpio ASPEED_GPIO(H, 5) GPIO_ACTIVE_LOW>;
+			gpios = <&gpio ASPEED_GPIO(D, 6) GPIO_ACTIVE_LOW>;
 		};
 
 		plt_fault {
 			label = "Platform fault";
-			gpios = <&gpio ASPEED_GPIO(H, 6) GPIO_ACTIVE_LOW>;
+			gpios = <&gpio ASPEED_GPIO(D, 7) GPIO_ACTIVE_LOW>;
 		};
 
 		hdd_fault {
 			label = "Onboard drive fault";
-			gpios = <&gpio ASPEED_GPIO(H, 7) GPIO_ACTIVE_LOW>;
+			gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_LOW>;
 		};
 	};
 };
Signature · 1 line
2.11.0.390.gc69c2f50cf-goog