~ [ 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 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/net/hisilicon-hip04-net.txt (Architecture m68k) and /Documentation/devicetree/bindings/net/hisilicon-hip04-net.txt (Architecture i386)


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