Lines Matching +full:port +full:- +full:base

4 - compatible: should be "hisilicon,hns-dsaf-v1" or "hisilicon,hns-dsaf-v2".
5 "hisilicon,hns-dsaf-v1" is for hip05.
6 "hisilicon,hns-dsaf-v2" is for Hi1610 and Hi1612.
7 - mode: dsa fabric mode string. only support one of dsaf modes like these:
8 "2port-64vf",
9 "6port-16rss",
10 "6port-16vf",
11 "single-port".
12 - interrupts: should contain the DSA Fabric and rcb interrupt.
13 - reg: specifies base physical address(es) and size of the device registers.
14 The first region is external interface control register base and size(optional,
15 only used when subctrl-syscon does not exist). It is recommended using
16 subctrl-syscon rather than this address.
17 The second region is SerDes base register and size(optional, only used when
18 serdes-syscon in port node does not exist). It is recommended using
19 serdes-syscon rather than this address.
20 The third region is the PPE register base and size.
21 The fourth region is dsa fabric base register and size. It is not required for
22 single-port mode.
23 - reg-names: may be ppe-base and(or) dsaf-base. It is used to find the
26 - phy-handle: phy handle of physical port, 0 if not any phy device. It is optional
27 attribute. If port node exists, phy-handle in each port node will be used.
29 - subctrl-syscon: is syscon handle for external interface control register.
30 - reset-field-offset: is offset of reset field. Its value depends on the hardware
32 - buf-size: rx buffer size, should be 16-1024.
33 - desc-num: number of description in TX and RX queue, should be 512, 1024, 2048 or 4096.
35 - port: subnodes of dsaf. A dsaf node may contain several port nodes(Depending
36 on mode of dsaf). Port node contain some attributes listed below:
37 - reg: is physical port index in one dsaf.
38 - phy-handle: phy handle of physical port. It is not required if there isn't
40 - serdes-syscon: is syscon handle for SerDes register.
41 - cpld-syscon: is syscon handle + register offset pair for cpld register. It is
43 - port-rst-offset: is offset of reset field for each port in dsaf. Its value
45 - port-mode-offset: is offset of port mode field for each port in dsaf. Its
47 - mc-mac-mask: mask of multicast address, determines bit in multicast address
59 compatible = "hisilicon,hns-dsaf-v1";
60 mode = "6port-16rss";
61 interrupt-parent = <&mbigen_dsa>;
64 reg-names = "ppe-base", "dsaf-base";
65 subctrl-syscon = <&subctrl>;
66 reset-field-offset = 0;
74 buf-size = <4096>;
75 desc-num = <1024>;
76 dma-coherent;
78 port@0 {
80 phy-handle = <&phy0>;
81 serdes-syscon = <&serdes>;
82 mc-mac-mask = [ff f0 00 00 00 00];
85 port@1 {
87 serdes-syscon = <&serdes>;
88 mc-mac-mask = [ff f0 00 00 00 00];