summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2023-05-16 10:11:57 -0300
committerGregory CLEMENT <gregory.clement@bootlin.com>2023-05-17 11:23:51 +0200
commit7f9f7f9b1e83058e90d5fe885ee5181ddaaa7d45 (patch)
tree1b421f98b83843f62cbede1eae20fba756ff7c9c /arch/arm/boot
parente5cfa586d5131979feed2820dee18689a4075e64 (diff)
downloadlinux-stable-7f9f7f9b1e83058e90d5fe885ee5181ddaaa7d45.tar.gz
linux-stable-7f9f7f9b1e83058e90d5fe885ee5181ddaaa7d45.tar.bz2
linux-stable-7f9f7f9b1e83058e90d5fe885ee5181ddaaa7d45.zip
ARM: dts: armada-xp: Replace deprecated spi-gpio properties
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>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts b/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts
index 0dad95ea26c2..21b95578fe95 100644
--- a/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts
+++ b/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts
@@ -167,8 +167,8 @@
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>;