|
71 | 71 | For Axon it can be absent, though my current driver |
72 | 72 | doesn't handle phy-address yet so for now, keep |
73 | 73 | 0x00ffffff in it. |
| 74 | + - phy-handle : Used to describe configurations where a external PHY |
| 75 | + is used. Please refer to: |
| 76 | + Documentation/devicetree/bindings/net/ethernet.txt |
74 | 77 | - rx-fifo-size-gige : 1 cell, Rx fifo size in bytes for 1000 Mb/sec |
75 | 78 | operations (if absent the value is the same as |
76 | 79 | rx-fifo-size). For Axon, either absent or 2048. |
|
81 | 84 | offload, phandle of the TAH device node. |
82 | 85 | - tah-channel : 1 cell, optional. If appropriate, channel used on the |
83 | 86 | TAH engine. |
| 87 | + - fixed-link : Fixed-link subnode describing a link to a non-MDIO |
| 88 | + managed entity. See |
| 89 | + Documentation/devicetree/bindings/net/fixed-link.txt |
| 90 | + for details. |
| 91 | + - mdio subnode : When the EMAC has a phy connected to its local |
| 92 | + mdio, which us supported by the kernel's network |
| 93 | + PHY library in drivers/net/phy, there must be device |
| 94 | + tree subnode with the following required properties: |
| 95 | + - #address-cells: Must be <1>. |
| 96 | + - #size-cells: Must be <0>. |
84 | 97 |
|
85 | | - Example: |
| 98 | + For PHY definitions: Please refer to |
| 99 | + Documentation/devicetree/bindings/net/phy.txt and |
| 100 | + Documentation/devicetree/bindings/net/ethernet.txt |
| 101 | + |
| 102 | + Examples: |
86 | 103 |
|
87 | 104 | EMAC0: ethernet@40000800 { |
88 | 105 | device_type = "network"; |
|
104 | 121 | zmii-channel = <0>; |
105 | 122 | }; |
106 | 123 |
|
| 124 | + EMAC1: ethernet@ef600c00 { |
| 125 | + device_type = "network"; |
| 126 | + compatible = "ibm,emac-apm821xx", "ibm,emac4sync"; |
| 127 | + interrupt-parent = <&EMAC1>; |
| 128 | + interrupts = <0 1>; |
| 129 | + #interrupt-cells = <1>; |
| 130 | + #address-cells = <0>; |
| 131 | + #size-cells = <0>; |
| 132 | + interrupt-map = <0 &UIC2 0x10 IRQ_TYPE_LEVEL_HIGH /* Status */ |
| 133 | + 1 &UIC2 0x14 IRQ_TYPE_LEVEL_HIGH /* Wake */>; |
| 134 | + reg = <0xef600c00 0x000000c4>; |
| 135 | + local-mac-address = [000000000000]; /* Filled in by U-Boot */ |
| 136 | + mal-device = <&MAL0>; |
| 137 | + mal-tx-channel = <0>; |
| 138 | + mal-rx-channel = <0>; |
| 139 | + cell-index = <0>; |
| 140 | + max-frame-size = <9000>; |
| 141 | + rx-fifo-size = <16384>; |
| 142 | + tx-fifo-size = <2048>; |
| 143 | + fifo-entry-size = <10>; |
| 144 | + phy-mode = "rgmii"; |
| 145 | + phy-handle = <&phy0>; |
| 146 | + phy-map = <0x00000000>; |
| 147 | + rgmii-device = <&RGMII0>; |
| 148 | + rgmii-channel = <0>; |
| 149 | + tah-device = <&TAH0>; |
| 150 | + tah-channel = <0>; |
| 151 | + has-inverted-stacr-oc; |
| 152 | + has-new-stacr-staopc; |
| 153 | + |
| 154 | + mdio { |
| 155 | + #address-cells = <1>; |
| 156 | + #size-cells = <0>; |
| 157 | + |
| 158 | + phy0: ethernet-phy@0 { |
| 159 | + compatible = "ethernet-phy-ieee802.3-c22"; |
| 160 | + reg = <0>; |
| 161 | + }; |
| 162 | + }; |
| 163 | + }; |
| 164 | + |
| 165 | + |
107 | 166 | ii) McMAL node |
108 | 167 |
|
109 | 168 | Required properties: |
|
145 | 204 | - revision : as provided by the RGMII new version register if |
146 | 205 | available. |
147 | 206 | For Axon: 0x0000012a |
148 | | - |
|
0 commit comments