1 Hisilicon hip04 Ethernet Controller
3 * Ethernet controller node
6 - compatible: should be "hisilicon,hip04-mac".
7 - reg: address and length of the register set for the device.
8 - interrupts: interrupt for the device.
9 - port-handle: <phandle port channel>
10 phandle, specifies a reference to the syscon ppe node
11 port, port number connected to the controller
12 channel, recv channel start from channel * number (RX_DESC_NUM)
13 - phy-mode: see ethernet.txt [1].
16 - phy-handle: see ethernet.txt [1].
18 [1] Documentation/devicetree/bindings/net/ethernet.txt
22 Control rx & tx fifos of all ethernet controllers.
23 Have 2048 recv channels shared by all ethernet controllers, only if no overlap.
24 Each controller's recv channel start from channel * number (RX_DESC_NUM).
27 - compatible: "hisilicon,hip04-ppe", "syscon".
28 - reg: address and length of the register set for the device.
35 - compatible: should be "hisilicon,mdio".
36 - Inherits from MDIO bus node binding [2]
37 [2] Documentation/devicetree/bindings/net/phy.txt
41 compatible = "hisilicon,mdio";
42 reg = <0x28f1000 0x1000>;
46 phy0: ethernet-phy@0 {
47 compatible = "ethernet-phy-ieee802.3-c22";
49 marvell,reg-init = <18 0x14 0 0x8001>;
52 phy1: ethernet-phy@1 {
53 compatible = "ethernet-phy-ieee802.3-c22";
55 marvell,reg-init = <18 0x14 0 0x8001>;
60 compatible = "hisilicon,hip04-ppe", "syscon";
61 reg = <0x28c0000 0x10000>;
64 fe: ethernet@28b0000 {
65 compatible = "hisilicon,hip04-mac";
66 reg = <0x28b0000 0x10000>;
67 interrupts = <0 413 4>;
69 port-handle = <&ppe 31 0>;
72 ge0: ethernet@2800000 {
73 compatible = "hisilicon,hip04-mac";
74 reg = <0x2800000 0x10000>;
75 interrupts = <0 402 4>;
77 port-handle = <&ppe 0 1>;
81 ge8: ethernet@2880000 {
82 compatible = "hisilicon,hip04-mac";
83 reg = <0x2880000 0x10000>;
84 interrupts = <0 410 4>;
86 port-handle = <&ppe 8 2>;