ARM: dts: armada-xp: Replace deprecated spi-gpio properties
authorFabio Estevam <festevam@denx.de>
Tue, 16 May 2023 13:11:57 +0000 (10:11 -0300)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Wed, 17 May 2023 09:23:51 +0000 (11:23 +0200)
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>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts

index 0dad95ea26c2a9e187edc22332362b498359eddb..21b95578fe9533b0c481cbf916d29d1426a57787 100644 (file)
        spi-3 {
                compatible = "spi-gpio";
                status = "okay";
-               gpio-sck = <&gpio0 25 GPIO_ACTIVE_LOW>;
-               gpio-mosi = <&gpio1 15 GPIO_ACTIVE_LOW>; /*gpio 47*/
+               sck-gpios  = <&gpio0 25 GPIO_ACTIVE_LOW>;
+               mosi-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; /*gpio 47*/
                cs-gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
                num-chipselects = <1>;
                #address-cells = <1>;