bcm7362.dtsi 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465
  1. // SPDX-License-Identifier: GPL-2.0
  2. / {
  3. #address-cells = <1>;
  4. #size-cells = <1>;
  5. compatible = "brcm,bcm7362";
  6. cpus {
  7. #address-cells = <1>;
  8. #size-cells = <0>;
  9. mips-hpt-frequency = <375000000>;
  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@411400 {
  48. compatible = "brcm,bcm7038-l1-intc";
  49. reg = <0x411400 0x30>, <0x411600 0x30>;
  50. interrupt-controller;
  51. #interrupt-cells = <1>;
  52. interrupt-parent = <&cpu_intc>;
  53. interrupts = <2>, <3>;
  54. };
  55. sun_l2_intc: interrupt-controller@403000 {
  56. compatible = "brcm,l2-intc";
  57. reg = <0x403000 0x30>;
  58. interrupt-controller;
  59. #interrupt-cells = <1>;
  60. interrupt-parent = <&periph_intc>;
  61. interrupts = <48>;
  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 = <0x2f3>;
  70. brcm,gisb-arb-master-names = "ssp_0", "cpu_0", "bsp_0",
  71. "rdc_0", "raaga_0",
  72. "avd_0", "jtag_0";
  73. };
  74. upg_irq0_intc: interrupt-controller@406600 {
  75. compatible = "brcm,bcm7120-l2-intc";
  76. reg = <0x406600 0x8>;
  77. brcm,int-map-mask = <0x44>, <0x7000000>;
  78. brcm,int-fwd-mask = <0x70000>;
  79. interrupt-controller;
  80. #interrupt-cells = <1>;
  81. interrupt-parent = <&periph_intc>;
  82. interrupts = <56>, <54>;
  83. interrupt-names = "upg_main", "upg_bsc";
  84. };
  85. upg_aon_irq0_intc: interrupt-controller@408b80 {
  86. compatible = "brcm,bcm7120-l2-intc";
  87. reg = <0x408b80 0x8>;
  88. brcm,int-map-mask = <0x40>, <0x8000000>, <0x100000>;
  89. brcm,int-fwd-mask = <0>;
  90. brcm,irq-can-wake;
  91. interrupt-controller;
  92. #interrupt-cells = <1>;
  93. interrupt-parent = <&periph_intc>;
  94. interrupts = <57>, <55>, <59>;
  95. interrupt-names = "upg_main_aon", "upg_bsc_aon",
  96. "upg_spi";
  97. };
  98. sun_top_ctrl: syscon@404000 {
  99. compatible = "brcm,bcm7362-sun-top-ctrl", "syscon";
  100. reg = <0x404000 0x51c>;
  101. native-endian;
  102. };
  103. reboot {
  104. compatible = "brcm,brcmstb-reboot";
  105. syscon = <&sun_top_ctrl 0x304 0x308>;
  106. };
  107. uart0: serial@406800 {
  108. compatible = "ns16550a";
  109. reg = <0x406800 0x20>;
  110. reg-io-width = <0x4>;
  111. reg-shift = <0x2>;
  112. native-endian;
  113. interrupt-parent = <&periph_intc>;
  114. interrupts = <61>;
  115. clocks = <&uart_clk>;
  116. status = "disabled";
  117. };
  118. uart1: serial@406840 {
  119. compatible = "ns16550a";
  120. reg = <0x406840 0x20>;
  121. reg-io-width = <0x4>;
  122. reg-shift = <0x2>;
  123. native-endian;
  124. interrupt-parent = <&periph_intc>;
  125. interrupts = <62>;
  126. clocks = <&uart_clk>;
  127. status = "disabled";
  128. };
  129. uart2: serial@406880 {
  130. compatible = "ns16550a";
  131. reg = <0x406880 0x20>;
  132. reg-io-width = <0x4>;
  133. reg-shift = <0x2>;
  134. native-endian;
  135. interrupt-parent = <&periph_intc>;
  136. interrupts = <63>;
  137. clocks = <&uart_clk>;
  138. status = "disabled";
  139. };
  140. bsca: i2c@406200 {
  141. clock-frequency = <390000>;
  142. compatible = "brcm,brcmstb-i2c";
  143. interrupt-parent = <&upg_irq0_intc>;
  144. reg = <0x406200 0x58>;
  145. interrupts = <24>;
  146. interrupt-names = "upg_bsca";
  147. status = "disabled";
  148. };
  149. bscb: i2c@406280 {
  150. clock-frequency = <390000>;
  151. compatible = "brcm,brcmstb-i2c";
  152. interrupt-parent = <&upg_irq0_intc>;
  153. reg = <0x406280 0x58>;
  154. interrupts = <25>;
  155. interrupt-names = "upg_bscb";
  156. status = "disabled";
  157. };
  158. bscd: i2c@408980 {
  159. clock-frequency = <390000>;
  160. compatible = "brcm,brcmstb-i2c";
  161. interrupt-parent = <&upg_aon_irq0_intc>;
  162. reg = <0x408980 0x58>;
  163. interrupts = <27>;
  164. interrupt-names = "upg_bscd";
  165. status = "disabled";
  166. };
  167. pwma: pwm@406400 {
  168. compatible = "brcm,bcm7038-pwm";
  169. reg = <0x406400 0x28>;
  170. #pwm-cells = <2>;
  171. clocks = <&upg_clk>;
  172. status = "disabled";
  173. };
  174. watchdog: watchdog@4066a8 {
  175. clocks = <&upg_clk>;
  176. compatible = "brcm,bcm7038-wdt";
  177. reg = <0x4066a8 0x14>;
  178. status = "disabled";
  179. };
  180. aon_pm_l2_intc: interrupt-controller@408440 {
  181. compatible = "brcm,l2-intc";
  182. reg = <0x408440 0x30>;
  183. interrupt-controller;
  184. #interrupt-cells = <1>;
  185. interrupt-parent = <&periph_intc>;
  186. interrupts = <50>;
  187. brcm,irq-can-wake;
  188. };
  189. aon_ctrl: syscon@408000 {
  190. compatible = "brcm,brcmstb-aon-ctrl";
  191. reg = <0x408000 0x100>, <0x408200 0x200>;
  192. reg-names = "aon-ctrl", "aon-sram";
  193. };
  194. timers: timer@406680 {
  195. compatible = "brcm,brcmstb-timers";
  196. reg = <0x406680 0x40>;
  197. };
  198. upg_gio: gpio@406500 {
  199. compatible = "brcm,brcmstb-gpio";
  200. reg = <0x406500 0xa0>;
  201. #gpio-cells = <2>;
  202. #interrupt-cells = <2>;
  203. gpio-controller;
  204. interrupt-controller;
  205. interrupt-parent = <&upg_irq0_intc>;
  206. interrupts = <6>;
  207. brcm,gpio-bank-widths = <32 32 32 29 4>;
  208. };
  209. upg_gio_aon: gpio@408c00 {
  210. compatible = "brcm,brcmstb-gpio";
  211. reg = <0x408c00 0x60>;
  212. #gpio-cells = <2>;
  213. #interrupt-cells = <2>;
  214. gpio-controller;
  215. interrupt-controller;
  216. interrupt-parent = <&upg_aon_irq0_intc>;
  217. interrupts = <6>;
  218. interrupts-extended = <&upg_aon_irq0_intc 6>,
  219. <&aon_pm_l2_intc 5>;
  220. wakeup-source;
  221. brcm,gpio-bank-widths = <21 32 2>;
  222. };
  223. enet0: ethernet@430000 {
  224. phy-mode = "internal";
  225. phy-handle = <&phy1>;
  226. mac-address = [ 00 10 18 36 23 1a ];
  227. compatible = "brcm,genet-v2";
  228. #address-cells = <0x1>;
  229. #size-cells = <0x1>;
  230. reg = <0x430000 0x4c8c>;
  231. interrupts = <24>, <25>;
  232. interrupt-parent = <&periph_intc>;
  233. status = "disabled";
  234. mdio@e14 {
  235. compatible = "brcm,genet-mdio-v2";
  236. #address-cells = <0x1>;
  237. #size-cells = <0x0>;
  238. reg = <0xe14 0x8>;
  239. phy1: ethernet-phy@1 {
  240. max-speed = <100>;
  241. reg = <0x1>;
  242. compatible = "brcm,40nm-ephy",
  243. "ethernet-phy-ieee802.3-c22";
  244. };
  245. };
  246. };
  247. ehci0: usb@480300 {
  248. compatible = "brcm,bcm7362-ehci", "generic-ehci";
  249. reg = <0x480300 0x100>;
  250. native-endian;
  251. interrupt-parent = <&periph_intc>;
  252. interrupts = <65>;
  253. status = "disabled";
  254. };
  255. ohci0: usb@480400 {
  256. compatible = "brcm,bcm7362-ohci", "generic-ohci";
  257. reg = <0x480400 0x100>;
  258. native-endian;
  259. no-big-frame-no;
  260. interrupt-parent = <&periph_intc>;
  261. interrupts = <66>;
  262. status = "disabled";
  263. };
  264. hif_l2_intc: interrupt-controller@411000 {
  265. compatible = "brcm,l2-intc";
  266. reg = <0x411000 0x30>;
  267. interrupt-controller;
  268. #interrupt-cells = <1>;
  269. interrupt-parent = <&periph_intc>;
  270. interrupts = <30>;
  271. };
  272. nand: nand@412800 {
  273. compatible = "brcm,brcmnand-v5.0", "brcm,brcmnand";
  274. #address-cells = <1>;
  275. #size-cells = <0>;
  276. reg-names = "nand";
  277. reg = <0x412800 0x400>;
  278. interrupt-parent = <&hif_l2_intc>;
  279. interrupts = <24>;
  280. status = "disabled";
  281. };
  282. sata: sata@181000 {
  283. compatible = "brcm,bcm7425-ahci", "brcm,sata3-ahci";
  284. reg-names = "ahci", "top-ctrl";
  285. reg = <0x181000 0xa9c>, <0x180020 0x1c>;
  286. interrupt-parent = <&periph_intc>;
  287. interrupts = <86>;
  288. #address-cells = <1>;
  289. #size-cells = <0>;
  290. status = "disabled";
  291. sata0: sata-port@0 {
  292. reg = <0>;
  293. phys = <&sata_phy0>;
  294. };
  295. sata1: sata-port@1 {
  296. reg = <1>;
  297. phys = <&sata_phy1>;
  298. };
  299. };
  300. sata_phy: sata-phy@180100 {
  301. compatible = "brcm,bcm7425-sata-phy", "brcm,phy-sata3";
  302. reg = <0x180100 0x0eff>;
  303. reg-names = "phy";
  304. #address-cells = <1>;
  305. #size-cells = <0>;
  306. status = "disabled";
  307. sata_phy0: sata-phy@0 {
  308. reg = <0>;
  309. #phy-cells = <0>;
  310. };
  311. sata_phy1: sata-phy@1 {
  312. reg = <1>;
  313. #phy-cells = <0>;
  314. };
  315. };
  316. sdhci0: sdhci@410000 {
  317. compatible = "brcm,bcm7425-sdhci";
  318. reg = <0x410000 0x100>;
  319. interrupt-parent = <&periph_intc>;
  320. interrupts = <82>;
  321. status = "disabled";
  322. };
  323. spi_l2_intc: interrupt-controller@411d00 {
  324. compatible = "brcm,l2-intc";
  325. reg = <0x411d00 0x30>;
  326. interrupt-controller;
  327. #interrupt-cells = <1>;
  328. interrupt-parent = <&periph_intc>;
  329. interrupts = <31>;
  330. };
  331. qspi: spi@413000 {
  332. #address-cells = <0x1>;
  333. #size-cells = <0x0>;
  334. compatible = "brcm,spi-bcm-qspi",
  335. "brcm,spi-brcmstb-qspi";
  336. clocks = <&upg_clk>;
  337. reg = <0x410920 0x4 0x413200 0x188 0x413000 0x50>;
  338. reg-names = "cs_reg", "hif_mspi", "bspi";
  339. interrupts = <0x0 0x1 0x2 0x3 0x4 0x5 0x6>;
  340. interrupt-parent = <&spi_l2_intc>;
  341. interrupt-names = "spi_lr_fullness_reached",
  342. "spi_lr_session_aborted",
  343. "spi_lr_impatient",
  344. "spi_lr_session_done",
  345. "spi_lr_overread",
  346. "mspi_done",
  347. "mspi_halted";
  348. status = "disabled";
  349. };
  350. mspi: spi@408a00 {
  351. #address-cells = <1>;
  352. #size-cells = <0>;
  353. compatible = "brcm,spi-bcm-qspi",
  354. "brcm,spi-brcmstb-mspi";
  355. clocks = <&upg_clk>;
  356. reg = <0x408a00 0x180>;
  357. reg-names = "mspi";
  358. interrupts = <0x14>;
  359. interrupt-parent = <&upg_aon_irq0_intc>;
  360. interrupt-names = "mspi_done";
  361. status = "disabled";
  362. };
  363. waketimer: waketimer@408e80 {
  364. compatible = "brcm,brcmstb-waketimer";
  365. reg = <0x408e80 0x14>;
  366. interrupts = <0x3>;
  367. interrupt-parent = <&aon_pm_l2_intc>;
  368. interrupt-names = "timer";
  369. clocks = <&upg_clk>;
  370. status = "disabled";
  371. };
  372. };
  373. memory_controllers {
  374. compatible = "simple-bus";
  375. ranges = <0x0 0x103b0000 0xa000>;
  376. #address-cells = <1>;
  377. #size-cells = <1>;
  378. memory-controller@0 {
  379. compatible = "brcm,brcmstb-memc", "simple-bus";
  380. ranges = <0x0 0x0 0xa000>;
  381. #address-cells = <1>;
  382. #size-cells = <1>;
  383. memc-arb@1000 {
  384. compatible = "brcm,brcmstb-memc-arb";
  385. reg = <0x1000 0x248>;
  386. };
  387. memc-ddr@2000 {
  388. compatible = "brcm,brcmstb-memc-ddr";
  389. reg = <0x2000 0x300>;
  390. };
  391. ddr-phy@6000 {
  392. compatible = "brcm,brcmstb-ddr-phy";
  393. reg = <0x6000 0xc8>;
  394. };
  395. shimphy@8000 {
  396. compatible = "brcm,brcmstb-ddr-shimphy";
  397. reg = <0x8000 0x13c>;
  398. };
  399. };
  400. };
  401. };