[PATCH] powerpc/dts/virtex440: declare address/size-cells for phy device
Ian Campbell
ian.campbell at citrix.com
Mon Jun 3 21:00:41 EST 2013
This fixes a warning:
DTC arch/powerpc/boot/virtex440-ml507.dtb
Warning (reg_format): "reg" property in /plb at 0/xps-ll-temac at 81c00000/ethernet at 81c00000/phy at 7 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells value for /plb at 0/xps-ll-temac at 81c00000/ethernet at 81c00000/phy at 7
Warning (avoid_default_addr_size): Relying on default #size-cells value for /plb at 0/xps-ll-temac at 81c00000/ethernet at 81c00000/phy at 7
Signed-off-by: Ian Campbell <ian.campbell at citrix.com>
Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Cc: Paul Mackerras <paulus at samba.org>
Cc: Gernot Vormayr <gvormayr at gmail.com>
Cc: linuxppc-dev at lists.ozlabs.org
Cc: linux-kernel at vger.kernel.org
---
arch/powerpc/boot/dts/virtex440-ml507.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/powerpc/boot/dts/virtex440-ml507.dts b/arch/powerpc/boot/dts/virtex440-ml507.dts
index fc7073b..391a4e2 100644
--- a/arch/powerpc/boot/dts/virtex440-ml507.dts
+++ b/arch/powerpc/boot/dts/virtex440-ml507.dts
@@ -257,6 +257,8 @@
#size-cells = <1>;
compatible = "xlnx,compound";
ethernet at 81c00000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
compatible = "xlnx,xps-ll-temac-1.01.b";
device_type = "network";
interrupt-parent = <&xps_intc_0>;
--
1.7.10.4
More information about the Linuxppc-dev
mailing list