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
Christian Lamparter 2019-06-22 17:28:06 +02:00
parent 50da717e85
commit 1fa24de8c2
4 changed files with 8 additions and 8 deletions

View File

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

View File

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

View File

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

View File

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