diff options
author | Fabio Estevam <festevam@denx.de> | 2023-04-07 18:14:43 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2023-05-13 05:14:28 +0200 |
commit | 49855ff5daa140bcdceb288978cd7cfc57594006 (patch) | |
tree | 82ffe8b7b6957ae649386743a9455c96f9a8ef78 /arch/arm | |
parent | ARM: dts: imx6ul-tx6ul: Replace deprecated spi-gpio properties (diff) | |
download | linux-49855ff5daa140bcdceb288978cd7cfc57594006.tar.xz linux-49855ff5daa140bcdceb288978cd7cfc57594006.zip |
ARM: dts: imx28-tx28: Replace deprecated spi-gpio properties
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/imx28-tx28.dts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/imx28-tx28.dts b/arch/arm/boot/dts/imx28-tx28.dts index ffe58c7093e1..23ad7cd0a1de 100644 --- a/arch/arm/boot/dts/imx28-tx28.dts +++ b/arch/arm/boot/dts/imx28-tx28.dts @@ -192,9 +192,9 @@ pinctrl-names = "default"; pinctrl-0 = <&tx28_spi_gpio_pins>; - gpio-sck = <&gpio2 24 GPIO_ACTIVE_HIGH>; - gpio-mosi = <&gpio2 25 GPIO_ACTIVE_HIGH>; - gpio-miso = <&gpio2 26 GPIO_ACTIVE_HIGH>; + sck-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>; + mosi-gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>; + miso-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; num-chipselects = <3>; cs-gpios = < &gpio2 27 GPIO_ACTIVE_LOW |