bcm6328.dtsi 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. / {
  2. #address-cells = <1>;
  3. #size-cells = <1>;
  4. compatible = "brcm,bcm6328";
  5. aliases {
  6. pinctrl = &pinctrl;
  7. serial0 = &uart0;
  8. serial1 = &uart1;
  9. spi1 = &hsspi;
  10. };
  11. cpus {
  12. #address-cells = <1>;
  13. #size-cells = <0>;
  14. cpu@0 {
  15. compatible = "brcm,bmips4350", "mips,mips4Kc";
  16. device_type = "cpu";
  17. reg = <0>;
  18. };
  19. };
  20. cpu_intc: interrupt-controller {
  21. #address-cells = <0>;
  22. compatible = "mti,cpu-interrupt-controller";
  23. interrupt-controller;
  24. #interrupt-cells = <1>;
  25. };
  26. memory { device_type = "memory"; reg = <0 0>; };
  27. ubus@10000000 {
  28. #address-cells = <1>;
  29. #size-cells = <1>;
  30. ranges;
  31. compatible = "simple-bus";
  32. interrupt-parent = <&periph_intc>;
  33. ext_intc: interrupt-controller@10000018 {
  34. compatible = "brcm,bcm6345-ext-intc";
  35. reg = <0x10000018 0x4>;
  36. interrupt-controller;
  37. #interrupt-cells = <2>;
  38. interrupts = <24>, <25>, <26>, <27>;
  39. };
  40. periph_intc: interrupt-controller@10000020 {
  41. compatible = "brcm,bcm6345-l1-intc";
  42. reg = <0x10000020 0x10>;
  43. interrupt-controller;
  44. #interrupt-cells = <1>;
  45. interrupt-parent = <&cpu_intc>;
  46. interrupts = <2>;
  47. };
  48. pinctrl: pin-controller@10000080 {
  49. compatible = "brcm,bcm6328-pinctrl";
  50. reg = <0x10000080 0x8>,
  51. <0x10000088 0x8>,
  52. <0x10000098 0x4>,
  53. <0x1000009c 0xc>;
  54. reg-names = "dirout", "dat", "mode", "mux";
  55. gpio-controller;
  56. #gpio-cells = <2>;
  57. interrupt-parent = <&ext_intc>;
  58. interrupts = <3 0>, <2 0>, <0 0>, <1 0>;
  59. interrupt-names = "gpio12", "gpio15",
  60. "gpio23", "gpio24";
  61. pinctrl_serial_led: serial_led {
  62. pinctrl_serial_led_data: serial_led_data {
  63. function = "serial_led_data";
  64. pins = "gpio6";
  65. };
  66. pinctrl_serial_led_clk: serial_led_clk {
  67. function = "serial_led_clk";
  68. pins = "gpio7";
  69. };
  70. };
  71. pinctrl_inet_act_led: inet_act_led {
  72. function = "inet_act_led";
  73. pins = "gpio11";
  74. };
  75. pinctrl_pcie_clkreq: pcie_clkreq {
  76. function = "pcie_clkreq";
  77. pins = "gpio16";
  78. };
  79. pinctrl_ephy0_spd_led: ephy0_spd_led {
  80. function = "led";
  81. pins = "gpio17";
  82. };
  83. pinctrl_ephy1_spd_led: ephy1_spd_led {
  84. function = "led";
  85. pins = "gpio18";
  86. };
  87. pinctrl_ephy2_spd_led: ephy2_spd_led {
  88. function = "led";
  89. pins = "gpio19";
  90. };
  91. pinctrl_ephy3_spd_led: ephy3_spd_led {
  92. function = "led";
  93. pins = "gpio20";
  94. };
  95. pinctrl_ephy0_act_led: ephy0_act_led {
  96. function = "ephy0_act_led";
  97. pins = "gpio25";
  98. };
  99. pinctrl_ephy1_act_led: ephy1_act_led {
  100. function = "ephy1_act_led";
  101. pins = "gpio26";
  102. };
  103. pinctrl_ephy2_act_led: ephy2_act_led {
  104. function = "ephy2_act_led";
  105. pins = "gpio27";
  106. };
  107. pinctrl_ephy3_act_led: ephy3_act_led {
  108. function = "ephy3_act_led";
  109. pins = "gpio28";
  110. };
  111. pinctrl_hsspi_cs1: hsspi_cs1 {
  112. function = "hsspi_cs1";
  113. pins = "hsspi_cs1";
  114. };
  115. pinctrl_usb_port1_device: usb_port1_device {
  116. function = "usb_device_port";
  117. pins = "usb_port1";
  118. };
  119. pinctrl_usb_port1_host: usb_port1_host {
  120. function = "usb_host_port";
  121. pins = "usb_port1";
  122. };
  123. };
  124. uart0: serial@10000100 {
  125. compatible = "brcm,bcm6345-uart";
  126. reg = <0x10000100 0x18>;
  127. interrupt-parent = <&periph_intc>;
  128. interrupts = <28>;
  129. /* clocks = <&periph_clk>; */
  130. /* clock-names = "refclk"; */
  131. status = "disabled";
  132. };
  133. uart1: serial@10000120 {
  134. compatible = "brcm,bcm6345-uart";
  135. reg = <0x10000120 0x18>;
  136. interrupt-parent = <&periph_intc>;
  137. interrupts = <39>;
  138. /* clocks = <&periph_clk>; */
  139. /* clock-names = "refclk"; */
  140. status = "disabled";
  141. };
  142. leds: led-controller@10000800 {
  143. #address-cells = <1>;
  144. #size-cells = <0>;
  145. compatible = "brcm,bcm6328-leds";
  146. reg = <0x10000800 0x24>;
  147. status = "disabled";
  148. };
  149. hsspi: spi@10001000 {
  150. #address-cells = <1>;
  151. #size-cells = <0>;
  152. compatible = "brcm,bcm6328-hsspi";
  153. reg = <0x10001000 0x600>;
  154. interrupts = <29>;
  155. /* clocks = <&clkctl 9>; */
  156. };
  157. };
  158. };