Skip to contentSkip to conversation

boot/dts: Keep the LED initial state during kernel loading

PATCH New johnhcwang 1 participant 1 message Aug 8, 2016

Subsystems (2)
lore
Share & tools
lore

johnhcwang

author
#0 lore raw

PATCH 1/1 boot/dts: Keep the LED initial state during kernel loading

Base on the Barreleye HW spec, the beep LED shouldn't be turned to OFF until BMC ready.

Now the LED will be turned to OFF when the kernel loading, so enable the LED sub-node property "default-state" to keep the LED initial state.

---
 arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts +3 -0
index 0e567e8..3146ea9 100644
@@ -132,12 +132,15 @@
 
 		heartbeat {
 			gpios = <&gpio 140 GPIO_ACTIVE_HIGH>;
+			default-state = "keep";
 		};
 		identify {
 			gpios = <&gpio 58 GPIO_ACTIVE_LOW>;
+			default-state = "keep";
 		};
 		beep {
 			gpios = <&gpio 111 GPIO_ACTIVE_HIGH>;
+			default-state = "keep";
 		};
 	};
 };
Signature · 1 line
2.9.2.574.gc6b0597