ARM: dts: aspeed: everest: Add system level indicator leds
authorVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Mon, 7 Jun 2021 03:12:54 +0000 (12:42 +0930)
committerJoel Stanley <joel@jms.id.au>
Mon, 7 Jun 2021 04:08:54 +0000 (13:38 +0930)
These are the system level indicator leds that are driven by
PCA9551 connected to the Operator Panel.

Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210607031259.475020-2-joel@jms.id.au
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts

index 2ddd10e..6a17b75 100644 (file)
                                compatible = "atmel,24c32";
                                reg = <0x50>;
                        };
+
+                       pca_oppanel: 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>;
+                               };
+                       };
                };
 
                i2c14mux0chn3: i2c@3 {