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 <dar...@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";
+           };
+       };
    };
 
    rio: rapidio@ffe0c0000 {

Reply via email to