hip05_hns.dtsi 5.7 KB

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