Skip to content

Commit 7f9f7f9

Browse files
Fabio Estevamgclement
authored andcommitted
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>
1 parent e5cfa58 commit 7f9f7f9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@
167167
spi-3 {
168168
compatible = "spi-gpio";
169169
status = "okay";
170-
gpio-sck = <&gpio0 25 GPIO_ACTIVE_LOW>;
171-
gpio-mosi = <&gpio1 15 GPIO_ACTIVE_LOW>; /*gpio 47*/
170+
sck-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
171+
mosi-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; /*gpio 47*/
172172
cs-gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
173173
num-chipselects = <1>;
174174
#address-cells = <1>;

0 commit comments

Comments
 (0)