1 APM X-Gene SoC MDIO node 1 APM X-Gene SoC MDIO node 2 2 3 MDIO node is defined to describe on-chip MDIO 3 MDIO node is defined to describe on-chip MDIO controller. 4 4 5 Required properties: 5 Required properties: 6 - compatible: Must be "apm,xgene-mdio- 6 - compatible: Must be "apm,xgene-mdio-rgmii" or "apm,xgene-mdio-xfi" 7 - #address-cells: Must be <1>. 7 - #address-cells: Must be <1>. 8 - #size-cells: Must be <0>. 8 - #size-cells: Must be <0>. 9 - reg: Address and length of the regis 9 - reg: Address and length of the register set 10 - clocks: Reference to the clock entry 10 - clocks: Reference to the clock entry 11 11 12 For the phys on the mdio bus, there must be a 12 For the phys on the mdio bus, there must be a node with the following fields: 13 - compatible: PHY identifier. Please 13 - compatible: PHY identifier. Please refer ./phy.txt for the format. 14 - reg: The ID number for the phy. 14 - reg: The ID number for the phy. 15 15 16 Example: 16 Example: 17 17 18 mdio: mdio@17020000 { 18 mdio: mdio@17020000 { 19 compatible = "apm,xgene-mdio-r 19 compatible = "apm,xgene-mdio-rgmii"; 20 #address-cells = <1>; 20 #address-cells = <1>; 21 #size-cells = <0>; 21 #size-cells = <0>; 22 reg = <0x0 0x17020000 0x0 0xd1 22 reg = <0x0 0x17020000 0x0 0xd100>; 23 clocks = <&menetclk 0>; 23 clocks = <&menetclk 0>; 24 }; 24 }; 25 25 26 /* Board-specific peripheral configura 26 /* Board-specific peripheral configurations */ 27 &mdio { 27 &mdio { 28 menetphy: phy@3 { 28 menetphy: phy@3 { 29 reg = <0x3>; 29 reg = <0x3>; 30 }; 30 }; 31 sgenet0phy: phy@4 { 31 sgenet0phy: phy@4 { 32 reg = <0x4>; 32 reg = <0x4>; 33 }; 33 }; 34 sgenet1phy: phy@5 { 34 sgenet1phy: phy@5 { 35 reg = <0x5>; 35 reg = <0x5>; 36 }; 36 }; 37 }; 37 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.