bcm6362.dtsi 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. / {
  2. #address-cells = <1>;
  3. #size-cells = <1>;
  4. compatible = "brcm,bcm6362";
  5. aliases {
  6. pinctrl = &pinctrl;
  7. serial0 = &uart0;
  8. serial1 = &uart1;
  9. spi0 = &lsspi;
  10. spi1 = &hsspi;
  11. };
  12. cpus {
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. cpu@0 {
  16. compatible = "brcm,bmips4350", "mips,mips4Kc";
  17. device_type = "cpu";
  18. reg = <0>;
  19. };
  20. cpu@1 {
  21. compatible = "brcm,bmips4350", "mips,mips4Kc";
  22. device_type = "cpu";
  23. reg = <1>;
  24. };
  25. };
  26. cpu_intc: interrupt-controller {
  27. #address-cells = <0>;
  28. compatible = "mti,cpu-interrupt-controller";
  29. interrupt-controller;
  30. #interrupt-cells = <1>;
  31. };
  32. memory { device_type = "memory"; reg = <0 0>; };
  33. ubus@10000000 {
  34. #address-cells = <1>;
  35. #size-cells = <1>;
  36. ranges;
  37. compatible = "simple-bus";
  38. interrupt-parent = <&periph_intc>;
  39. ext_intc: interrupt-controller@10000018 {
  40. compatible = "brcm,bcm6345-ext-intc";
  41. reg = <0x10000018 0x4>;
  42. interrupt-controller;
  43. #interrupt-cells = <2>;
  44. interrupts = <40>, <41>, <42>, <43>;
  45. };
  46. periph_intc: interrupt-controller@10000020 {
  47. compatible = "brcm,bcm6345-l1-intc";
  48. reg = <0x10000020 0x10>,
  49. <0x10000030 0x10>;
  50. interrupt-controller;
  51. #interrupt-cells = <1>;
  52. interrupt-parent = <&cpu_intc>;
  53. interrupts = <2>, <3>;
  54. };
  55. pinctrl: pin-controller@10000080 {
  56. compatible = "brcm,bcm6362-pinctrl";
  57. reg = <0x10000080 0x8>,
  58. <0x10000088 0x8>,
  59. <0x10000090 0x4>,
  60. <0x10000098 0x4>,
  61. <0x1000009c 0x4>,
  62. <0x100000b8 0x4>;
  63. reg-names = "dirout", "dat", "led",
  64. "mode", "ctrl", "basemode";
  65. gpio-controller;
  66. #gpio-cells = <2>;
  67. interrupt-parent = <&ext_intc>;
  68. interrupts = <0 0>, <1 0>, <2 0>, <3 0>;
  69. interrupt-names = "gpio24", "gpio25",
  70. "gpio26", "gpio27";
  71. pinctrl_usb_device_led: usb_device_led {
  72. function = "usb_device_led";
  73. pins = "gpio0";
  74. };
  75. pinctrl_sys_irq: sys_irq {
  76. function = "sys_irq";
  77. pins = "gpio1";
  78. };
  79. pinctrl_serial_led: serial_led {
  80. pinctrl_serial_led_clk: serial_led_clk {
  81. function = "serial_led_clk";
  82. pins = "gpio2";
  83. };
  84. pinctrl_serial_led_data: serial_led_data {
  85. function = "serial_led_data";
  86. pins = "gpio3";
  87. };
  88. };
  89. pinctrl_robosw_led_data: robosw_led_data {
  90. function = "robosw_led_data";
  91. pins = "gpio4";
  92. };
  93. pinctrl_robosw_led_clk: robosw_led_clk {
  94. function = "robosw_led_clk";
  95. pins = "gpio5";
  96. };
  97. pinctrl_robosw_led0: robosw_led0 {
  98. function = "robosw_led0";
  99. pins = "gpio6";
  100. };
  101. pinctrl_robosw_led1: robosw_led1 {
  102. function = "robosw_led1";
  103. pins = "gpio7";
  104. };
  105. pinctrl_inet_led: inet_led {
  106. function = "inet_led";
  107. pins = "gpio8";
  108. };
  109. pinctrl_spi_cs2: spi_cs2 {
  110. function = "spi_cs2";
  111. pins = "gpio9";
  112. };
  113. pinctrl_spi_cs3: spi_cs3 {
  114. function = "spi_cs3";
  115. pins = "gpio10";
  116. };
  117. pinctrl_ntr_pulse: ntr_pulse {
  118. function = "ntr_pulse";
  119. pins = "gpio11";
  120. };
  121. pinctrl_uart1_scts: uart1_scts {
  122. function = "uart1_scts";
  123. pins = "gpio12";
  124. };
  125. pinctrl_uart1_srts: uart1_srts {
  126. function = "uart1_srts";
  127. pins = "gpio13";
  128. };
  129. pinctrl_uart1: uart1 {
  130. pinctrl_uart1_sdin: uart1_sdin {
  131. function = "uart1_sdin";
  132. pins = "gpio14";
  133. };
  134. pinctrl_uart1_sdout: uart1_sdout {
  135. function = "uart1_sdout";
  136. pins = "gpio15";
  137. };
  138. };
  139. pinctrl_adsl_spi: adsl_spi {
  140. pinctrl_adsl_spi_miso: adsl_spi_miso {
  141. function = "adsl_spi_miso";
  142. pins = "gpio16";
  143. };
  144. pinctrl_adsl_spi_mosi: adsl_spi_mosi {
  145. function = "adsl_spi_mosi";
  146. pins = "gpio17";
  147. };
  148. pinctrl_adsl_spi_clk: adsl_spi_clk {
  149. function = "adsl_spi_clk";
  150. pins = "gpio18";
  151. };
  152. pinctrl_adsl_spi_cs: adsl_spi_cs {
  153. function = "adsl_spi_cs";
  154. pins = "gpio19";
  155. };
  156. };
  157. pinctrl_ephy0_led: ephy0_led {
  158. function = "ephy0_led";
  159. pins = "gpio20";
  160. };
  161. pinctrl_ephy1_led: ephy1_led {
  162. function = "ephy1_led";
  163. pins = "gpio21";
  164. };
  165. pinctrl_ephy2_led: ephy2_led {
  166. function = "ephy2_led";
  167. pins = "gpio22";
  168. };
  169. pinctrl_ephy3_led: ephy3_led {
  170. function = "ephy3_led";
  171. pins = "gpio23";
  172. };
  173. pinctrl_ext_irq0: ext_irq0 {
  174. function = "ext_irq0";
  175. pins = "gpio24";
  176. };
  177. pinctrl_ext_irq1: ext_irq1 {
  178. function = "ext_irq1";
  179. pins = "gpio25";
  180. };
  181. pinctrl_ext_irq2: ext_irq2 {
  182. function = "ext_irq2";
  183. pins = "gpio26";
  184. };
  185. pinctrl_ext_irq3: ext_irq3 {
  186. function = "ext_irq3";
  187. pins = "gpio27";
  188. };
  189. pinctrl_nand: nand {
  190. function = "nand";
  191. group = "nand_grp";
  192. };
  193. };
  194. uart0: serial@10000100 {
  195. compatible = "brcm,bcm6345-uart";
  196. reg = <0x10000100 0x18>;
  197. interrupt-parent = <&periph_intc>;
  198. interrupts = <3>;
  199. /* clocks = <&periph_clk>; */
  200. /* clock-names = "refclk"; */
  201. status = "disabled";
  202. };
  203. uart1: serial@10000120 {
  204. compatible = "brcm,bcm6345-uart";
  205. reg = <0x10000120 0x18>;
  206. interrupt-parent = <&periph_intc>;
  207. interrupts = <4>;
  208. /* clocks = <&periph_clk>; */
  209. /* clock-names = "refclk"; */
  210. status = "disabled";
  211. };
  212. lsspi: spi@10000800 {
  213. #address-cells = <1>;
  214. #size-cells = <0>;
  215. compatible = "brcm,bcm6358-spi";
  216. reg = <0x10000800 0x70c>;
  217. interrupts = <2>;
  218. /* clocks = <&clkctl 15>; */
  219. };
  220. hsspi: spi@10001000 {
  221. #address-cells = <1>;
  222. #size-cells = <0>;
  223. compatible = "brcm,bcm6328-hsspi";
  224. reg = <0x10001000 0x600>;
  225. interrupts = <5>;
  226. /* clocks = <&clkctl 16>; */
  227. };
  228. leds: led-controller@10001900 {
  229. #address-cells = <1>;
  230. #size-cells = <0>;
  231. compatible = "brcm,bcm6328-leds";
  232. reg = <0x10001900 0x24>;
  233. status = "disabled";
  234. };
  235. };
  236. };