[PATCH linux dev-4.10 1/1] Add Romulus LEDs in to dts
Joel Stanley
joel at jms.id.au
Mon Jun 5 15:01:08 AEST 2017
On Fri, Jun 2, 2017 at 9:32 AM, causten <austenc at us.ibm.com> wrote:
> Romulus has three LEDs that can be exposed. Without them the
> OpenBMC code can not operate them.
>
> Signed-off-by: Chris Austen <austenc at us.ibm.com>
Applied to dev-4.10.
Cheers,
Joel
> ---
> arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> index e70fc00..7547b9e 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> @@ -31,6 +31,22 @@
> };
> };
>
> + leds {
> + compatible = "gpio-leds";
> +
> + fault {
> + gpios = <&gpio ASPEED_GPIO(N, 2) GPIO_ACTIVE_LOW>;
> + };
> +
> + identify {
> + gpios = <&gpio ASPEED_GPIO(N, 4) GPIO_ACTIVE_LOW>;
> + };
> +
> + power {
> + gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
> + };
> + };
> +
> gpio-fsi {
> compatible = "fsi-master-gpio", "fsi-master";
>
> --
> 2.7.4
>
More information about the openbmc
mailing list