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)
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

index c477473a0630e3ce7215c8b48553f334aef12278..59f15a3605ccd0afbc995e91ab2895220bca357a 100644 (file)
                                };
                        };
 
-                       mdio_pins: mdio {
+                       mdio_pins: mdio-pins {
                                mux {
                                        lantiq,groups = "mdio";
                                        lantiq,function = "mdio";
                                };
                        };
 
-                       spi_pins: spi {
+                       spi_pins: spi-pins {
                                mux-0 {
                                        lantiq,groups = "spi_di";
                                        lantiq,function = "spi";
index 2c1c73b383555ff7cc80ddd5d7958d91b07351f2..927568342f66a0b3dfe6da427c5526c307127997 100644 (file)
                        gpio-controller;
                        reg = <0xe100b10 0xa0>;
 
-                       mdio_pins: mdio {
+                       mdio_pins: mdio-pins {
                                mux {
                                        lantiq,groups = "mdio";
                                        lantiq,function = "mdio";
                                };
                        };
 
-                       nand_pins: nand {
+                       nand_pins: nand-pins {
                                mux-0 {
                                        lantiq,groups = "nand cle", "nand ale",
                                                        "nand rd";
                                };
                        };
 
-                       spi_pins: spi {
+                       spi_pins: spi-pins {
                                mux-0 {
                                        lantiq,groups = "spi_di";
                                        lantiq,function = "spi";
                                };
                        };
 
-                       stp_pins: stp {
+                       stp_pins: stp-pins {
                                mux {
                                        lantiq,groups = "stp";
                                        lantiq,function = "stp";
index 5d5ee0197033e7619080eee08b636dc9f3f9f248..b043f67f9f202f626a0adade89fc7eb41f815457 100644 (file)
                        gpio-controller;
                        reg = <0xe100b10 0xa0>;
 
-                       nand_pins: nand {
+                       nand_pins: nand-pins {
                                mux-0 {
                                        lantiq,groups = "nand cle", "nand ale",
                                                        "nand rd";
                                };
                        };
 
-                       stp_pins: stp {
+                       stp_pins: stp-pins {
                                mux {
                                        lantiq,groups = "stp";
                                        lantiq,function = "stp";
index 492d8ce6820552b26ad48f5ef80d5e2cb2138791..01e245dbb0e23ce7526c48ddd50b18970d50ed33 100644 (file)
                                };
                        };
 
-                       mdio_pins: mdio {
+                       mdio_pins: mdio-pins {
                                mux {
                                        lantiq,groups = "mdio";
                                        lantiq,function = "mdio";
                                };
                        };
 
-                       nand_pins: nand {
+                       nand_pins: nand-pins {
                                mux-0 {
                                        lantiq,groups = "nand cle", "nand ale",
                                                        "nand rd";
                                };
                        };
 
-                       spi_pins: spi {
+                       spi_pins: spi-pins {
                                mux-0 {
                                        lantiq,groups = "spi_di";
                                        lantiq,function = "spi";
                                };
                        };
 
-                       stp_pins: stp {
+                       stp_pins: stp-pins {
                                mux {
                                        lantiq,groups = "stp";
                                        lantiq,function = "stp";