18c2ecf20Sopenharmony_ci* Samsung 10G Ethernet driver (SXGBE)
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible: Should be "samsung,sxgbe-v2.0a"
58c2ecf20Sopenharmony_ci- reg: Address and length of the register set for the device
68c2ecf20Sopenharmony_ci- interrupts: Should contain the SXGBE interrupts
78c2ecf20Sopenharmony_ci  These interrupts are ordered by fixed and follows variable
88c2ecf20Sopenharmony_ci  trasmit DMA interrupts, receive DMA interrupts and lpi interrupt.
98c2ecf20Sopenharmony_ci  index 0 - this is fixed common interrupt of SXGBE and it is always
108c2ecf20Sopenharmony_ci  available.
118c2ecf20Sopenharmony_ci  index 1 to 25 - 8 variable trasmit interrupts, variable 16 receive interrupts
128c2ecf20Sopenharmony_ci  and 1 optional lpi interrupt.
138c2ecf20Sopenharmony_ci- phy-mode: String, operation mode of the PHY interface.
148c2ecf20Sopenharmony_ci  Supported values are: "sgmii", "xgmii".
158c2ecf20Sopenharmony_ci- samsung,pbl: Integer, Programmable Burst Length.
168c2ecf20Sopenharmony_ci  Supported values are 1, 2, 4, 8, 16, or 32.
178c2ecf20Sopenharmony_ci- samsung,burst-map: Integer, Program the possible bursts supported by sxgbe
188c2ecf20Sopenharmony_ci  This is an integer and represents allowable DMA bursts when fixed burst.
198c2ecf20Sopenharmony_ci  Allowable range is 0x01-0x3F. When this field is set fixed burst is enabled.
208c2ecf20Sopenharmony_ci  When fixed length is needed for burst mode, it can be set within allowable
218c2ecf20Sopenharmony_ci  range.
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciOptional properties:
248c2ecf20Sopenharmony_ci- max-frame-size: Maximum Transfer Unit (IEEE defined MTU), rather
258c2ecf20Sopenharmony_ci		  than the maximum frame size.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciThe MAC address will be determined using the optional properties
288c2ecf20Sopenharmony_cidefined in ethernet.txt.
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ciExample:
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci	aliases {
338c2ecf20Sopenharmony_ci		ethernet0 = <&sxgbe0>;
348c2ecf20Sopenharmony_ci	};
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci	sxgbe0: ethernet@1a040000 {
378c2ecf20Sopenharmony_ci		compatible = "samsung,sxgbe-v2.0a";
388c2ecf20Sopenharmony_ci		reg = <0 0x1a040000 0 0x10000>;
398c2ecf20Sopenharmony_ci		interrupt-parent = <&gic>;
408c2ecf20Sopenharmony_ci		interrupts = <0 209 4>, <0 185 4>, <0 186 4>, <0 187 4>,
418c2ecf20Sopenharmony_ci			     <0 188 4>, <0 189 4>, <0 190 4>, <0 191 4>,
428c2ecf20Sopenharmony_ci			     <0 192 4>, <0 193 4>, <0 194 4>, <0 195 4>,
438c2ecf20Sopenharmony_ci			     <0 196 4>, <0 197 4>, <0 198 4>, <0 199 4>,
448c2ecf20Sopenharmony_ci			     <0 200 4>, <0 201 4>, <0 202 4>, <0 203 4>,
458c2ecf20Sopenharmony_ci			     <0 204 4>, <0 205 4>, <0 206 4>, <0 207 4>,
468c2ecf20Sopenharmony_ci			     <0 208 4>, <0 210 4>;
478c2ecf20Sopenharmony_ci		samsung,pbl = <0x08>
488c2ecf20Sopenharmony_ci		samsung,burst-map = <0x20>
498c2ecf20Sopenharmony_ci		mac-address = [ 00 11 22 33 44 55 ]; /* Filled in by U-Boot */
508c2ecf20Sopenharmony_ci		max-frame-size = <9000>;
518c2ecf20Sopenharmony_ci		phy-mode = "xgmii";
528c2ecf20Sopenharmony_ci	};
53