bcm7125.dtsi 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. // SPDX-License-Identifier: GPL-2.0
  2. / {
  3. #address-cells = <1>;
  4. #size-cells = <1>;
  5. compatible = "brcm,bcm7125";
  6. cpus {
  7. #address-cells = <1>;
  8. #size-cells = <0>;
  9. mips-hpt-frequency = <202500000>;
  10. cpu@0 {
  11. compatible = "brcm,bmips4380";
  12. device_type = "cpu";
  13. reg = <0>;
  14. };
  15. cpu@1 {
  16. compatible = "brcm,bmips4380";
  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 = <0x2f7>;
  70. brcm,gisb-arb-master-names = "ssp_0", "cpu_0", "pci_0",
  71. "bsp_0", "rdc_0", "rptd_0",
  72. "avd_0", "jtag_0";
  73. };
  74. upg_irq0_intc: interrupt-controller@406780 {
  75. compatible = "brcm,bcm7120-l2-intc";
  76. reg = <0x406780 0x8>;
  77. brcm,int-map-mask = <0x44>, <0xf000000>, <0x100000>;
  78. brcm,int-fwd-mask = <0x70000>;
  79. interrupt-controller;
  80. #interrupt-cells = <1>;
  81. interrupt-parent = <&periph_intc>;
  82. interrupts = <18>, <19>, <20>;
  83. interrupt-names = "upg_main", "upg_bsc", "upg_spi";
  84. };
  85. sun_top_ctrl: syscon@404000 {
  86. compatible = "brcm,bcm7125-sun-top-ctrl", "syscon";
  87. reg = <0x404000 0x60c>;
  88. native-endian;
  89. };
  90. reboot {
  91. compatible = "brcm,bcm7038-reboot";
  92. syscon = <&sun_top_ctrl 0x8 0x14>;
  93. };
  94. uart0: serial@406b00 {
  95. compatible = "ns16550a";
  96. reg = <0x406b00 0x20>;
  97. reg-io-width = <0x4>;
  98. reg-shift = <0x2>;
  99. native-endian;
  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. native-endian;
  111. interrupt-parent = <&periph_intc>;
  112. interrupts = <64>;
  113. clocks = <&uart_clk>;
  114. status = "disabled";
  115. };
  116. uart2: serial@406b80 {
  117. compatible = "ns16550a";
  118. reg = <0x406b80 0x20>;
  119. reg-io-width = <0x4>;
  120. reg-shift = <0x2>;
  121. native-endian;
  122. interrupt-parent = <&periph_intc>;
  123. interrupts = <65>;
  124. clocks = <&uart_clk>;
  125. status = "disabled";
  126. };
  127. bsca: i2c@406200 {
  128. clock-frequency = <390000>;
  129. compatible = "brcm,brcmstb-i2c";
  130. interrupt-parent = <&upg_irq0_intc>;
  131. reg = <0x406200 0x58>;
  132. interrupts = <24>;
  133. interrupt-names = "upg_bsca";
  134. status = "disabled";
  135. };
  136. bscb: i2c@406280 {
  137. clock-frequency = <390000>;
  138. compatible = "brcm,brcmstb-i2c";
  139. interrupt-parent = <&upg_irq0_intc>;
  140. reg = <0x406280 0x58>;
  141. interrupts = <25>;
  142. interrupt-names = "upg_bscb";
  143. status = "disabled";
  144. };
  145. bscc: i2c@406300 {
  146. clock-frequency = <390000>;
  147. compatible = "brcm,brcmstb-i2c";
  148. interrupt-parent = <&upg_irq0_intc>;
  149. reg = <0x406300 0x58>;
  150. interrupts = <26>;
  151. interrupt-names = "upg_bscc";
  152. status = "disabled";
  153. };
  154. bscd: i2c@406380 {
  155. clock-frequency = <390000>;
  156. compatible = "brcm,brcmstb-i2c";
  157. interrupt-parent = <&upg_irq0_intc>;
  158. reg = <0x406380 0x58>;
  159. interrupts = <27>;
  160. interrupt-names = "upg_bscd";
  161. status = "disabled";
  162. };
  163. pwma: pwm@406580 {
  164. compatible = "brcm,bcm7038-pwm";
  165. reg = <0x406580 0x28>;
  166. #pwm-cells = <2>;
  167. clocks = <&upg_clk>;
  168. status = "disabled";
  169. };
  170. watchdog: watchdog@4067e8 {
  171. clocks = <&upg_clk>;
  172. compatible = "brcm,bcm7038-wdt";
  173. reg = <0x4067e8 0x14>;
  174. status = "disabled";
  175. };
  176. upg_gio: gpio@406700 {
  177. compatible = "brcm,brcmstb-gpio";
  178. reg = <0x406700 0x80>;
  179. #gpio-cells = <2>;
  180. #interrupt-cells = <2>;
  181. gpio-controller;
  182. interrupt-controller;
  183. interrupt-parent = <&upg_irq0_intc>;
  184. interrupts = <6>;
  185. brcm,gpio-bank-widths = <32 32 32 18>;
  186. };
  187. ehci0: usb@488300 {
  188. compatible = "brcm,bcm7125-ehci", "generic-ehci";
  189. reg = <0x488300 0x100>;
  190. native-endian;
  191. interrupt-parent = <&periph_intc>;
  192. interrupts = <60>;
  193. status = "disabled";
  194. };
  195. ohci0: usb@488400 {
  196. compatible = "brcm,bcm7125-ohci", "generic-ohci";
  197. reg = <0x488400 0x100>;
  198. native-endian;
  199. interrupt-parent = <&periph_intc>;
  200. interrupts = <61>;
  201. status = "disabled";
  202. };
  203. spi_l2_intc: interrupt-controller@411d00 {
  204. compatible = "brcm,l2-intc";
  205. reg = <0x411d00 0x30>;
  206. interrupt-controller;
  207. #interrupt-cells = <1>;
  208. interrupt-parent = <&periph_intc>;
  209. interrupts = <79>;
  210. };
  211. qspi: spi@443000 {
  212. #address-cells = <0x1>;
  213. #size-cells = <0x0>;
  214. compatible = "brcm,spi-bcm-qspi",
  215. "brcm,spi-brcmstb-qspi";
  216. clocks = <&upg_clk>;
  217. reg = <0x440920 0x4 0x443200 0x188 0x443000 0x50>;
  218. reg-names = "cs_reg", "hif_mspi", "bspi";
  219. interrupts = <0x0 0x1 0x2 0x3 0x4 0x5 0x6>;
  220. interrupt-parent = <&spi_l2_intc>;
  221. interrupt-names = "spi_lr_fullness_reached",
  222. "spi_lr_session_aborted",
  223. "spi_lr_impatient",
  224. "spi_lr_session_done",
  225. "spi_lr_overread",
  226. "mspi_done",
  227. "mspi_halted";
  228. status = "disabled";
  229. };
  230. mspi: spi@406400 {
  231. #address-cells = <1>;
  232. #size-cells = <0>;
  233. compatible = "brcm,spi-bcm-qspi",
  234. "brcm,spi-brcmstb-mspi";
  235. clocks = <&upg_clk>;
  236. reg = <0x406400 0x180>;
  237. reg-names = "mspi";
  238. interrupts = <0x14>;
  239. interrupt-parent = <&upg_irq0_intc>;
  240. interrupt-names = "mspi_done";
  241. status = "disabled";
  242. };
  243. };
  244. };