* [PATCH 1/2] powerpc/83xx: Fix missing #{address,size}-cells in mpc8313erdb.dts
@ 2009-02-05 20:10 Anton Vorontsov
2009-02-06 16:39 ` [PATCH 1/2] powerpc/83xx: Fix missing #{address, size}-cells " Kumar Gala
0 siblings, 1 reply; 2+ messages in thread
From: Anton Vorontsov @ 2009-02-05 20:10 UTC (permalink / raw)
To: Kumar Gala; +Cc: linuxppc-dev
commit b31a1d8b41513b96e9c7ec2f68c5734cef0b26a4 ("gianfar: Convert
gianfar to an of_platform_driver") introduced a child node for
the ethernet@25000 controller, but no address and size cells
specifiers were added, and that makes dtc unhappy:
DTC: dts->dtb on file "arch/powerpc/boot/dts/mpc8313erdb.dts"
Warning (reg_format): "reg" property in /soc8313@e0000000/ethernet@25000/mdio@25520 has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells value for /soc8313@e0000000/ethernet@25000/mdio@25520
Warning (avoid_default_addr_size): Relying on default #size-cells value for /soc8313@e0000000/ethernet@25000/mdio@25520
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
arch/powerpc/boot/dts/mpc8313erdb.dts | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc8313erdb.dts b/arch/powerpc/boot/dts/mpc8313erdb.dts
index 909a89c..3f84cd0 100644
--- a/arch/powerpc/boot/dts/mpc8313erdb.dts
+++ b/arch/powerpc/boot/dts/mpc8313erdb.dts
@@ -219,6 +219,8 @@
};
enet1: ethernet@25000 {
+ #address-cells = <1>;
+ #size-cells = <1>;
cell-index = <1>;
device_type = "network";
model = "eTSEC";
--
1.5.6.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/2] powerpc/83xx: Fix missing #{address, size}-cells in mpc8313erdb.dts
2009-02-05 20:10 [PATCH 1/2] powerpc/83xx: Fix missing #{address,size}-cells in mpc8313erdb.dts Anton Vorontsov
@ 2009-02-06 16:39 ` Kumar Gala
0 siblings, 0 replies; 2+ messages in thread
From: Kumar Gala @ 2009-02-06 16:39 UTC (permalink / raw)
To: Anton Vorontsov; +Cc: linuxppc-dev
On Feb 5, 2009, at 2:10 PM, Anton Vorontsov wrote:
> commit b31a1d8b41513b96e9c7ec2f68c5734cef0b26a4 ("gianfar: Convert
> gianfar to an of_platform_driver") introduced a child node for
> the ethernet@25000 controller, but no address and size cells
> specifiers were added, and that makes dtc unhappy:
>
> DTC: dts->dtb on file "arch/powerpc/boot/dts/mpc8313erdb.dts"
> Warning (reg_format): "reg" property in /soc8313@e0000000/
> ethernet@25000/mdio@25520 has invalid length (8 bytes) (#address-
> cells == 2, #size-cells == 1)
> Warning (avoid_default_addr_size): Relying on default #address-cells
> value for /soc8313@e0000000/ethernet@25000/mdio@25520
> Warning (avoid_default_addr_size): Relying on default #size-cells
> value for /soc8313@e0000000/ethernet@25000/mdio@25520
>
> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
> ---
> arch/powerpc/boot/dts/mpc8313erdb.dts | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
applied to merge
- k
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-06 16:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-05 20:10 [PATCH 1/2] powerpc/83xx: Fix missing #{address,size}-cells in mpc8313erdb.dts Anton Vorontsov
2009-02-06 16:39 ` [PATCH 1/2] powerpc/83xx: Fix missing #{address, size}-cells " Kumar Gala
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).