mmc: sdhci-of-arasan: Add the support for sdhci-5.1
[linux/fpc-iii.git] / Documentation / devicetree / bindings / net / hisilicon-hip04-net.txt
blob988fc694b663fdde71b23e73051085f0c034c6b5
1 Hisilicon hip04 Ethernet Controller
3 * Ethernet controller node
5 Required properties:
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].
15 Optional properties:
16 - phy-handle: see ethernet.txt [1].
18 [1] Documentation/devicetree/bindings/net/ethernet.txt
21 * Ethernet ppe node:
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).
26 Required properties:
27 - compatible: "hisilicon,hip04-ppe", "syscon".
28 - reg: address and length of the register set for the device.
31 * MDIO bus node:
33 Required properties:
35 - compatible: should be "hisilicon,hip04-mdio".
36 - Inherits from MDIO bus node binding [2]
37 [2] Documentation/devicetree/bindings/net/phy.txt
39 Example:
40         mdio {
41                 compatible = "hisilicon,hip04-mdio";
42                 reg = <0x28f1000 0x1000>;
43                 #address-cells = <1>;
44                 #size-cells = <0>;
46                 phy0: ethernet-phy@0 {
47                         compatible = "ethernet-phy-ieee802.3-c22";
48                         reg = <0>;
49                         marvell,reg-init = <18 0x14 0 0x8001>;
50                 };
52                 phy1: ethernet-phy@1 {
53                         compatible = "ethernet-phy-ieee802.3-c22";
54                         reg = <1>;
55                         marvell,reg-init = <18 0x14 0 0x8001>;
56                 };
57         };
59         ppe: ppe@28c0000 {
60                 compatible = "hisilicon,hip04-ppe", "syscon";
61                 reg = <0x28c0000 0x10000>;
62         };
64         fe: ethernet@28b0000 {
65                 compatible = "hisilicon,hip04-mac";
66                 reg = <0x28b0000 0x10000>;
67                 interrupts = <0 413 4>;
68                 phy-mode = "mii";
69                 port-handle = <&ppe 31 0>;
70         };
72         ge0: ethernet@2800000 {
73                 compatible = "hisilicon,hip04-mac";
74                 reg = <0x2800000 0x10000>;
75                 interrupts = <0 402 4>;
76                 phy-mode = "sgmii";
77                 port-handle = <&ppe 0 1>;
78                 phy-handle = <&phy0>;
79         };
81         ge8: ethernet@2880000 {
82                 compatible = "hisilicon,hip04-mac";
83                 reg = <0x2880000 0x10000>;
84                 interrupts = <0 410 4>;
85                 phy-mode = "sgmii";
86                 port-handle = <&ppe 8 2>;
87                 phy-handle = <&phy1>;
88         };