bcm7346.dtsi 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444
  1. / {
  2. #address-cells = <1>;
  3. #size-cells = <1>;
  4. compatible = "brcm,bcm7346";
  5. cpus {
  6. #address-cells = <1>;
  7. #size-cells = <0>;
  8. mips-hpt-frequency = <163125000>;
  9. cpu@0 {
  10. compatible = "brcm,bmips5000";
  11. device_type = "cpu";
  12. reg = <0>;
  13. };
  14. cpu@1 {
  15. compatible = "brcm,bmips5000";
  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 = <51>;
  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 = <0x673>;
  69. brcm,gisb-arb-master-names = "ssp_0", "cpu_0", "bsp_0",
  70. "rdc_0", "raaga_0",
  71. "jtag_0", "svd_0";
  72. };
  73. upg_irq0_intc: interrupt-controller@406780 {
  74. compatible = "brcm,bcm7120-l2-intc";
  75. reg = <0x406780 0x8>;
  76. brcm,int-map-mask = <0x44>, <0xf000000>;
  77. brcm,int-fwd-mask = <0x70000>;
  78. interrupt-controller;
  79. #interrupt-cells = <1>;
  80. interrupt-parent = <&periph_intc>;
  81. interrupts = <59>, <57>;
  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 = <60>, <58>, <62>;
  94. interrupt-names = "upg_main_aon", "upg_bsc_aon",
  95. "upg_spi";
  96. };
  97. sun_top_ctrl: syscon@404000 {
  98. compatible = "brcm,bcm7346-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@406900 {
  107. compatible = "ns16550a";
  108. reg = <0x406900 0x20>;
  109. reg-io-width = <0x4>;
  110. reg-shift = <0x2>;
  111. native-endian;
  112. interrupt-parent = <&periph_intc>;
  113. interrupts = <64>;
  114. clocks = <&uart_clk>;
  115. status = "disabled";
  116. };
  117. uart1: serial@406940 {
  118. compatible = "ns16550a";
  119. reg = <0x406940 0x20>;
  120. reg-io-width = <0x4>;
  121. reg-shift = <0x2>;
  122. native-endian;
  123. interrupt-parent = <&periph_intc>;
  124. interrupts = <65>;
  125. clocks = <&uart_clk>;
  126. status = "disabled";
  127. };
  128. uart2: serial@406980 {
  129. compatible = "ns16550a";
  130. reg = <0x406980 0x20>;
  131. reg-io-width = <0x4>;
  132. reg-shift = <0x2>;
  133. native-endian;
  134. interrupt-parent = <&periph_intc>;
  135. interrupts = <66>;
  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. bscc: i2c@406300 {
  158. clock-frequency = <390000>;
  159. compatible = "brcm,brcmstb-i2c";
  160. interrupt-parent = <&upg_irq0_intc>;
  161. reg = <0x406300 0x58>;
  162. interrupts = <26>;
  163. interrupt-names = "upg_bscc";
  164. status = "disabled";
  165. };
  166. bscd: i2c@406380 {
  167. clock-frequency = <390000>;
  168. compatible = "brcm,brcmstb-i2c";
  169. interrupt-parent = <&upg_irq0_intc>;
  170. reg = <0x406380 0x58>;
  171. interrupts = <27>;
  172. interrupt-names = "upg_bscd";
  173. status = "disabled";
  174. };
  175. bsce: i2c@408980 {
  176. clock-frequency = <390000>;
  177. compatible = "brcm,brcmstb-i2c";
  178. interrupt-parent = <&upg_aon_irq0_intc>;
  179. reg = <0x408980 0x58>;
  180. interrupts = <27>;
  181. interrupt-names = "upg_bsce";
  182. status = "disabled";
  183. };
  184. pwma: pwm@406580 {
  185. compatible = "brcm,bcm7038-pwm";
  186. reg = <0x406580 0x28>;
  187. #pwm-cells = <2>;
  188. clocks = <&upg_clk>;
  189. status = "disabled";
  190. };
  191. pwmb: pwm@406800 {
  192. compatible = "brcm,bcm7038-pwm";
  193. reg = <0x406800 0x28>;
  194. #pwm-cells = <2>;
  195. clocks = <&upg_clk>;
  196. status = "disabled";
  197. };
  198. aon_pm_l2_intc: interrupt-controller@408440 {
  199. compatible = "brcm,l2-intc";
  200. reg = <0x408440 0x30>;
  201. interrupt-controller;
  202. #interrupt-cells = <1>;
  203. interrupt-parent = <&periph_intc>;
  204. interrupts = <53>;
  205. brcm,irq-can-wake;
  206. };
  207. upg_gio: gpio@406700 {
  208. compatible = "brcm,brcmstb-gpio";
  209. reg = <0x406700 0x60>;
  210. #gpio-cells = <2>;
  211. #interrupt-cells = <2>;
  212. gpio-controller;
  213. interrupt-controller;
  214. interrupt-parent = <&upg_irq0_intc>;
  215. interrupts = <6>;
  216. brcm,gpio-bank-widths = <32 32 16>;
  217. };
  218. upg_gio_aon: gpio@408c00 {
  219. compatible = "brcm,brcmstb-gpio";
  220. reg = <0x408c00 0x60>;
  221. #gpio-cells = <2>;
  222. #interrupt-cells = <2>;
  223. gpio-controller;
  224. interrupt-controller;
  225. interrupt-parent = <&upg_aon_irq0_intc>;
  226. interrupts = <6>;
  227. interrupts-extended = <&upg_aon_irq0_intc 6>,
  228. <&aon_pm_l2_intc 5>;
  229. wakeup-source;
  230. brcm,gpio-bank-widths = <27 32 2>;
  231. };
  232. enet0: ethernet@430000 {
  233. phy-mode = "internal";
  234. phy-handle = <&phy1>;
  235. mac-address = [ 00 10 18 36 23 1a ];
  236. compatible = "brcm,genet-v2";
  237. #address-cells = <0x1>;
  238. #size-cells = <0x1>;
  239. reg = <0x430000 0x4c8c>;
  240. interrupts = <24>, <25>;
  241. interrupt-parent = <&periph_intc>;
  242. status = "disabled";
  243. mdio@e14 {
  244. compatible = "brcm,genet-mdio-v2";
  245. #address-cells = <0x1>;
  246. #size-cells = <0x0>;
  247. reg = <0xe14 0x8>;
  248. phy1: ethernet-phy@1 {
  249. max-speed = <100>;
  250. reg = <0x1>;
  251. compatible = "brcm,40nm-ephy",
  252. "ethernet-phy-ieee802.3-c22";
  253. };
  254. };
  255. };
  256. ehci0: usb@480300 {
  257. compatible = "brcm,bcm7346-ehci", "generic-ehci";
  258. reg = <0x480300 0x100>;
  259. native-endian;
  260. interrupt-parent = <&periph_intc>;
  261. interrupts = <68>;
  262. status = "disabled";
  263. };
  264. ohci0: usb@480400 {
  265. compatible = "brcm,bcm7346-ohci", "generic-ohci";
  266. reg = <0x480400 0x100>;
  267. native-endian;
  268. no-big-frame-no;
  269. interrupt-parent = <&periph_intc>;
  270. interrupts = <70>;
  271. status = "disabled";
  272. };
  273. ehci1: usb@480500 {
  274. compatible = "brcm,bcm7346-ehci", "generic-ehci";
  275. reg = <0x480500 0x100>;
  276. native-endian;
  277. interrupt-parent = <&periph_intc>;
  278. interrupts = <69>;
  279. status = "disabled";
  280. };
  281. ohci1: usb@480600 {
  282. compatible = "brcm,bcm7346-ohci", "generic-ohci";
  283. reg = <0x480600 0x100>;
  284. native-endian;
  285. no-big-frame-no;
  286. interrupt-parent = <&periph_intc>;
  287. interrupts = <71>;
  288. status = "disabled";
  289. };
  290. ehci2: usb@490300 {
  291. compatible = "brcm,bcm7346-ehci", "generic-ehci";
  292. reg = <0x490300 0x100>;
  293. native-endian;
  294. interrupt-parent = <&periph_intc>;
  295. interrupts = <73>;
  296. status = "disabled";
  297. };
  298. ohci2: usb@490400 {
  299. compatible = "brcm,bcm7346-ohci", "generic-ohci";
  300. reg = <0x490400 0x100>;
  301. native-endian;
  302. no-big-frame-no;
  303. interrupt-parent = <&periph_intc>;
  304. interrupts = <75>;
  305. status = "disabled";
  306. };
  307. ehci3: usb@490500 {
  308. compatible = "brcm,bcm7346-ehci", "generic-ehci";
  309. reg = <0x490500 0x100>;
  310. native-endian;
  311. interrupt-parent = <&periph_intc>;
  312. interrupts = <74>;
  313. status = "disabled";
  314. };
  315. ohci3: usb@490600 {
  316. compatible = "brcm,bcm7346-ohci", "generic-ohci";
  317. reg = <0x490600 0x100>;
  318. native-endian;
  319. no-big-frame-no;
  320. interrupt-parent = <&periph_intc>;
  321. interrupts = <76>;
  322. status = "disabled";
  323. };
  324. hif_l2_intc: interrupt-controller@411000 {
  325. compatible = "brcm,l2-intc";
  326. reg = <0x411000 0x30>;
  327. interrupt-controller;
  328. #interrupt-cells = <1>;
  329. interrupt-parent = <&periph_intc>;
  330. interrupts = <30>;
  331. };
  332. nand: nand@412800 {
  333. compatible = "brcm,brcmnand-v5.0", "brcm,brcmnand";
  334. #address-cells = <1>;
  335. #size-cells = <0>;
  336. reg-names = "nand";
  337. reg = <0x412800 0x400>;
  338. interrupt-parent = <&hif_l2_intc>;
  339. interrupts = <24>;
  340. status = "disabled";
  341. };
  342. sata: sata@181000 {
  343. compatible = "brcm,bcm7425-ahci", "brcm,sata3-ahci";
  344. reg-names = "ahci", "top-ctrl";
  345. reg = <0x181000 0xa9c>, <0x180020 0x1c>;
  346. interrupt-parent = <&periph_intc>;
  347. interrupts = <40>;
  348. #address-cells = <1>;
  349. #size-cells = <0>;
  350. status = "disabled";
  351. sata0: sata-port@0 {
  352. reg = <0>;
  353. phys = <&sata_phy0>;
  354. };
  355. sata1: sata-port@1 {
  356. reg = <1>;
  357. phys = <&sata_phy1>;
  358. };
  359. };
  360. sata_phy: sata-phy@180100 {
  361. compatible = "brcm,bcm7425-sata-phy", "brcm,phy-sata3";
  362. reg = <0x180100 0x0eff>;
  363. reg-names = "phy";
  364. #address-cells = <1>;
  365. #size-cells = <0>;
  366. status = "disabled";
  367. sata_phy0: sata-phy@0 {
  368. reg = <0>;
  369. #phy-cells = <0>;
  370. };
  371. sata_phy1: sata-phy@1 {
  372. reg = <1>;
  373. #phy-cells = <0>;
  374. };
  375. };
  376. sdhci0: sdhci@413500 {
  377. compatible = "brcm,bcm7425-sdhci";
  378. reg = <0x413500 0x100>;
  379. interrupt-parent = <&periph_intc>;
  380. interrupts = <85>;
  381. status = "disabled";
  382. };
  383. };
  384. };