ARM: dts: mmp2-olpc-xo-1-75: add back #address-cells
PATCH 1/1 ARM: dts: mmp2-olpc-xo-1-75: add back #address-cells
From: Arnd Bergmann <[email protected]>
A previous fix tried to address a dtc warning, but added a different one in the process:
arch/arm/boot/dts/mmp2.dtsi:472.23-480.6: Warning (spi_bus_bridge): /soc/apb@d4000000/spi@d4037000: incorrect #address-cells for SPI bus
also defined at arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts:225.7-237.3
arch/arm/boot/dts/mmp2.dtsi:472.23-480.6: Warning (spi_bus_bridge): /soc/apb@d4000000/spi@d4037000: incorrect #size-cells for SPI bus
also defined at arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts:225.7-237.3arch/arm/boot/dts/mmp2-olpc-xo-1-75.dt.yaml: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
Add back the two properties, but use the correct value <0> for an spi slave node.
--- arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts +1 -2
@@ -223,8 +223,7 @@ accelerometer@1d { }; &ssp3 { - /delete-property/ #address-cells; - /delete-property/ #size-cells; + #address-cells = <0>; spi-slave; status = "okay"; ready-gpios = <&gpio 125 GPIO_ACTIVE_HIGH>;
Signature · 1 line
2.27.0