ARM: dts: nomadik: Replace deprecated spi-gpio properties
authorFabio Estevam <festevam@denx.de>
Mon, 10 Apr 2023 22:03:00 +0000 (00:03 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 14 Apr 2023 15:57:34 +0000 (17:57 +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>
Link: https://lore.kernel.org/r/20230407162504.1683422-1-festevam@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230410220300.2431524-1-linus.walleij@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/ste-nomadik-nhk15.dts

index 8142c017882cfee704492ed7e8041b3d0a3be729..4d741adc16cd9ac07fee4d72f74d9fa9c638087d 100644 (file)
                 * As we're dealing with 3wire SPI, we only define SCK
                 * and MOSI (in the spec MOSI is called "SDA").
                 */
-               gpio-sck = <&gpio0 5 GPIO_ACTIVE_HIGH>;
-               gpio-mosi = <&gpio0 4 GPIO_ACTIVE_HIGH>;
+               sck-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
+               mosi-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
                cs-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
                num-chipselects = <1>;