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