[PATCH] powerpc/85xx: Activate Cyrus disk-activity LED
Scott Wood
oss at buserror.net
Wed Feb 13 08:35:32 AEDT 2019
On Sat, 2019-02-09 at 23:14 +0000, Darren Stevens wrote:
> The disk activity LED on the Cyrus board is attached to a gpio pin,
> add the required device-tree node for the kernel driver to use.
>
> Signed-off-by: Darren Stevens <darren at stevens-zone.net>
>
> ---
>
> diff --git a/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts
> b/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts
> index 15e8440..348cfdb 100644
> --- a/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts
> +++ b/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts
> @@ -82,6 +82,15 @@
> gpios = <&gpio0 2 1>;
> };
>
> + leds {
> + compatible = "gpio-leds";
> +
> + hdd {
> + label = "Disk Activity";
> + gpios = <&gpio0 5 0>;
> + linux,default-trigger = "disk-activity";
> + };
> + };
> };
This patch is whitespace-mangled (as is your other one). Could you try
sending with git send-email?
-Scott
More information about the Linuxppc-dev
mailing list