ARM: dts: imx51-zii-rdu1: Replace deprecated spi-gpio properties
authorFabio Estevam <festevam@denx.de>
Fri, 7 Apr 2023 16:14:40 +0000 (13:14 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sat, 13 May 2023 03:14:21 +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/imx51-zii-rdu1.dts

index e537e06..3ddea42 100644 (file)
                pinctrl-0 = <&pinctrl_gpiospi0>;
                status = "okay";
 
-               gpio-sck = <&gpio4 15 GPIO_ACTIVE_HIGH>;
-               gpio-mosi = <&gpio4 12 GPIO_ACTIVE_HIGH>;
-               gpio-miso = <&gpio4 11 GPIO_ACTIVE_HIGH>;
+               sck-gpios = <&gpio4 15 GPIO_ACTIVE_HIGH>;
+               mosi-gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>;
+               miso-gpios = <&gpio4 11 GPIO_ACTIVE_HIGH>;
                num-chipselects = <1>;
                cs-gpios = <&gpio4 14 GPIO_ACTIVE_HIGH>;