mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-05 01:46:11 +02:00
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:
parent
86bb0d7d27
commit
1ffe67b00f
@ -163,7 +163,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
spi_pins: spi {
|
||||
spi_pins: spi-pins {
|
||||
mux-0 {
|
||||
lantiq,groups = "spi_di";
|
||||
lantiq,function = "spi";
|
||||
|
||||
@ -283,7 +283,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
spi_pins: spi {
|
||||
spi_pins: spi-pins {
|
||||
mux-0 {
|
||||
lantiq,groups = "spi_di";
|
||||
lantiq,function = "spi";
|
||||
|
||||
@ -323,7 +323,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
spi_pins: spi {
|
||||
spi_pins: spi-pins {
|
||||
mux-0 {
|
||||
lantiq,groups = "spi_di";
|
||||
lantiq,function = "spi";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user