ARM: dts: aspeed: rainier: Add front panel LEDs
authorJoel Stanley <joel@jms.id.au>
Thu, 21 Oct 2021 06:18:34 +0000 (16:48 +1030)
committerJoel Stanley <joel@jms.id.au>
Thu, 21 Oct 2021 06:26:11 +0000 (16:56 +1030)
These were meant to be part of commit 4fb27b3f9176 ("ARM: dts: aspeed:
rainier: Add system LEDs") but went missing.

Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts

index 3591ee15f3450b5cd39eb2588fc656d020ab8c00..f38c44b864cac68b5ca4330d229d526fe8a60dc4 100644 (file)
                };
        };
 
+       pca9551@60 {
+               compatible = "nxp,pca9551";
+               reg = <0x60>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               gpio-controller;
+               #gpio-cells = <2>;
+
+               led@0 {
+                       label = "front-sys-id0";
+                       reg = <0>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@1 {
+                       label = "front-check-log0";
+                       reg = <1>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@2 {
+                       label = "front-enc-fault1";
+                       reg = <2>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+
+               led@3 {
+                       label = "front-sys-pwron0";
+                       reg = <3>;
+                       retain-state-shutdown;
+                       default-state = "keep";
+                       type = <PCA955X_TYPE_LED>;
+               };
+       };
+
        pca0: pca9552@61 {
                compatible = "nxp,pca9552";
                reg = <0x61>;