From: Christian Lamparter Date: Sat, 22 Jun 2019 15:28:06 +0000 (+0200) Subject: ath79: spi-gpio: convert deprecated binding X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1fa24de8c29ba3882d94fa46263b971bac29dbe5;p=openwrt%2Fstaging%2Fthess.git ath79: spi-gpio: convert deprecated binding The old gpio-{sck,miso and mosi} binding is deprecated in favour of {sck,miso and mosi}-gpios. 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 21c25a5717..76285eca8f 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>; - 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 { diff --git a/target/linux/ath79/dts/qca9561_avm_fritz4020.dts b/target/linux/ath79/dts/qca9561_avm_fritz4020.dts index 9d548353ef..f023f6601a 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>; - 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 { diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi b/target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi index dc56bf682a..0eaae04523 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>; - 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>; 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 24588d8216..b5f5af6f22 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>; - 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>;