ARM: dts: aspeed: rainier: Set PCA9552 pin types
authorMatthew Barth <msbarth@linux.ibm.com>
Tue, 25 Feb 2020 20:14:15 +0000 (14:14 -0600)
committerJoel Stanley <joel@jms.id.au>
Tue, 5 May 2020 07:07:15 +0000 (16:37 +0930)
All 16 pins of the PCA9552 at 7-bit address 0x61 should be set as type
GPIO.

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

index 61d4140..521b6e3 100644 (file)
@@ -4,6 +4,7 @@
 
 #include "aspeed-g6.dtsi"
 #include <dt-bindings/gpio/aspeed-gpio.h>
+#include <dt-bindings/leds/leds-pca955x.h>
 
 / {
        model = "Rainier";
 
                gpio@0 {
                        reg = <0>;
+                       type = <PCA955X_TYPE_GPIO>;
                };
 
                gpio@1 {
                        reg = <1>;
+                       type = <PCA955X_TYPE_GPIO>;
                };
 
                gpio@2 {
                        reg = <2>;
+                       type = <PCA955X_TYPE_GPIO>;
                };
 
                gpio@3 {
                        reg = <3>;
+                       type = <PCA955X_TYPE_GPIO>;
                };
 
                gpio@4 {
                        reg = <4>;
+                       type = <PCA955X_TYPE_GPIO>;
                };
 
                gpio@5 {
                        reg = <5>;
+                       type = <PCA955X_TYPE_GPIO>;
                };
 
                gpio@6 {
                        reg = <6>;
+                       type = <PCA955X_TYPE_GPIO>;
                };
 
                gpio@7 {
                        reg = <7>;
+                       type = <PCA955X_TYPE_GPIO>;
                };
 
                gpio@8 {
                        reg = <8>;
+                       type = <PCA955X_TYPE_GPIO>;
                };
 
                gpio@9 {
                        reg = <9>;
+                       type = <PCA955X_TYPE_GPIO>;
                };
 
                gpio@10 {
                        reg = <10>;
+                       type = <PCA955X_TYPE_GPIO>;
                };
 
                gpio@11 {
                        reg = <11>;
+                       type = <PCA955X_TYPE_GPIO>;
                };
 
                gpio@12 {
                        reg = <12>;
+                       type = <PCA955X_TYPE_GPIO>;
                };
 
                gpio@13 {
                        reg = <13>;
+                       type = <PCA955X_TYPE_GPIO>;
                };
 
                gpio@14 {
                        reg = <14>;
+                       type = <PCA955X_TYPE_GPIO>;
                };
 
                gpio@15 {
                        reg = <15>;
+                       type = <PCA955X_TYPE_GPIO>;
                };
        };