ath79: fix "spi-gpio: convert deprecated binding"
authorChristian Lamparter <chunkeey@gmail.com>
Tue, 25 Jun 2019 12:47:02 +0000 (14:47 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Tue, 25 Jun 2019 12:50:08 +0000 (14:50 +0200)
This patch fixes the previous commit that rendered the
devices (mostly leds) useless.

Fixes: 1fa24de8c29b ("ath79: spi-gpio: convert deprecated binding")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/ath79/dts/qca9558_netgear_ex7300.dtsi
target/linux/ath79/dts/qca9561_avm_fritz4020.dts
target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi
target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts

index 76285eca8fd6750371e75700e62d3fbbeae38ffa..e97c0d1e3af91d8938fc3257c3e7b04ee09d17ed 100644 (file)
@@ -23,8 +23,8 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               sck-gpio = <&gpio 18 GPIO_ACTIVE_HIGH>;
-               mosi-gpio = <&gpio 15 GPIO_ACTIVE_HIGH>;
+               sck-gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
+               mosi-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
                num-chipselects = <0>;
 
                led_gpio: led_gpio@0 {
index f023f6601a708ca1322ce3f71168ae520c6f5e52..1e4e088b5d1ab37a831b839ba370a6b15c06fa13 100644 (file)
@@ -26,8 +26,8 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               sck-gpio = <&gpio 20 GPIO_ACTIVE_HIGH>;
-               mosi-gpio = <&gpio 19 GPIO_ACTIVE_HIGH>;
+               sck-gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
+               mosi-gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
                num-chipselects = <0>;
 
                led_gpio: led_gpio@0 {
index 0eaae04523bdab4d698ceb702fd54d37e4a7a9ca..6d32fa3fc4eff64a1c6e58322d69cf2cf2fdd251 100644 (file)
@@ -17,8 +17,8 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               sck-gpio = <&gpio 18 GPIO_ACTIVE_HIGH>;
-               mosi-gpio = <&gpio 17 GPIO_ACTIVE_HIGH>;
+               sck-gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
+               mosi-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
                cs-gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
                num-chipselects = <1>;
 
index b5f5af6f22cbd587c225c493faf7820e89257003..f4add2fe31f9c94dfc3294f3c1e66ea4a8f1e8fa 100644 (file)
@@ -26,8 +26,8 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               sck-gpio = <&gpio 15 GPIO_ACTIVE_HIGH>;         // 74HC595 SRCLK (Serial Clock)
-               mosi-gpio = <&gpio 14 GPIO_ACTIVE_HIGH>;        // 74HC595 SER (Serial)
+               sck-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;        // 74HC595 SRCLK (Serial Clock)
+               mosi-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;       // 74HC595 SER (Serial)
                cs-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;         // 74HC595 RCLK (Register Clock)
                num-chipselects = <1>;