blob: 606dd5a05c2dfd5682c1343fd05a0ce33b2dd46a [file] [log] [blame]
huangdaodefc7e37c2015-09-17 14:51:46 +08001soc0: soc@000000000 {
2 #address-cells = <2>;
3 #size-cells = <2>;
4 device_type = "soc";
5 compatible = "simple-bus";
6 ranges = <0x0 0x0 0x0 0x0 0x1 0x0>;
7 chip-id = <0>;
8
9 soc0_mdio0: mdio@803c0000 {
10 #address-cells = <1>;
11 #size-cells = <0>;
12 compatible = "hisilicon,hns-mdio";
13 reg = <0x0 0x803c0000 0x0 0x10000
14 0x0 0x80000000 0x0 0x10000>;
15
yankejian6d08f612015-10-27 19:16:34 +080016 soc0_phy0: ethernet-phy@0 {
huangdaodefc7e37c2015-09-17 14:51:46 +080017 reg = <0x0>;
huangdaodefc7e37c2015-09-17 14:51:46 +080018 compatible = "ethernet-phy-ieee802.3-c22";
19 };
yankejian6d08f612015-10-27 19:16:34 +080020 soc0_phy1: ethernet-phy@1 {
huangdaodefc7e37c2015-09-17 14:51:46 +080021 reg = <0x1>;
huangdaodefc7e37c2015-09-17 14:51:46 +080022 compatible = "ethernet-phy-ieee802.3-c22";
23 };
24 };
25
26 dsa: dsa@c7000000 {
27 compatible = "hisilicon,hns-dsaf-v1";
28 dsa_name = "dsaf0";
29 mode = "6port-16rss";
30 interrupt-parent = <&mbigen_dsa>;
31
32 reg = <0x0 0xC0000000 0x0 0x420000
33 0x0 0xC2000000 0x0 0x300000
34 0x0 0xc5000000 0x0 0x890000
35 0x0 0xc7000000 0x0 0x60000
36 >;
37
yankejian6d08f612015-10-27 19:16:34 +080038 phy-handle = <0 0 0 0 &soc0_phy0 &soc0_phy1 0 0>;
huangdaodefc7e37c2015-09-17 14:51:46 +080039 interrupts = <
40 /* [14] ge fifo err 8 / xge 6**/
41 149 0x4 150 0x4 151 0x4 152 0x4
42 153 0x4 154 0x4 26 0x4 27 0x4
43 155 0x4 156 0x4 157 0x4 158 0x4 159 0x4 160 0x4
44 /* [12] rcb com 4*3**/
45 0x6 0x4 0x7 0x4 0x8 0x4 0x9 0x4
46 16 0x4 17 0x4 18 0x4 19 0x4
47 22 0x4 23 0x4 24 0x4 25 0x4
48 /* [8] ppe tnl 0-7***/
49 0x0 0x4 0x1 0x4 0x2 0x4 0x3 0x4
50 0x4 0x4 0x5 0x4 12 0x4 13 0x4
51 /* [21] dsaf event int 3+18**/
52 128 0x4 129 0x4 130 0x4
53 0x83 0x4 0x84 0x4 0x85 0x4 0x86 0x4 0x87 0x4 0x88 0x4
54 0x89 0x4 0x8a 0x4 0x8b 0x4 0x8c 0x4 0x8d 0x4 0x8e 0x4
55 0x8f 0x4 0x90 0x4 0x91 0x4 0x92 0x4 0x93 0x4 0x94 0x4
56 /* [4] debug rcb 2*2*/
57 0xe 0x1 0xf 0x1 0x14 0x1 0x15 0x1
58 /* [256] sevice rcb 2*128*/
59 0x180 0x1 0x181 0x1 0x182 0x1 0x183 0x1
60 0x184 0x1 0x185 0x1 0x186 0x1 0x187 0x1
61 0x188 0x1 0x189 0x1 0x18a 0x1 0x18b 0x1
62 0x18c 0x1 0x18d 0x1 0x18e 0x1 0x18f 0x1
63 0x190 0x1 0x191 0x1 0x192 0x1 0x193 0x1
64 0x194 0x1 0x195 0x1 0x196 0x1 0x197 0x1
65 0x198 0x1 0x199 0x1 0x19a 0x1 0x19b 0x1
66 0x19c 0x1 0x19d 0x1 0x19e 0x1 0x19f 0x1
67 0x1a0 0x1 0x1a1 0x1 0x1a2 0x1 0x1a3 0x1
68 0x1a4 0x1 0x1a5 0x1 0x1a6 0x1 0x1a7 0x1
69 0x1a8 0x1 0x1a9 0x1 0x1aa 0x1 0x1ab 0x1
70 0x1ac 0x1 0x1ad 0x1 0x1ae 0x1 0x1af 0x1
71 0x1b0 0x1 0x1b1 0x1 0x1b2 0x1 0x1b3 0x1
72 0x1b4 0x1 0x1b5 0x1 0x1b6 0x1 0x1b7 0x1
73 0x1b8 0x1 0x1b9 0x1 0x1ba 0x1 0x1bb 0x1
74 0x1bc 0x1 0x1bd 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x1 0x226 0x1 0x227 0x1
101 0x228 0x1 0x229 0x1 0x22a 0x1 0x22b 0x1
102 0x22c 0x1 0x22d 0x1 0x22e 0x1 0x22f 0x1
103 0x230 0x1 0x231 0x1 0x232 0x1 0x233 0x1
104 0x234 0x1 0x235 0x1 0x236 0x1 0x237 0x1
105 0x238 0x1 0x239 0x1 0x23a 0x1 0x23b 0x1
106 0x23c 0x1 0x23d 0x1 0x23e 0x1 0x23f 0x1
107 0x240 0x1 0x241 0x1 0x242 0x1 0x243 0x1
108 0x244 0x1 0x245 0x1 0x246 0x1 0x247 0x1
109 0x248 0x1 0x249 0x1 0x24a 0x1 0x24b 0x1
110 0x24c 0x1 0x24d 0x1 0x24e 0x1 0x24f 0x1
111 0x250 0x1 0x251 0x1 0x252 0x1 0x253 0x1
112 0x254 0x1 0x255 0x1 0x256 0x1 0x257 0x1
113 0x258 0x1 0x259 0x1 0x25a 0x1 0x25b 0x1
114 0x25c 0x1 0x25d 0x1 0x25e 0x1 0x25f 0x1
115 0x260 0x1 0x261 0x1 0x262 0x1 0x263 0x1
116 0x264 0x1 0x265 0x1 0x266 0x1 0x267 0x1
117 0x268 0x1 0x269 0x1 0x26a 0x1 0x26b 0x1
118 0x26c 0x1 0x26d 0x1 0x26e 0x1 0x26f 0x1
119 0x270 0x1 0x271 0x1 0x272 0x1 0x273 0x1
120 0x274 0x1 0x275 0x1 0x276 0x1 0x277 0x1
121 0x278 0x1 0x279 0x1 0x27a 0x1 0x27b 0x1
122 0x27c 0x1 0x27d 0x1 0x27e 0x1 0x27f 0x1>;
123 buf-size = <4096>;
124 desc-num = <1024>;
125 dma-coherent;
126 };
127
128 eth0: ethernet@0{
129 compatible = "hisilicon,hns-nic-v1";
130 ae-name = "dsaf0";
131 port-id = <0>;
132 local-mac-address = [00 00 00 01 00 58];
133 status = "disabled";
134 dma-coherent;
135 };
136 eth1: ethernet@1{
137 compatible = "hisilicon,hns-nic-v1";
138 ae-name = "dsaf0";
139 port-id = <1>;
140 status = "disabled";
141 dma-coherent;
142 };
143 eth2: ethernet@2{
144 compatible = "hisilicon,hns-nic-v1";
145 ae-name = "dsaf0";
146 port-id = <2>;
147 local-mac-address = [00 00 00 01 00 5a];
148 status = "disabled";
149 dma-coherent;
150 };
151 eth3: ethernet@3{
152 compatible = "hisilicon,hns-nic-v1";
153 ae-name = "dsaf0";
154 port-id = <3>;
155 local-mac-address = [00 00 00 01 00 5b];
156 status = "disabled";
157 dma-coherent;
158 };
159 eth4: ethernet@4{
160 compatible = "hisilicon,hns-nic-v1";
161 ae-name = "dsaf0";
162 port-id = <4>;
163 local-mac-address = [00 00 00 01 00 5c];
164 status = "disabled";
165 dma-coherent;
166 };
167 eth5: ethernet@5{
168 compatible = "hisilicon,hns-nic-v1";
169 ae-name = "dsaf0";
170 port-id = <5>;
171 local-mac-address = [00 00 00 01 00 5d];
172 status = "disabled";
173 dma-coherent;
174 };
175 eth6: ethernet@6{
176 compatible = "hisilicon,hns-nic-v1";
177 ae-name = "dsaf0";
178 port-id = <6>;
179 local-mac-address = [00 00 00 01 00 5e];
180 status = "disabled";
181 dma-coherent;
182 };
183 eth7: ethernet@7{
184 compatible = "hisilicon,hns-nic-v1";
185 ae-name = "dsaf0";
186 port-id = <7>;
187 local-mac-address = [00 00 00 01 00 5f];
188 status = "disabled";
189 dma-coherent;
190 };
191};