[PATCH 1/4] ARM: shmobile: r8a7778: add Ether DT support

From
Magnus Damm <magnus.damm@gmail.com>
Date
2013-09-03 15:17:44
Also in
linux-devicetree, linux-sh
Reply to
Sergei Shtylyov, 2013-08-31
On Sun, Sep 1, 2013 at 8:15 AM, Sergei Shtylyov
[off-list ref] wrote:
quoted hunk ↗ jump to hunk
Define the generic R8A777x part of the Ether device node.

Signed-off-by: Sergei Shtylyov <redacted>

---
 arch/arm/boot/dts/r8a7778.dtsi |   11 +++++++++++
 1 file changed, 11 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7778.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7778.dtsi
+++ renesas/arch/arm/boot/dts/r8a7778.dtsi
@@ -98,4 +98,15 @@
                reg = <0xfffc000 0x118>;
                #gpio-range-cells = <3>;
        };
+
+       ether: ethernet at fde00000 {
+               device_type = "network";
+               compatible = "renesas,ether-r8a7779";
Hi Sergei,

Thanks for your patch. What's the reason behind the r8a7778 SoC using
a compatible string for r8a7779 like "renesas,ether-r8a7779"?

It seems that you assume that the r8a7778 ethernet controller is 100%
compatible with r8a7779. Is that really true? For earlier versions the
sh_eth hardware documentation was anything but accurate, so it seems
to me that it must be more safe that r8a7778 would be using
"renesas,ether-r8a7778". What do you think?

Thanks,

/ magnus
Thread (16 messages) 16 messages, 5 authors, last reply 2013-09-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help