ARM: dts: imx7d-sdb: Replace deprecated spi-gpio properties
authorFabio Estevam <festevam@denx.de>
Fri, 7 Apr 2023 16:14:38 +0000 (13:14 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sat, 13 May 2023 03:14:06 +0000 (11:14 +0800)
As stated in Documentation/devicetree/bindings/spi/spi-gpio.yaml,
'gpio-mosi' and 'gpio-sck' are deprecated properties.

Use the recommeded '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/imx7d-sdb.dts

index f483bc0..25681c4 100644 (file)
@@ -43,8 +43,8 @@
                compatible = "spi-gpio";
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_spi4>;
-               gpio-sck = <&gpio1 13 GPIO_ACTIVE_HIGH>;
-               gpio-mosi = <&gpio1 9 GPIO_ACTIVE_HIGH>;
+               sck-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
+               mosi-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
                cs-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
                num-chipselects = <1>;
                #address-cells = <1>;