Commit 63a208bf authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo

ARM: dts: imx28-cfa: Replace deprecated spi-gpio properties

As stated in Documentation/devicetree/bindings/spi/spi-gpio.yaml,
'gpio-miso', 'gpio-mosi' and 'gpio-sck' are deprecated properties.

Use the recommeded 'miso-gpios', 'mosi-gpios' and 'sck-gpios' instead.
Signed-off-by: default avatarFabio Estevam <festevam@denx.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 49855ff5
...@@ -100,9 +100,9 @@ spi-2 { ...@@ -100,9 +100,9 @@ spi-2 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&spi2_pins_cfa10049>; pinctrl-0 = <&spi2_pins_cfa10049>;
status = "okay"; status = "okay";
gpio-sck = <&gpio2 16 0>; sck-gpios = <&gpio2 16 0>;
gpio-mosi = <&gpio2 17 0>; mosi-gpios = <&gpio2 17 0>;
gpio-miso = <&gpio2 18 0>; miso-gpios = <&gpio2 18 0>;
cs-gpios = <&gpio3 5 0>; cs-gpios = <&gpio3 5 0>;
num-chipselects = <1>; num-chipselects = <1>;
#address-cells = <1>; #address-cells = <1>;
...@@ -124,8 +124,8 @@ spi-3 { ...@@ -124,8 +124,8 @@ spi-3 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&spi3_pins_cfa10049>; pinctrl-0 = <&spi3_pins_cfa10049>;
status = "okay"; status = "okay";
gpio-sck = <&gpio0 24 0>; sck-gpios = <&gpio0 24 0>;
gpio-mosi = <&gpio0 28 0>; mosi-gpios = <&gpio0 28 0>;
cs-gpios = <&gpio0 17 0 &gpio0 26 0 &gpio0 27 0>; cs-gpios = <&gpio0 17 0 &gpio0 26 0 &gpio0 27 0>;
num-chipselects = <3>; num-chipselects = <3>;
#address-cells = <1>; #address-cells = <1>;
......
...@@ -19,9 +19,9 @@ spi-2 { ...@@ -19,9 +19,9 @@ spi-2 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&spi2_pins_cfa10055>; pinctrl-0 = <&spi2_pins_cfa10055>;
status = "okay"; status = "okay";
gpio-sck = <&gpio2 16 0>; sck-gpios = <&gpio2 16 0>;
gpio-mosi = <&gpio2 17 0>; mosi-gpios = <&gpio2 17 0>;
gpio-miso = <&gpio2 18 0>; miso-gpios = <&gpio2 18 0>;
cs-gpios = <&gpio3 5 0>; cs-gpios = <&gpio3 5 0>;
num-chipselects = <1>; num-chipselects = <1>;
#address-cells = <1>; #address-cells = <1>;
......
...@@ -18,9 +18,9 @@ spi-2 { ...@@ -18,9 +18,9 @@ spi-2 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&spi2_pins_cfa10056>; pinctrl-0 = <&spi2_pins_cfa10056>;
status = "okay"; status = "okay";
gpio-sck = <&gpio2 16 0>; sck-gpios = <&gpio2 16 0>;
gpio-mosi = <&gpio2 17 0>; mosi-gpios = <&gpio2 17 0>;
gpio-miso = <&gpio2 18 0>; miso-gpios = <&gpio2 18 0>;
cs-gpios = <&gpio3 5 0>; cs-gpios = <&gpio3 5 0>;
num-chipselects = <1>; num-chipselects = <1>;
#address-cells = <1>; #address-cells = <1>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment