bcm7362.dtsi 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. / {
  2. #address-cells = <1>;
  3. #size-cells = <1>;
  4. compatible = "brcm,bcm7362";
  5. cpus {
  6. #address-cells = <1>;
  7. #size-cells = <0>;
  8. mips-hpt-frequency = <375000000>;
  9. cpu@0 {
  10. compatible = "brcm,bmips4380";
  11. device_type = "cpu";
  12. reg = <0>;
  13. };
  14. cpu@1 {
  15. compatible = "brcm,bmips4380";
  16. device_type = "cpu";
  17. reg = <1>;
  18. };
  19. };
  20. aliases {
  21. uart0 = &uart0;
  22. };
  23. cpu_intc: interrupt-controller {
  24. #address-cells = <0>;
  25. compatible = "mti,cpu-interrupt-controller";
  26. interrupt-controller;
  27. #interrupt-cells = <1>;
  28. };
  29. clocks {
  30. uart_clk: uart_clk {
  31. compatible = "fixed-clock";
  32. #clock-cells = <0>;
  33. clock-frequency = <81000000>;
  34. };
  35. upg_clk: upg_clk {
  36. compatible = "fixed-clock";
  37. #clock-cells = <0>;
  38. clock-frequency = <27000000>;
  39. };
  40. };
  41. rdb {
  42. #address-cells = <1>;
  43. #size-cells = <1>;
  44. compatible = "simple-bus";
  45. ranges = <0 0x10000000 0x01000000>;
  46. periph_intc: interrupt-controller@411400 {
  47. compatible = "brcm,bcm7038-l1-intc";
  48. reg = <0x411400 0x30>, <0x411600 0x30>;
  49. interrupt-controller;
  50. #interrupt-cells = <1>;
  51. interrupt-parent = <&cpu_intc>;
  52. interrupts = <2>, <3>;
  53. };
  54. sun_l2_intc: interrupt-controller@403000 {
  55. compatible = "brcm,l2-intc";
  56. reg = <0x403000 0x30>;
  57. interrupt-controller;
  58. #interrupt-cells = <1>;
  59. interrupt-parent = <&periph_intc>;
  60. interrupts = <48>;
  61. };
  62. gisb-arb@400000 {
  63. compatible = "brcm,bcm7400-gisb-arb";
  64. reg = <0x400000 0xdc>;
  65. native-endian;
  66. interrupt-parent = <&sun_l2_intc>;
  67. interrupts = <0>, <2>;
  68. brcm,gisb-arb-master-mask = <0x2f3>;
  69. brcm,gisb-arb-master-names = "ssp_0", "cpu_0", "bsp_0",
  70. "rdc_0", "raaga_0",
  71. "avd_0", "jtag_0";
  72. };
  73. upg_irq0_intc: interrupt-controller@406600 {
  74. compatible = "brcm,bcm7120-l2-intc";
  75. reg = <0x406600 0x8>;
  76. brcm,int-map-mask = <0x44>, <0x7000000>;
  77. brcm,int-fwd-mask = <0x70000>;
  78. interrupt-controller;
  79. #interrupt-cells = <1>;
  80. interrupt-parent = <&periph_intc>;
  81. interrupts = <56>, <54>;
  82. interrupt-names = "upg_main", "upg_bsc";
  83. };
  84. upg_aon_irq0_intc: interrupt-controller@408b80 {
  85. compatible = "brcm,bcm7120-l2-intc";
  86. reg = <0x408b80 0x8>;
  87. brcm,int-map-mask = <0x40>, <0x8000000>, <0x100000>;
  88. brcm,int-fwd-mask = <0>;
  89. brcm,irq-can-wake;
  90. interrupt-controller;
  91. #interrupt-cells = <1>;
  92. interrupt-parent = <&periph_intc>;
  93. interrupts = <57>, <55>, <59>;
  94. interrupt-names = "upg_main_aon", "upg_bsc_aon",
  95. "upg_spi";
  96. };
  97. sun_top_ctrl: syscon@404000 {
  98. compatible = "brcm,bcm7362-sun-top-ctrl", "syscon";
  99. reg = <0x404000 0x51c>;
  100. native-endian;
  101. };
  102. reboot {
  103. compatible = "brcm,brcmstb-reboot";
  104. syscon = <&sun_top_ctrl 0x304 0x308>;
  105. };
  106. uart0: serial@406800 {
  107. compatible = "ns16550a";
  108. reg = <0x406800 0x20>;
  109. reg-io-width = <0x4>;
  110. reg-shift = <0x2>;
  111. native-endian;
  112. interrupt-parent = <&periph_intc>;
  113. interrupts = <61>;
  114. clocks = <&uart_clk>;
  115. status = "disabled";
  116. };
  117. uart1: serial@406840 {
  118. compatible = "ns16550a";
  119. reg = <0x406840 0x20>;
  120. reg-io-width = <0x4>;
  121. reg-shift = <0x2>;
  122. native-endian;
  123. interrupt-parent = <&periph_intc>;
  124. interrupts = <62>;
  125. clocks = <&uart_clk>;
  126. status = "disabled";
  127. };
  128. uart2: serial@406880 {
  129. compatible = "ns16550a";
  130. reg = <0x406880 0x20>;
  131. reg-io-width = <0x4>;
  132. reg-shift = <0x2>;
  133. native-endian;
  134. interrupt-parent = <&periph_intc>;
  135. interrupts = <63>;
  136. clocks = <&uart_clk>;
  137. status = "disabled";
  138. };
  139. bsca: i2c@406200 {
  140. clock-frequency = <390000>;
  141. compatible = "brcm,brcmstb-i2c";
  142. interrupt-parent = <&upg_irq0_intc>;
  143. reg = <0x406200 0x58>;
  144. interrupts = <24>;
  145. interrupt-names = "upg_bsca";
  146. status = "disabled";
  147. };
  148. bscb: i2c@406280 {
  149. clock-frequency = <390000>;
  150. compatible = "brcm,brcmstb-i2c";
  151. interrupt-parent = <&upg_irq0_intc>;
  152. reg = <0x406280 0x58>;
  153. interrupts = <25>;
  154. interrupt-names = "upg_bscb";
  155. status = "disabled";
  156. };
  157. bscd: i2c@408980 {
  158. clock-frequency = <390000>;
  159. compatible = "brcm,brcmstb-i2c";
  160. interrupt-parent = <&upg_aon_irq0_intc>;
  161. reg = <0x408980 0x58>;
  162. interrupts = <27>;
  163. interrupt-names = "upg_bscd";
  164. status = "disabled";
  165. };
  166. pwma: pwm@406400 {
  167. compatible = "brcm,bcm7038-pwm";
  168. reg = <0x406400 0x28>;
  169. #pwm-cells = <2>;
  170. clocks = <&upg_clk>;
  171. status = "disabled";
  172. };
  173. aon_pm_l2_intc: interrupt-controller@408440 {
  174. compatible = "brcm,l2-intc";
  175. reg = <0x408440 0x30>;
  176. interrupt-controller;
  177. #interrupt-cells = <1>;
  178. interrupt-parent = <&periph_intc>;
  179. interrupts = <50>;
  180. brcm,irq-can-wake;
  181. };
  182. upg_gio: gpio@406500 {
  183. compatible = "brcm,brcmstb-gpio";
  184. reg = <0x406500 0xa0>;
  185. #gpio-cells = <2>;
  186. #interrupt-cells = <2>;
  187. gpio-controller;
  188. interrupt-controller;
  189. interrupt-parent = <&upg_irq0_intc>;
  190. interrupts = <6>;
  191. brcm,gpio-bank-widths = <32 32 32 29 4>;
  192. };
  193. upg_gio_aon: gpio@408c00 {
  194. compatible = "brcm,brcmstb-gpio";
  195. reg = <0x408c00 0x60>;
  196. #gpio-cells = <2>;
  197. #interrupt-cells = <2>;
  198. gpio-controller;
  199. interrupt-controller;
  200. interrupt-parent = <&upg_aon_irq0_intc>;
  201. interrupts = <6>;
  202. interrupts-extended = <&upg_aon_irq0_intc 6>,
  203. <&aon_pm_l2_intc 5>;
  204. wakeup-source;
  205. brcm,gpio-bank-widths = <21 32 2>;
  206. };
  207. enet0: ethernet@430000 {
  208. phy-mode = "internal";
  209. phy-handle = <&phy1>;
  210. mac-address = [ 00 10 18 36 23 1a ];
  211. compatible = "brcm,genet-v2";
  212. #address-cells = <0x1>;
  213. #size-cells = <0x1>;
  214. reg = <0x430000 0x4c8c>;
  215. interrupts = <24>, <25>;
  216. interrupt-parent = <&periph_intc>;
  217. status = "disabled";
  218. mdio@e14 {
  219. compatible = "brcm,genet-mdio-v2";
  220. #address-cells = <0x1>;
  221. #size-cells = <0x0>;
  222. reg = <0xe14 0x8>;
  223. phy1: ethernet-phy@1 {
  224. max-speed = <100>;
  225. reg = <0x1>;
  226. compatible = "brcm,40nm-ephy",
  227. "ethernet-phy-ieee802.3-c22";
  228. };
  229. };
  230. };
  231. ehci0: usb@480300 {
  232. compatible = "brcm,bcm7362-ehci", "generic-ehci";
  233. reg = <0x480300 0x100>;
  234. native-endian;
  235. interrupt-parent = <&periph_intc>;
  236. interrupts = <65>;
  237. status = "disabled";
  238. };
  239. ohci0: usb@480400 {
  240. compatible = "brcm,bcm7362-ohci", "generic-ohci";
  241. reg = <0x480400 0x100>;
  242. native-endian;
  243. no-big-frame-no;
  244. interrupt-parent = <&periph_intc>;
  245. interrupts = <66>;
  246. status = "disabled";
  247. };
  248. hif_l2_intc: interrupt-controller@411000 {
  249. compatible = "brcm,l2-intc";
  250. reg = <0x411000 0x30>;
  251. interrupt-controller;
  252. #interrupt-cells = <1>;
  253. interrupt-parent = <&periph_intc>;
  254. interrupts = <30>;
  255. };
  256. nand: nand@412800 {
  257. compatible = "brcm,brcmnand-v5.0", "brcm,brcmnand";
  258. #address-cells = <1>;
  259. #size-cells = <0>;
  260. reg-names = "nand";
  261. reg = <0x412800 0x400>;
  262. interrupt-parent = <&hif_l2_intc>;
  263. interrupts = <24>;
  264. status = "disabled";
  265. };
  266. sata: sata@181000 {
  267. compatible = "brcm,bcm7425-ahci", "brcm,sata3-ahci";
  268. reg-names = "ahci", "top-ctrl";
  269. reg = <0x181000 0xa9c>, <0x180020 0x1c>;
  270. interrupt-parent = <&periph_intc>;
  271. interrupts = <86>;
  272. #address-cells = <1>;
  273. #size-cells = <0>;
  274. status = "disabled";
  275. sata0: sata-port@0 {
  276. reg = <0>;
  277. phys = <&sata_phy0>;
  278. };
  279. sata1: sata-port@1 {
  280. reg = <1>;
  281. phys = <&sata_phy1>;
  282. };
  283. };
  284. sata_phy: sata-phy@180100 {
  285. compatible = "brcm,bcm7425-sata-phy", "brcm,phy-sata3";
  286. reg = <0x180100 0x0eff>;
  287. reg-names = "phy";
  288. #address-cells = <1>;
  289. #size-cells = <0>;
  290. status = "disabled";
  291. sata_phy0: sata-phy@0 {
  292. reg = <0>;
  293. #phy-cells = <0>;
  294. };
  295. sata_phy1: sata-phy@1 {
  296. reg = <1>;
  297. #phy-cells = <0>;
  298. };
  299. };
  300. sdhci0: sdhci@410000 {
  301. compatible = "brcm,bcm7425-sdhci";
  302. reg = <0x410000 0x100>;
  303. interrupt-parent = <&periph_intc>;
  304. interrupts = <82>;
  305. status = "disabled";
  306. };
  307. };
  308. };