ath79: spi-gpio: convert deprecated binding
authorChristian Lamparter <chunkeey@gmail.com>
Sat, 22 Jun 2019 15:28:06 +0000 (17:28 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Mon, 24 Jun 2019 18:22:23 +0000 (20:22 +0200)
The old gpio-{sck,miso and mosi} binding is
deprecated in favour of {sck,miso and mosi}-gpios.

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 21c25a571788fd3f8ff21c1f95e1effa674e3df5..76285eca8fd6750371e75700e62d3fbbeae38ffa 100644 (file)
@@ -23,8 +23,8 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               gpio-sck = <&gpio 18 GPIO_ACTIVE_HIGH>;
-               gpio-mosi = <&gpio 15 GPIO_ACTIVE_HIGH>;
+               sck-gpio = <&gpio 18 GPIO_ACTIVE_HIGH>;
+               mosi-gpio = <&gpio 15 GPIO_ACTIVE_HIGH>;
                num-chipselects = <0>;
 
                led_gpio: led_gpio@0 {
index 9d548353efdc45c1ea98e8db2df3fb7405477fcf..f023f6601a708ca1322ce3f71168ae520c6f5e52 100644 (file)
@@ -26,8 +26,8 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               gpio-sck = <&gpio 20 GPIO_ACTIVE_HIGH>;
-               gpio-mosi = <&gpio 19 GPIO_ACTIVE_HIGH>;
+               sck-gpio = <&gpio 20 GPIO_ACTIVE_HIGH>;
+               mosi-gpio = <&gpio 19 GPIO_ACTIVE_HIGH>;
                num-chipselects = <0>;
 
                led_gpio: led_gpio@0 {
index dc56bf682a06a3f33ce07d67498af40f049157eb..0eaae04523bdab4d698ceb702fd54d37e4a7a9ca 100644 (file)
@@ -17,8 +17,8 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               gpio-sck = <&gpio 18 GPIO_ACTIVE_HIGH>;
-               gpio-mosi = <&gpio 17 GPIO_ACTIVE_HIGH>;
+               sck-gpio = <&gpio 18 GPIO_ACTIVE_HIGH>;
+               mosi-gpio = <&gpio 17 GPIO_ACTIVE_HIGH>;
                cs-gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
                num-chipselects = <1>;
 
index 24588d8216727e0508e0ec64a7a6c2b5c9cdfa51..b5f5af6f22cbd587c225c493faf7820e89257003 100644 (file)
@@ -26,8 +26,8 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               gpio-sck = <&gpio 15 GPIO_ACTIVE_HIGH>;         // 74HC595 SRCLK (Serial Clock)
-               gpio-mosi = <&gpio 14 GPIO_ACTIVE_HIGH>;        // 74HC595 SER (Serial)
+               sck-gpio = <&gpio 15 GPIO_ACTIVE_HIGH>;         // 74HC595 SRCLK (Serial Clock)
+               mosi-gpio = <&gpio 14 GPIO_ACTIVE_HIGH>;        // 74HC595 SER (Serial)
                cs-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;         // 74HC595 RCLK (Register Clock)
                num-chipselects = <1>;