ARM: dts: imx28-cfa: Replace deprecated spi-gpio properties
authorFabio Estevam <festevam@denx.de>
Fri, 7 Apr 2023 16:14:44 +0000 (13:14 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sat, 13 May 2023 03:14:38 +0000 (11:14 +0800)
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: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx28-cfa10049.dts
arch/arm/boot/dts/imx28-cfa10055.dts
arch/arm/boot/dts/imx28-cfa10056.dts

index 94d6614..c5a7f56 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&spi2_pins_cfa10049>;
                status = "okay";
-               gpio-sck = <&gpio2 16 0>;
-               gpio-mosi = <&gpio2 17 0>;
-               gpio-miso = <&gpio2 18 0>;
+               sck-gpios = <&gpio2 16 0>;
+               mosi-gpios = <&gpio2 17 0>;
+               miso-gpios = <&gpio2 18 0>;
                cs-gpios = <&gpio3 5 0>;
                num-chipselects = <1>;
                #address-cells = <1>;
                pinctrl-names = "default";
                pinctrl-0 = <&spi3_pins_cfa10049>;
                status = "okay";
-               gpio-sck = <&gpio0 24 0>;
-               gpio-mosi = <&gpio0 28 0>;
+               sck-gpios = <&gpio0 24 0>;
+               mosi-gpios = <&gpio0 28 0>;
                cs-gpios = <&gpio0 17 0 &gpio0 26 0 &gpio0 27 0>;
                num-chipselects = <3>;
                #address-cells = <1>;
index 42ba7da..70e225a 100644 (file)
@@ -19,9 +19,9 @@
                pinctrl-names = "default";
                pinctrl-0 = <&spi2_pins_cfa10055>;
                status = "okay";
-               gpio-sck = <&gpio2 16 0>;
-               gpio-mosi = <&gpio2 17 0>;
-               gpio-miso = <&gpio2 18 0>;
+               sck-gpios = <&gpio2 16 0>;
+               mosi-gpios = <&gpio2 17 0>;
+               miso-gpios = <&gpio2 18 0>;
                cs-gpios = <&gpio3 5 0>;
                num-chipselects = <1>;
                #address-cells = <1>;
index 0e15bdf..bc2d6fc 100644 (file)
@@ -18,9 +18,9 @@
                pinctrl-names = "default";
                pinctrl-0 = <&spi2_pins_cfa10056>;
                status = "okay";
-               gpio-sck = <&gpio2 16 0>;
-               gpio-mosi = <&gpio2 17 0>;
-               gpio-miso = <&gpio2 18 0>;
+               sck-gpios = <&gpio2 16 0>;
+               mosi-gpios = <&gpio2 17 0>;
+               miso-gpios = <&gpio2 18 0>;
                cs-gpios = <&gpio3 5 0>;
                num-chipselects = <1>;
                #address-cells = <1>;