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>
#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 {
#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 {
#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>;
#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>;