lantiq: dts: rename spi pins node name to spi-pins

The dtc will treat "spi" node as an SPI controller. This resulted
in lots of false warning reports. Workaround it by renaming the
pinctrl node name to "spi-pins". This patch fixes the following
dtc warnings:

vr9.dtsi:326.18-336.6: Warning (spi_bus_bridge): /fpi@10000000/pinmux@e100b10/spi: incorrect #address-cells for SPI bus
vr9.dtsi:326.18-336.6: Warning (spi_bus_bridge): /fpi@10000000/pinmux@e100b10/spi: incorrect #size-cells for SPI bus
ar9.dtsi:286.18-296.6: Warning (spi_bus_bridge): /fpi@10000000/pinmux@e100b10/spi: incorrect #address-cells for SPI bus
ar9.dtsi:286.18-296.6: Warning (spi_bus_bridge): /fpi@10000000/pinmux@e100b10/spi: incorrect #size-cells for SPI bus
amazonse.dtsi:166.18-176.6: Warning (spi_bus_bridge): /fpi@10000000/pinmux@e100b10/spi: incorrect #address-cells for SPI bus
amazonse.dtsi:166.18-176.6: Warning (spi_bus_bridge): /fpi@10000000/pinmux@e100b10/spi: incorrect #size-cells for SPI bus

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18843
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Shiji Yang 2025-05-19 19:03:43 +08:00 committed by Hauke Mehrtens
parent 86bb0d7d27
commit 1ffe67b00f
3 changed files with 3 additions and 3 deletions

View File

@ -163,7 +163,7 @@
};
};
spi_pins: spi {
spi_pins: spi-pins {
mux-0 {
lantiq,groups = "spi_di";
lantiq,function = "spi";

View File

@ -283,7 +283,7 @@
};
};
spi_pins: spi {
spi_pins: spi-pins {
mux-0 {
lantiq,groups = "spi_di";
lantiq,function = "spi";

View File

@ -323,7 +323,7 @@
};
};
spi_pins: spi {
spi_pins: spi-pins {
mux-0 {
lantiq,groups = "spi_di";
lantiq,function = "spi";