1 * Samsung 10G Ethernet driver (SXGBE) 1 * Samsung 10G Ethernet driver (SXGBE) 2 2 3 Required properties: 3 Required properties: 4 - compatible: Should be "samsung,sxgbe-v2.0a" 4 - compatible: Should be "samsung,sxgbe-v2.0a" 5 - reg: Address and length of the register set 5 - reg: Address and length of the register set for the device 6 - interrupts: Should contain the SXGBE interru 6 - interrupts: Should contain the SXGBE interrupts 7 These interrupts are ordered by fixed and fo 7 These interrupts are ordered by fixed and follows variable 8 transmit DMA interrupts, receive DMA interru 8 transmit DMA interrupts, receive DMA interrupts and lpi interrupt. 9 index 0 - this is fixed common interrupt of 9 index 0 - this is fixed common interrupt of SXGBE and it is always 10 available. 10 available. 11 index 1 to 25 - 8 variable transmit interrup 11 index 1 to 25 - 8 variable transmit interrupts, variable 16 receive interrupts 12 and 1 optional lpi interrupt. 12 and 1 optional lpi interrupt. 13 - phy-mode: String, operation mode of the PHY 13 - phy-mode: String, operation mode of the PHY interface. 14 Supported values are: "sgmii", "xgmii". 14 Supported values are: "sgmii", "xgmii". 15 - samsung,pbl: Integer, Programmable Burst Len 15 - samsung,pbl: Integer, Programmable Burst Length. 16 Supported values are 1, 2, 4, 8, 16, or 32. 16 Supported values are 1, 2, 4, 8, 16, or 32. 17 - samsung,burst-map: Integer, Program the poss 17 - samsung,burst-map: Integer, Program the possible bursts supported by sxgbe 18 This is an integer and represents allowable 18 This is an integer and represents allowable DMA bursts when fixed burst. 19 Allowable range is 0x01-0x3F. When this fiel 19 Allowable range is 0x01-0x3F. When this field is set fixed burst is enabled. 20 When fixed length is needed for burst mode, 20 When fixed length is needed for burst mode, it can be set within allowable 21 range. 21 range. 22 22 23 Optional properties: 23 Optional properties: 24 - max-frame-size: Maximum Transfer Unit (IEEE 24 - max-frame-size: Maximum Transfer Unit (IEEE defined MTU), rather 25 than the maximum frame size. 25 than the maximum frame size. 26 26 27 The MAC address will be determined using the o 27 The MAC address will be determined using the optional properties 28 defined in ethernet.txt. 28 defined in ethernet.txt. 29 29 30 Example: 30 Example: 31 31 32 aliases { 32 aliases { 33 ethernet0 = <&sxgbe0>; 33 ethernet0 = <&sxgbe0>; 34 }; 34 }; 35 35 36 sxgbe0: ethernet@1a040000 { 36 sxgbe0: ethernet@1a040000 { 37 compatible = "samsung,sxgbe-v2 37 compatible = "samsung,sxgbe-v2.0a"; 38 reg = <0 0x1a040000 0 0x10000> 38 reg = <0 0x1a040000 0 0x10000>; 39 interrupt-parent = <&gic>; 39 interrupt-parent = <&gic>; 40 interrupts = <0 209 4>, <0 185 40 interrupts = <0 209 4>, <0 185 4>, <0 186 4>, <0 187 4>, 41 <0 188 4>, <0 189 41 <0 188 4>, <0 189 4>, <0 190 4>, <0 191 4>, 42 <0 192 4>, <0 193 42 <0 192 4>, <0 193 4>, <0 194 4>, <0 195 4>, 43 <0 196 4>, <0 197 43 <0 196 4>, <0 197 4>, <0 198 4>, <0 199 4>, 44 <0 200 4>, <0 201 44 <0 200 4>, <0 201 4>, <0 202 4>, <0 203 4>, 45 <0 204 4>, <0 205 45 <0 204 4>, <0 205 4>, <0 206 4>, <0 207 4>, 46 <0 208 4>, <0 210 46 <0 208 4>, <0 210 4>; 47 samsung,pbl = <0x08> 47 samsung,pbl = <0x08> 48 samsung,burst-map = <0x20> 48 samsung,burst-map = <0x20> 49 mac-address = [ 00 11 22 33 44 49 mac-address = [ 00 11 22 33 44 55 ]; /* Filled in by U-Boot */ 50 max-frame-size = <9000>; 50 max-frame-size = <9000>; 51 phy-mode = "xgmii"; 51 phy-mode = "xgmii"; 52 }; 52 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.