162306a36Sopenharmony_ci* Samsung 10G Ethernet driver (SXGBE)
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciRequired properties:
462306a36Sopenharmony_ci- compatible: Should be "samsung,sxgbe-v2.0a"
562306a36Sopenharmony_ci- reg: Address and length of the register set for the device
662306a36Sopenharmony_ci- interrupts: Should contain the SXGBE interrupts
762306a36Sopenharmony_ci  These interrupts are ordered by fixed and follows variable
862306a36Sopenharmony_ci  transmit DMA interrupts, receive DMA interrupts and lpi interrupt.
962306a36Sopenharmony_ci  index 0 - this is fixed common interrupt of SXGBE and it is always
1062306a36Sopenharmony_ci  available.
1162306a36Sopenharmony_ci  index 1 to 25 - 8 variable transmit interrupts, variable 16 receive interrupts
1262306a36Sopenharmony_ci  and 1 optional lpi interrupt.
1362306a36Sopenharmony_ci- phy-mode: String, operation mode of the PHY interface.
1462306a36Sopenharmony_ci  Supported values are: "sgmii", "xgmii".
1562306a36Sopenharmony_ci- samsung,pbl: Integer, Programmable Burst Length.
1662306a36Sopenharmony_ci  Supported values are 1, 2, 4, 8, 16, or 32.
1762306a36Sopenharmony_ci- samsung,burst-map: Integer, Program the possible bursts supported by sxgbe
1862306a36Sopenharmony_ci  This is an integer and represents allowable DMA bursts when fixed burst.
1962306a36Sopenharmony_ci  Allowable range is 0x01-0x3F. When this field is set fixed burst is enabled.
2062306a36Sopenharmony_ci  When fixed length is needed for burst mode, it can be set within allowable
2162306a36Sopenharmony_ci  range.
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciOptional properties:
2462306a36Sopenharmony_ci- max-frame-size: Maximum Transfer Unit (IEEE defined MTU), rather
2562306a36Sopenharmony_ci		  than the maximum frame size.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciThe MAC address will be determined using the optional properties
2862306a36Sopenharmony_cidefined in ethernet.txt.
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ciExample:
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ci	aliases {
3362306a36Sopenharmony_ci		ethernet0 = <&sxgbe0>;
3462306a36Sopenharmony_ci	};
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ci	sxgbe0: ethernet@1a040000 {
3762306a36Sopenharmony_ci		compatible = "samsung,sxgbe-v2.0a";
3862306a36Sopenharmony_ci		reg = <0 0x1a040000 0 0x10000>;
3962306a36Sopenharmony_ci		interrupt-parent = <&gic>;
4062306a36Sopenharmony_ci		interrupts = <0 209 4>, <0 185 4>, <0 186 4>, <0 187 4>,
4162306a36Sopenharmony_ci			     <0 188 4>, <0 189 4>, <0 190 4>, <0 191 4>,
4262306a36Sopenharmony_ci			     <0 192 4>, <0 193 4>, <0 194 4>, <0 195 4>,
4362306a36Sopenharmony_ci			     <0 196 4>, <0 197 4>, <0 198 4>, <0 199 4>,
4462306a36Sopenharmony_ci			     <0 200 4>, <0 201 4>, <0 202 4>, <0 203 4>,
4562306a36Sopenharmony_ci			     <0 204 4>, <0 205 4>, <0 206 4>, <0 207 4>,
4662306a36Sopenharmony_ci			     <0 208 4>, <0 210 4>;
4762306a36Sopenharmony_ci		samsung,pbl = <0x08>
4862306a36Sopenharmony_ci		samsung,burst-map = <0x20>
4962306a36Sopenharmony_ci		mac-address = [ 00 11 22 33 44 55 ]; /* Filled in by U-Boot */
5062306a36Sopenharmony_ci		max-frame-size = <9000>;
5162306a36Sopenharmony_ci		phy-mode = "xgmii";
5262306a36Sopenharmony_ci	};
53