lantiq: dts: fix erroneous SPI bus warnings
authorMathias Kresin <dev@kresin.me>
Tue, 5 Jan 2021 11:51:21 +0000 (12:51 +0100)
committerMathias Kresin <dev@kresin.me>
Mon, 12 Apr 2021 21:50:46 +0000 (23:50 +0200)
commitc9dba3cf0a5d146e5dd8fa870a7dc82f053863f8
tree11b307e01fb884bba31d8e982a377b0134b7230b
parentc0a8a06800e6eb6f410c164b98fce8bc55213d5b
lantiq: dts: fix erroneous SPI bus warnings

dtc has new checks for SPI buses. The lantiq dts files have a node named
spi' which causes false positive warnings. As the node is a pinctrl child
node, change the node name to be 'spi-pins' to fix the warnings.

Add the 'pins' suffix to all pinmux childs having generic names as well,
to be future proof.

arch/mips/boot/dts/lantiq/vr9.dtsi:343.18-353.6: Warning (spi_bus_bridge): /fpi@10000000/pinmux@e100b10/spi: incorrect #address-cells for SPI bus
arch/mips/boot/dts/lantiq/vr9.dtsi:343.18-353.6: Warning (spi_bus_bridge): /fpi@10000000/pinmux@e100b10/spi: incorrect #size-cells for SPI bus

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/amazonse.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi