lkml.org 
[lkml]   [2019]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC PATCH v3 net-next 06/11] dt-bindings: net: ti: add new cpsw switch driver bindings
    > +Required Sub-nodes:
    > +- ports : contains CPSW external ports descriptions
    > + Required properties:
    > + - #address-cells : Must be 1
    > + - #size-cells : Must be 0
    > + - reg : CPSW port number. Should be 1 or 2
    > + - phys : phandle on phy-gmii-sel PHY (see phy/ti-phy-gmii-sel.txt)
    > + - phy-mode : operation mode of the PHY interface [1]
    > + - phy-handle : phandle to a PHY on an MDIO bus [1]


    > + cpsw_port1: port@1 {
    > + reg = <1>;
    > + ti,label = "port1";
    > + /* Filled in by U-Boot */
    > + mac-address = [ 00 00 00 00 00 00 ];
    > + phys = <&phy_gmii_sel 1>;

    Hi Grygorii

    phy-mode and phy-handle are required, but missing from your example.

    Otherwise, this looks like a reasonable binding.

    Andrew

    \
     
     \ /
      Last update: 2019-04-26 00:41    [W:3.121 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site