ath79: fix "spi-gpio: convert deprecated binding"

This patch fixes the previous commit that rendered the
devices (mostly leds) useless.

Fixes: 1fa24de8c2 ("ath79: spi-gpio: convert deprecated binding")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
Christian Lamparter 2019-06-25 14:47:02 +02:00
parent 5ede3fcdf7
commit 487c686318
4 changed files with 8 additions and 8 deletions

View 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 {

View 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 {

View 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>;

View 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>;