bcm7420.dtsi 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. // SPDX-License-Identifier: GPL-2.0
  2. / {
  3. #address-cells = <1>;
  4. #size-cells = <1>;
  5. compatible = "brcm,bcm7420";
  6. cpus {
  7. #address-cells = <1>;
  8. #size-cells = <0>;
  9. mips-hpt-frequency = <93750000>;
  10. cpu@0 {
  11. compatible = "brcm,bmips5000";
  12. device_type = "cpu";
  13. reg = <0>;
  14. };
  15. cpu@1 {
  16. compatible = "brcm,bmips5000";
  17. device_type = "cpu";
  18. reg = <1>;
  19. };
  20. };
  21. aliases {
  22. uart0 = &uart0;
  23. };
  24. cpu_intc: interrupt-controller {
  25. #address-cells = <0>;
  26. compatible = "mti,cpu-interrupt-controller";
  27. interrupt-controller;
  28. #interrupt-cells = <1>;
  29. };
  30. clocks {
  31. uart_clk: uart_clk {
  32. compatible = "fixed-clock";
  33. #clock-cells = <0>;
  34. clock-frequency = <81000000>;
  35. };
  36. upg_clk: upg_clk {
  37. compatible = "fixed-clock";
  38. #clock-cells = <0>;
  39. clock-frequency = <27000000>;
  40. };
  41. };
  42. rdb {
  43. #address-cells = <1>;
  44. #size-cells = <1>;
  45. compatible = "simple-bus";
  46. ranges = <0 0x10000000 0x01000000>;
  47. periph_intc: interrupt-controller@441400 {
  48. compatible = "brcm,bcm7038-l1-intc";
  49. reg = <0x441400 0x30>, <0x441600 0x30>;
  50. interrupt-controller;
  51. #interrupt-cells = <1>;
  52. interrupt-parent = <&cpu_intc>;
  53. interrupts = <2>, <3>;
  54. };
  55. sun_l2_intc: interrupt-controller@401800 {
  56. compatible = "brcm,l2-intc";
  57. reg = <0x401800 0x30>;
  58. interrupt-controller;
  59. #interrupt-cells = <1>;
  60. interrupt-parent = <&periph_intc>;
  61. interrupts = <23>;
  62. };
  63. gisb-arb@400000 {
  64. compatible = "brcm,bcm7400-gisb-arb";
  65. reg = <0x400000 0xdc>;
  66. native-endian;
  67. interrupt-parent = <&sun_l2_intc>;
  68. interrupts = <0>, <2>;
  69. brcm,gisb-arb-master-mask = <0x3ff>;
  70. brcm,gisb-arb-master-names = "ssp_0", "cpu_0", "pci_0",
  71. "pcie_0", "bsp_0", "rdc_0",
  72. "rptd_0", "avd_0", "avd_1",
  73. "jtag_0";
  74. };
  75. upg_irq0_intc: interrupt-controller@406780 {
  76. compatible = "brcm,bcm7120-l2-intc";
  77. reg = <0x406780 0x8>;
  78. brcm,int-map-mask = <0x44>, <0x1f000000>, <0x100000>;
  79. brcm,int-fwd-mask = <0x70000>;
  80. interrupt-controller;
  81. #interrupt-cells = <1>;
  82. interrupt-parent = <&periph_intc>;
  83. interrupts = <18>, <19>, <20>;
  84. interrupt-names = "upg_main", "upg_bsc", "upg_spi";
  85. };
  86. sun_top_ctrl: syscon@404000 {
  87. compatible = "brcm,bcm7420-sun-top-ctrl", "syscon";
  88. reg = <0x404000 0x60c>;
  89. native-endian;
  90. };
  91. reboot {
  92. compatible = "brcm,bcm7038-reboot";
  93. syscon = <&sun_top_ctrl 0x8 0x14>;
  94. };
  95. uart0: serial@406b00 {
  96. compatible = "ns16550a";
  97. reg = <0x406b00 0x20>;
  98. reg-io-width = <0x4>;
  99. reg-shift = <0x2>;
  100. interrupt-parent = <&periph_intc>;
  101. interrupts = <21>;
  102. clocks = <&uart_clk>;
  103. status = "disabled";
  104. };
  105. uart1: serial@406b40 {
  106. compatible = "ns16550a";
  107. reg = <0x406b40 0x20>;
  108. reg-io-width = <0x4>;
  109. reg-shift = <0x2>;
  110. interrupt-parent = <&periph_intc>;
  111. interrupts = <64>;
  112. clocks = <&uart_clk>;
  113. status = "disabled";
  114. };
  115. uart2: serial@406b80 {
  116. compatible = "ns16550a";
  117. reg = <0x406b80 0x20>;
  118. reg-io-width = <0x4>;
  119. reg-shift = <0x2>;
  120. interrupt-parent = <&periph_intc>;
  121. interrupts = <65>;
  122. clocks = <&uart_clk>;
  123. status = "disabled";
  124. };
  125. bsca: i2c@406200 {
  126. clock-frequency = <390000>;
  127. compatible = "brcm,brcmstb-i2c";
  128. interrupt-parent = <&upg_irq0_intc>;
  129. reg = <0x406200 0x58>;
  130. interrupts = <24>;
  131. interrupt-names = "upg_bsca";
  132. status = "disabled";
  133. };
  134. bscb: i2c@406280 {
  135. clock-frequency = <390000>;
  136. compatible = "brcm,brcmstb-i2c";
  137. interrupt-parent = <&upg_irq0_intc>;
  138. reg = <0x406280 0x58>;
  139. interrupts = <25>;
  140. interrupt-names = "upg_bscb";
  141. status = "disabled";
  142. };
  143. bscc: i2c@406300 {
  144. clock-frequency = <390000>;
  145. compatible = "brcm,brcmstb-i2c";
  146. interrupt-parent = <&upg_irq0_intc>;
  147. reg = <0x406300 0x58>;
  148. interrupts = <26>;
  149. interrupt-names = "upg_bscc";
  150. status = "disabled";
  151. };
  152. bscd: i2c@406380 {
  153. clock-frequency = <390000>;
  154. compatible = "brcm,brcmstb-i2c";
  155. interrupt-parent = <&upg_irq0_intc>;
  156. reg = <0x406380 0x58>;
  157. interrupts = <27>;
  158. interrupt-names = "upg_bscd";
  159. status = "disabled";
  160. };
  161. bsce: i2c@406800 {
  162. clock-frequency = <390000>;
  163. compatible = "brcm,brcmstb-i2c";
  164. interrupt-parent = <&upg_irq0_intc>;
  165. reg = <0x406800 0x58>;
  166. interrupts = <28>;
  167. interrupt-names = "upg_bsce";
  168. status = "disabled";
  169. };
  170. pwma: pwm@406580 {
  171. compatible = "brcm,bcm7038-pwm";
  172. reg = <0x406580 0x28>;
  173. #pwm-cells = <2>;
  174. clocks = <&upg_clk>;
  175. status = "disabled";
  176. };
  177. pwmb: pwm@406880 {
  178. compatible = "brcm,bcm7038-pwm";
  179. reg = <0x406880 0x28>;
  180. #pwm-cells = <2>;
  181. clocks = <&upg_clk>;
  182. status = "disabled";
  183. };
  184. watchdog: watchdog@4067e8 {
  185. clocks = <&upg_clk>;
  186. compatible = "brcm,bcm7038-wdt";
  187. reg = <0x4067e8 0x14>;
  188. status = "disabled";
  189. };
  190. upg_gio: gpio@406700 {
  191. compatible = "brcm,brcmstb-gpio";
  192. reg = <0x406700 0x80>;
  193. #gpio-cells = <2>;
  194. #interrupt-cells = <2>;
  195. gpio-controller;
  196. interrupt-controller;
  197. interrupt-parent = <&upg_irq0_intc>;
  198. interrupts = <6>;
  199. brcm,gpio-bank-widths = <32 32 32 27>;
  200. };
  201. enet0: ethernet@468000 {
  202. phy-mode = "internal";
  203. phy-handle = <&phy1>;
  204. mac-address = [ 00 10 18 36 23 1a ];
  205. compatible = "brcm,genet-v1";
  206. #address-cells = <0x1>;
  207. #size-cells = <0x1>;
  208. reg = <0x468000 0x3c8c>;
  209. interrupts = <69>, <79>;
  210. interrupt-parent = <&periph_intc>;
  211. status = "disabled";
  212. mdio@e14 {
  213. compatible = "brcm,genet-mdio-v1";
  214. #address-cells = <0x1>;
  215. #size-cells = <0x0>;
  216. reg = <0xe14 0x8>;
  217. phy1: ethernet-phy@1 {
  218. max-speed = <100>;
  219. reg = <0x1>;
  220. compatible = "brcm,65nm-ephy",
  221. "ethernet-phy-ieee802.3-c22";
  222. };
  223. };
  224. };
  225. ehci0: usb@488300 {
  226. compatible = "brcm,bcm7420-ehci", "generic-ehci";
  227. reg = <0x488300 0x100>;
  228. interrupt-parent = <&periph_intc>;
  229. interrupts = <60>;
  230. status = "disabled";
  231. };
  232. ohci0: usb@488400 {
  233. compatible = "brcm,bcm7420-ohci", "generic-ohci";
  234. reg = <0x488400 0x100>;
  235. native-endian;
  236. no-big-frame-no;
  237. interrupt-parent = <&periph_intc>;
  238. interrupts = <61>;
  239. status = "disabled";
  240. };
  241. ehci1: usb@488500 {
  242. compatible = "brcm,bcm7420-ehci", "generic-ehci";
  243. reg = <0x488500 0x100>;
  244. interrupt-parent = <&periph_intc>;
  245. interrupts = <55>;
  246. status = "disabled";
  247. };
  248. ohci1: usb@488600 {
  249. compatible = "brcm,bcm7420-ohci", "generic-ohci";
  250. reg = <0x488600 0x100>;
  251. native-endian;
  252. no-big-frame-no;
  253. interrupt-parent = <&periph_intc>;
  254. interrupts = <62>;
  255. status = "disabled";
  256. };
  257. spi_l2_intc: interrupt-controller@411d00 {
  258. compatible = "brcm,l2-intc";
  259. reg = <0x411d00 0x30>;
  260. interrupt-controller;
  261. #interrupt-cells = <1>;
  262. interrupt-parent = <&periph_intc>;
  263. interrupts = <78>;
  264. };
  265. qspi: spi@443000 {
  266. #address-cells = <0x1>;
  267. #size-cells = <0x0>;
  268. compatible = "brcm,spi-bcm-qspi",
  269. "brcm,spi-brcmstb-qspi";
  270. clocks = <&upg_clk>;
  271. reg = <0x440920 0x4 0x443200 0x188 0x443000 0x50>;
  272. reg-names = "cs_reg", "hif_mspi", "bspi";
  273. interrupts = <0x0 0x1 0x2 0x3 0x4 0x5 0x6>;
  274. interrupt-parent = <&spi_l2_intc>;
  275. interrupt-names = "spi_lr_fullness_reached",
  276. "spi_lr_session_aborted",
  277. "spi_lr_impatient",
  278. "spi_lr_session_done",
  279. "spi_lr_overread",
  280. "mspi_done",
  281. "mspi_halted";
  282. status = "disabled";
  283. };
  284. mspi: spi@406400 {
  285. #address-cells = <1>;
  286. #size-cells = <0>;
  287. compatible = "brcm,spi-bcm-qspi",
  288. "brcm,spi-brcmstb-mspi";
  289. clocks = <&upg_clk>;
  290. reg = <0x406400 0x180>;
  291. reg-names = "mspi";
  292. interrupts = <0x14>;
  293. interrupt-parent = <&upg_irq0_intc>;
  294. interrupt-names = "mspi_done";
  295. status = "disabled";
  296. };
  297. };
  298. };