Skip to content

Commit

Permalink
dts/barreleye: Keep the LED initial state during boot
Browse files Browse the repository at this point in the history
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.

Signed-off-by: John Wang <hsienchiang@gmail.com>
[Tweaked commit mesage]
Signed-off-by: Joel Stanley <joel@jms.id.au>
  • Loading branch information
John Wang authored and Joel Stanley committed Aug 8, 2016
1 parent 719793a commit cffb62f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
};
};
Expand Down

0 comments on commit cffb62f

Please sign in to comment.