mirror of https://github.com/hak5/openwrt.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 <chunkeey@gmail.com>master
parent
50da717e85
commit
1fa24de8c2
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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>;
|
||||
|
||||
|
|
|
@ -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>;
|
||||
|
||||
|
|
Loading…
Reference in New Issue