~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/net/hisilicon-hip04-net.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 Hisilicon hip04 Ethernet Controller
  2 
  3 * Ethernet controller node
  4 
  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         group, field in the pkg desc, in general, it is the same as the port.
 14 - phy-mode: see ethernet.txt [1].
 15 
 16 Optional properties:
 17 - phy-handle: see ethernet.txt [1].
 18 
 19 [1] Documentation/devicetree/bindings/net/ethernet.txt
 20 
 21 
 22 * MDIO bus node:
 23 
 24 Required properties:
 25 
 26 - compatible: should be "hisilicon,mdio".
 27 - Inherits from MDIO bus node binding [2]
 28 [2] Documentation/devicetree/bindings/net/phy.txt
 29 
 30 Example:
 31         mdio {
 32                 compatible = "hisilicon,mdio";
 33                 reg = <0x28f1000 0x1000>;
 34                 #address-cells = <1>;
 35                 #size-cells = <0>;
 36 
 37                 phy0: ethernet-phy@0 {
 38                         compatible = "ethernet-phy-ieee802.3-c22";
 39                         reg = <0>;
 40                         marvell,reg-init = <18 0x14 0 0x8001>;
 41                 };
 42 
 43                 phy1: ethernet-phy@1 {
 44                         compatible = "ethernet-phy-ieee802.3-c22";
 45                         reg = <1>;
 46                         marvell,reg-init = <18 0x14 0 0x8001>;
 47                 };
 48         };
 49 
 50         ppe: ppe@28c0000 {
 51                 compatible = "hisilicon,hip04-ppe", "syscon";
 52                 reg = <0x28c0000 0x10000>;
 53         };
 54 
 55         fe: ethernet@28b0000 {
 56                 compatible = "hisilicon,hip04-mac";
 57                 reg = <0x28b0000 0x10000>;
 58                 interrupts = <0 413 4>;
 59                 phy-mode = "mii";
 60                 port-handle = <&ppe 31 0 31>;
 61         };
 62 
 63         ge0: ethernet@2800000 {
 64                 compatible = "hisilicon,hip04-mac";
 65                 reg = <0x2800000 0x10000>;
 66                 interrupts = <0 402 4>;
 67                 phy-mode = "sgmii";
 68                 port-handle = <&ppe 0 1 0>;
 69                 phy-handle = <&phy0>;
 70         };
 71 
 72         ge8: ethernet@2880000 {
 73                 compatible = "hisilicon,hip04-mac";
 74                 reg = <0x2880000 0x10000>;
 75                 interrupts = <0 410 4>;
 76                 phy-mode = "sgmii";
 77                 port-handle = <&ppe 8 2 8>;
 78                 phy-handle = <&phy1>;
 79         };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php