Merge remote-tracking branch 'asoc/topic/omap' into asoc-next
[cascardo/linux.git] / arch / arm64 / boot / dts / hisilicon / hip05_hns.dtsi
1 soc0: 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                 subctrl-vbase = <&peri_c_subctrl>;
15
16                 soc0_phy0: ethernet-phy@0 {
17                         reg = <0x0>;
18                         compatible = "ethernet-phy-ieee802.3-c22";
19                 };
20                 soc0_phy1: ethernet-phy@1 {
21                         reg = <0x1>;
22                         compatible = "ethernet-phy-ieee802.3-c22";
23                 };
24         };
25
26         dsaf0: dsa@c7000000 {
27                 compatible = "hisilicon,hns-dsaf-v1";
28                 mode = "6port-16rss";
29                 interrupt-parent = <&mbigen_dsa>;
30
31                 reg = <0x0 0xC0000000 0x0 0x420000
32                        0x0 0xC2000000 0x0 0x300000
33                        0x0 0xc5000000 0x0 0x890000
34                        0x0 0xc7000000 0x0 0x60000
35                        >;
36
37                 phy-handle = <0 0 0 0 &soc0_phy0 &soc0_phy1 0 0>;
38                 interrupts = <
39                         /* [14] ge fifo err 8 / xge 6**/
40                         149 0x4 150 0x4 151 0x4 152 0x4
41                         153 0x4 154 0x4  26 0x4 27 0x4
42                         155 0x4 156 0x4 157 0x4 158 0x4 159 0x4 160 0x4
43                         /* [12] rcb com 4*3**/
44                         0x6 0x4 0x7 0x4 0x8 0x4 0x9 0x4
45                          16 0x4  17 0x4  18 0x4  19 0x4
46                          22 0x4  23 0x4  24 0x4  25 0x4
47                         /* [8] ppe tnl 0-7***/
48                         0x0 0x4 0x1 0x4 0x2 0x4 0x3 0x4
49                         0x4 0x4 0x5 0x4 12 0x4 13 0x4
50                         /* [21] dsaf event int 3+18**/
51                          128 0x4  129 0x4  130 0x4
52                         0x83 0x4 0x84 0x4 0x85 0x4 0x86 0x4 0x87 0x4 0x88 0x4
53                         0x89 0x4 0x8a 0x4 0x8b 0x4 0x8c 0x4 0x8d 0x4 0x8e 0x4
54                         0x8f 0x4 0x90 0x4 0x91 0x4 0x92 0x4 0x93 0x4 0x94 0x4
55                         /* [4] debug rcb 2*2*/
56                         0xe 0x1 0xf 0x1 0x14 0x1 0x15 0x1
57                         /* [256] sevice rcb 2*128*/
58                         0x180 0x1 0x181 0x1 0x182 0x1 0x183 0x1
59                         0x184 0x1 0x185 0x1 0x186 0x1 0x187 0x1
60                         0x188 0x1 0x189 0x1 0x18a 0x1 0x18b 0x1
61                         0x18c 0x1 0x18d 0x1 0x18e 0x1 0x18f 0x1
62                         0x190 0x1 0x191 0x1 0x192 0x1 0x193 0x1
63                         0x194 0x1 0x195 0x1 0x196 0x1 0x197 0x1
64                         0x198 0x1 0x199 0x1 0x19a 0x1 0x19b 0x1
65                         0x19c 0x1 0x19d 0x1 0x19e 0x1 0x19f 0x1
66                         0x1a0 0x1 0x1a1 0x1 0x1a2 0x1 0x1a3 0x1
67                         0x1a4 0x1 0x1a5 0x1 0x1a6 0x1 0x1a7 0x1
68                         0x1a8 0x1 0x1a9 0x1 0x1aa 0x1 0x1ab 0x1
69                         0x1ac 0x1 0x1ad 0x1 0x1ae 0x1 0x1af 0x1
70                         0x1b0 0x1 0x1b1 0x1 0x1b2 0x1 0x1b3 0x1
71                         0x1b4 0x1 0x1b5 0x1 0x1b6 0x1 0x1b7 0x1
72                         0x1b8 0x1 0x1b9 0x1 0x1ba 0x1 0x1bb 0x1
73                         0x1bc 0x1 0x1bd 0x1 0x1be 0x1 0x1bf 0x1
74                         0x1c0 0x1 0x1c1 0x1 0x1c2 0x1 0x1c3 0x1
75                         0x1c4 0x1 0x1c5 0x1 0x1c6 0x1 0x1c7 0x1
76                         0x1c8 0x1 0x1c9 0x1 0x1ca 0x1 0x1cb 0x1
77                         0x1cc 0x1 0x1cd 0x1 0x1ce 0x1 0x1cf 0x1
78                         0x1d0 0x1 0x1d1 0x1 0x1d2 0x1 0x1d3 0x1
79                         0x1d4 0x1 0x1d5 0x1 0x1d6 0x1 0x1d7 0x1
80                         0x1d8 0x1 0x1d9 0x1 0x1da 0x1 0x1db 0x1
81                         0x1dc 0x1 0x1dd 0x1 0x1de 0x1 0x1df 0x1
82                         0x1e0 0x1 0x1e1 0x1 0x1e2 0x1 0x1e3 0x1
83                         0x1e4 0x1 0x1e5 0x1 0x1e6 0x1 0x1e7 0x1
84                         0x1e8 0x1 0x1e9 0x1 0x1ea 0x1 0x1eb 0x1
85                         0x1ec 0x1 0x1ed 0x1 0x1ee 0x1 0x1ef 0x1
86                         0x1f0 0x1 0x1f1 0x1 0x1f2 0x1 0x1f3 0x1
87                         0x1f4 0x1 0x1f5 0x1 0x1f6 0x1 0x1f7 0x1
88                         0x1f8 0x1 0x1f9 0x1 0x1fa 0x1 0x1fb 0x1
89                         0x1fc 0x1 0x1fd 0x1 0x1fe 0x1 0x1ff 0x1
90                         0x200 0x1 0x201 0x1 0x202 0x1 0x203 0x1
91                         0x204 0x1 0x205 0x1 0x206 0x1 0x207 0x1
92                         0x208 0x1 0x209 0x1 0x20a 0x1 0x20b 0x1
93                         0x20c 0x1 0x20d 0x1 0x20e 0x1 0x20f 0x1
94                         0x210 0x1 0x211 0x1 0x212 0x1 0x213 0x1
95                         0x214 0x1 0x215 0x1 0x216 0x1 0x217 0x1
96                         0x218 0x1 0x219 0x1 0x21a 0x1 0x21b 0x1
97                         0x21c 0x1 0x21d 0x1 0x21e 0x1 0x21f 0x1
98                         0x220 0x1 0x221 0x1 0x222 0x1 0x223 0x1
99                         0x224 0x1 0x225 0x1 0x226 0x1 0x227 0x1
100                         0x228 0x1 0x229 0x1 0x22a 0x1 0x22b 0x1
101                         0x22c 0x1 0x22d 0x1 0x22e 0x1 0x22f 0x1
102                         0x230 0x1 0x231 0x1 0x232 0x1 0x233 0x1
103                         0x234 0x1 0x235 0x1 0x236 0x1 0x237 0x1
104                         0x238 0x1 0x239 0x1 0x23a 0x1 0x23b 0x1
105                         0x23c 0x1 0x23d 0x1 0x23e 0x1 0x23f 0x1
106                         0x240 0x1 0x241 0x1 0x242 0x1 0x243 0x1
107                         0x244 0x1 0x245 0x1 0x246 0x1 0x247 0x1
108                         0x248 0x1 0x249 0x1 0x24a 0x1 0x24b 0x1
109                         0x24c 0x1 0x24d 0x1 0x24e 0x1 0x24f 0x1
110                         0x250 0x1 0x251 0x1 0x252 0x1 0x253 0x1
111                         0x254 0x1 0x255 0x1 0x256 0x1 0x257 0x1
112                         0x258 0x1 0x259 0x1 0x25a 0x1 0x25b 0x1
113                         0x25c 0x1 0x25d 0x1 0x25e 0x1 0x25f 0x1
114                         0x260 0x1 0x261 0x1 0x262 0x1 0x263 0x1
115                         0x264 0x1 0x265 0x1 0x266 0x1 0x267 0x1
116                         0x268 0x1 0x269 0x1 0x26a 0x1 0x26b 0x1
117                         0x26c 0x1 0x26d 0x1 0x26e 0x1 0x26f 0x1
118                         0x270 0x1 0x271 0x1 0x272 0x1 0x273 0x1
119                         0x274 0x1 0x275 0x1 0x276 0x1 0x277 0x1
120                         0x278 0x1 0x279 0x1 0x27a 0x1 0x27b 0x1
121                         0x27c 0x1 0x27d 0x1 0x27e 0x1 0x27f 0x1>;
122                 buf-size = <4096>;
123                 desc-num = <1024>;
124                 dma-coherent;
125         };
126
127         eth0: ethernet@0{
128                 compatible = "hisilicon,hns-nic-v1";
129                 ae-handle = <&dsaf0>;
130                 port-id = <0>;
131                 local-mac-address = [00 00 00 01 00 58];
132                 status = "disabled";
133                 dma-coherent;
134         };
135         eth1: ethernet@1{
136                 compatible = "hisilicon,hns-nic-v1";
137                 ae-handle = <&dsaf0>;
138                 port-id = <1>;
139                 status = "disabled";
140                 dma-coherent;
141         };
142         eth2: ethernet@2{
143                 compatible = "hisilicon,hns-nic-v1";
144                 ae-handle = <&dsaf0>;
145                 port-id = <2>;
146                 local-mac-address = [00 00 00 01 00 5a];
147                 status = "disabled";
148                 dma-coherent;
149         };
150         eth3: ethernet@3{
151                 compatible = "hisilicon,hns-nic-v1";
152                 ae-handle = <&dsaf0>;
153                 port-id = <3>;
154                 local-mac-address = [00 00 00 01 00 5b];
155                 status = "disabled";
156                 dma-coherent;
157         };
158         eth4: ethernet@4{
159                 compatible = "hisilicon,hns-nic-v1";
160                 ae-handle = <&dsaf0>;
161                 port-id = <4>;
162                 local-mac-address = [00 00 00 01 00 5c];
163                 status = "disabled";
164                 dma-coherent;
165         };
166         eth5: ethernet@5{
167                 compatible = "hisilicon,hns-nic-v1";
168                 ae-handle = <&dsaf0>;
169                 port-id = <5>;
170                 local-mac-address = [00 00 00 01 00 5d];
171                 status = "disabled";
172                 dma-coherent;
173         };
174         eth6: ethernet@6{
175                 compatible = "hisilicon,hns-nic-v1";
176                 ae-handle = <&dsaf0>;
177                 port-id = <6>;
178                 local-mac-address = [00 00 00 01 00 5e];
179                 status = "disabled";
180                 dma-coherent;
181         };
182         eth7: ethernet@7{
183                 compatible = "hisilicon,hns-nic-v1";
184                 ae-handle = <&dsaf0>;
185                 port-id = <7>;
186                 local-mac-address = [00 00 00 01 00 5f];
187                 status = "disabled";
188                 dma-coherent;
189         };
190 };