From: Christian Lamparter Date: Tue, 25 Jun 2019 12:47:02 +0000 (+0200) Subject: ath79: fix "spi-gpio: convert deprecated binding" X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=487c6863183f34ebaa4d822b45782c287a72009d;p=openwrt%2Fstaging%2Fthess.git ath79: fix "spi-gpio: convert deprecated binding" 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 --- diff --git a/target/linux/ath79/dts/qca9558_netgear_ex7300.dtsi b/target/linux/ath79/dts/qca9558_netgear_ex7300.dtsi index 76285eca8f..e97c0d1e3a 100644 --- a/target/linux/ath79/dts/qca9558_netgear_ex7300.dtsi +++ b/target/linux/ath79/dts/qca9558_netgear_ex7300.dtsi @@ -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 { diff --git a/target/linux/ath79/dts/qca9561_avm_fritz4020.dts b/target/linux/ath79/dts/qca9561_avm_fritz4020.dts index f023f6601a..1e4e088b5d 100644 --- a/target/linux/ath79/dts/qca9561_avm_fritz4020.dts +++ b/target/linux/ath79/dts/qca9561_avm_fritz4020.dts @@ -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 { diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi b/target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi index 0eaae04523..6d32fa3fc4 100644 --- a/target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi +++ b/target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi @@ -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>; diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts b/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts index b5f5af6f22..f4add2fe31 100644 --- a/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts +++ b/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts @@ -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>;