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>
};
};
- 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";
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";
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";
};
};
- 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";