mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
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:
parent
5ede3fcdf7
commit
487c686318
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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>;
|
||||
|
||||
|
@ -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>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user