1 * PIP Ethernet nexus. 1 * PIP Ethernet nexus. 2 2 3 The PIP Ethernet nexus can control several dat 3 The PIP Ethernet nexus can control several data packet input/output 4 devices. The devices have a two level groupin 4 devices. The devices have a two level grouping scheme. There may be 5 several interfaces, and each interface may hav 5 several interfaces, and each interface may have several ports. These 6 ports might be an individual Ethernet PHY. 6 ports might be an individual Ethernet PHY. 7 7 8 8 9 Properties for the PIP nexus: 9 Properties for the PIP nexus: 10 - compatible: "cavium,octeon-3860-pip" 10 - compatible: "cavium,octeon-3860-pip" 11 11 12 Compatibility with all cn3XXX, cn5XXX and cn 12 Compatibility with all cn3XXX, cn5XXX and cn6XXX SOCs. 13 13 14 - reg: The base address of the PIP's register 14 - reg: The base address of the PIP's register bank. 15 15 16 - #address-cells: Must be <1>. 16 - #address-cells: Must be <1>. 17 17 18 - #size-cells: Must be <0>. 18 - #size-cells: Must be <0>. 19 19 20 Properties for PIP interfaces which is a child 20 Properties for PIP interfaces which is a child the PIP nexus: 21 - compatible: "cavium,octeon-3860-pip-interfac 21 - compatible: "cavium,octeon-3860-pip-interface" 22 22 23 Compatibility with all cn3XXX, cn5XXX and cn 23 Compatibility with all cn3XXX, cn5XXX and cn6XXX SOCs. 24 24 25 - reg: The interface number. 25 - reg: The interface number. 26 26 27 - #address-cells: Must be <1>. 27 - #address-cells: Must be <1>. 28 28 29 - #size-cells: Must be <0>. 29 - #size-cells: Must be <0>. 30 30 31 Properties for PIP port which is a child the P 31 Properties for PIP port which is a child the PIP interface: 32 - compatible: "cavium,octeon-3860-pip-port" 32 - compatible: "cavium,octeon-3860-pip-port" 33 33 34 Compatibility with all cn3XXX, cn5XXX and cn 34 Compatibility with all cn3XXX, cn5XXX and cn6XXX SOCs. 35 35 36 - reg: The port number within the interface gr 36 - reg: The port number within the interface group. 37 37 38 - phy-handle: Optional, see ethernet.txt file 38 - phy-handle: Optional, see ethernet.txt file in the same directory. 39 39 40 - rx-delay: Delay value for RGMII receive cloc 40 - rx-delay: Delay value for RGMII receive clock. Optional. Disabled if 0. 41 Value range is 1-31, and mapping to the actu 41 Value range is 1-31, and mapping to the actual delay varies depending on HW. 42 42 43 - tx-delay: Delay value for RGMII transmit clo 43 - tx-delay: Delay value for RGMII transmit clock. Optional. Disabled if 0. 44 Value range is 1-31, and mapping to the actu 44 Value range is 1-31, and mapping to the actual delay varies depending on HW. 45 45 46 Example: 46 Example: 47 47 48 pip@11800a0000000 { 48 pip@11800a0000000 { 49 compatible = "cavium,octeon-38 49 compatible = "cavium,octeon-3860-pip"; 50 #address-cells = <1>; 50 #address-cells = <1>; 51 #size-cells = <0>; 51 #size-cells = <0>; 52 reg = <0x11800 0xa0000000 0x0 52 reg = <0x11800 0xa0000000 0x0 0x2000>; 53 53 54 interface@0 { 54 interface@0 { 55 compatible = "cavium,o 55 compatible = "cavium,octeon-3860-pip-interface"; 56 #address-cells = <1>; 56 #address-cells = <1>; 57 #size-cells = <0>; 57 #size-cells = <0>; 58 reg = <0>; /* interfac 58 reg = <0>; /* interface */ 59 59 60 ethernet@0 { 60 ethernet@0 { 61 compatible = " 61 compatible = "cavium,octeon-3860-pip-port"; 62 reg = <0x0>; / 62 reg = <0x0>; /* Port */ 63 local-mac-addr 63 local-mac-address = [ 00 0f b7 10 63 60 ]; 64 phy-handle = < 64 phy-handle = <&phy2>; 65 }; 65 }; 66 ethernet@1 { 66 ethernet@1 { 67 compatible = " 67 compatible = "cavium,octeon-3860-pip-port"; 68 reg = <0x1>; / 68 reg = <0x1>; /* Port */ 69 local-mac-addr 69 local-mac-address = [ 00 0f b7 10 63 61 ]; 70 phy-handle = < 70 phy-handle = <&phy3>; 71 }; 71 }; 72 ethernet@2 { 72 ethernet@2 { 73 compatible = " 73 compatible = "cavium,octeon-3860-pip-port"; 74 reg = <0x2>; / 74 reg = <0x2>; /* Port */ 75 local-mac-addr 75 local-mac-address = [ 00 0f b7 10 63 62 ]; 76 phy-handle = < 76 phy-handle = <&phy4>; 77 }; 77 }; 78 ethernet@3 { 78 ethernet@3 { 79 compatible = " 79 compatible = "cavium,octeon-3860-pip-port"; 80 reg = <0x3>; / 80 reg = <0x3>; /* Port */ 81 local-mac-addr 81 local-mac-address = [ 00 0f b7 10 63 63 ]; 82 phy-handle = < 82 phy-handle = <&phy5>; 83 }; 83 }; 84 }; 84 }; 85 85 86 interface@1 { 86 interface@1 { 87 compatible = "cavium,o 87 compatible = "cavium,octeon-3860-pip-interface"; 88 #address-cells = <1>; 88 #address-cells = <1>; 89 #size-cells = <0>; 89 #size-cells = <0>; 90 reg = <1>; /* interfac 90 reg = <1>; /* interface */ 91 91 92 ethernet@0 { 92 ethernet@0 { 93 compatible = " 93 compatible = "cavium,octeon-3860-pip-port"; 94 reg = <0x0>; / 94 reg = <0x0>; /* Port */ 95 local-mac-addr 95 local-mac-address = [ 00 0f b7 10 63 64 ]; 96 phy-handle = < 96 phy-handle = <&phy6>; 97 }; 97 }; 98 }; 98 }; 99 }; 99 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.