lkml.org 
[lkml]   [2017]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net-next 1/3] dt-bindings: net: add DT bindings for Socionext UniPhier AVE
Hi Andrew,

On Fri, 8 Sep 2017 16:03:22 +0200 <andrew@lunn.ch> wrote:

> > + eth: ethernet@65000000 {
> > + compatible = "socionext,uniphier-ave4";
> > + reg = <0x65000000 0x8500>;
> > + interrupts = <0 66 4>;
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_ether_rgmii>;
> > + phy-mode = "rgmii";
> > + socionext,desc-bits = <64>;
> > + local-mac-address = [00 00 00 00 00 00];
> > +
> > + #address-cells = <1>;
> > + #size-cells = <0>;
>
> > + ethphy: ethphy@1 {
> > + reg = <1>;
> > + };
>
>
> So you normally have an mdio node, and the phy as a children of that
> node.
>
> mdio {
> ethphy: ethernet-phy@6 {
> reg = <6>;
> };
> };
>
> Andrew

I see. I'll rewrite the binding example using mdio node.

---
Best Regards,
Kunihiko Hayashi


\
 
 \ /
  Last update: 2017-09-11 09:12    [W:0.091 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site