summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-06-05 10:16:12 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-06-05 10:16:23 +0200
commit0ad84fb2c2041098f7b0029e07440e9de8862c8d (patch)
tree324f4f42c11aa93f284f4f3b2d46a81cf26114b5 /arch/mips
parenteb2c63d0890a005100187a5fad729d36f398def9 (diff)
downloadbarebox-0ad84fb2c2041098f7b0029e07440e9de8862c8d.tar.gz
barebox-0ad84fb2c2041098f7b0029e07440e9de8862c8d.tar.xz
mips: ar9331: Add missing #address-cells/#size-cells properties
SPI nodes need valid #address-cells/#size-cells properties. Fixes: Warning (reg_format): "reg" property in /soc/spi@bf000000/m25p80@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): Relying on default #address-cells value for /soc/spi@bf000000/m25p80@0 Warning (avoid_default_addr_size): Relying on default #size-cells value for /soc/spi@bf000000/m25p80@0 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/dts/ar9331.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/dts/ar9331.dtsi b/arch/mips/dts/ar9331.dtsi
index 9485fbff50..8280588ab3 100644
--- a/arch/mips/dts/ar9331.dtsi
+++ b/arch/mips/dts/ar9331.dtsi
@@ -24,6 +24,8 @@
};
spi: spi@bf000000{
+ #address-cells = <1>;
+ #size-cells = <0>;
compatible = "qca,ath79-spi";
reg = <0xbf000000 0x01000000>;
status = "disabled";