bcm63268.dtsi 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include "dt-bindings/clock/bcm63268-clock.h"
  3. #include "dt-bindings/reset/bcm63268-reset.h"
  4. #include "dt-bindings/soc/bcm63268-pm.h"
  5. / {
  6. #address-cells = <1>;
  7. #size-cells = <1>;
  8. compatible = "brcm,bcm63268";
  9. cpus {
  10. #address-cells = <1>;
  11. #size-cells = <0>;
  12. mips-hpt-frequency = <200000000>;
  13. cpu@0 {
  14. compatible = "brcm,bmips4350";
  15. device_type = "cpu";
  16. reg = <0>;
  17. };
  18. cpu@1 {
  19. compatible = "brcm,bmips4350";
  20. device_type = "cpu";
  21. reg = <1>;
  22. };
  23. };
  24. clocks {
  25. periph_osc: periph-osc {
  26. compatible = "fixed-clock";
  27. #clock-cells = <0>;
  28. clock-frequency = <50000000>;
  29. clock-output-names = "periph";
  30. };
  31. hsspi_osc: hsspi-osc {
  32. compatible = "fixed-clock";
  33. #clock-cells = <0>;
  34. clock-frequency = <400000000>;
  35. clock-output-names = "hsspi_osc";
  36. };
  37. };
  38. aliases {
  39. nflash = &nflash;
  40. serial0 = &uart0;
  41. serial1 = &uart1;
  42. spi0 = &lsspi;
  43. spi1 = &hsspi;
  44. };
  45. cpu_intc: interrupt-controller {
  46. #address-cells = <0>;
  47. compatible = "mti,cpu-interrupt-controller";
  48. interrupt-controller;
  49. #interrupt-cells = <1>;
  50. };
  51. ubus {
  52. #address-cells = <1>;
  53. #size-cells = <1>;
  54. compatible = "simple-bus";
  55. ranges;
  56. periph_clk: clock-controller@10000004 {
  57. compatible = "brcm,bcm63268-clocks";
  58. reg = <0x10000004 0x4>;
  59. #clock-cells = <1>;
  60. };
  61. pll_cntl: syscon@10000008 {
  62. compatible = "syscon";
  63. reg = <0x10000008 0x4>;
  64. native-endian;
  65. reboot {
  66. compatible = "syscon-reboot";
  67. offset = <0x0>;
  68. mask = <0x1>;
  69. };
  70. };
  71. periph_rst: reset-controller@10000010 {
  72. compatible = "brcm,bcm6345-reset";
  73. reg = <0x10000010 0x4>;
  74. #reset-cells = <1>;
  75. };
  76. periph_intc: interrupt-controller@10000020 {
  77. compatible = "brcm,bcm6345-l1-intc";
  78. reg = <0x10000020 0x20>,
  79. <0x10000040 0x20>;
  80. interrupt-controller;
  81. #interrupt-cells = <1>;
  82. interrupt-parent = <&cpu_intc>;
  83. interrupts = <2>, <3>;
  84. };
  85. timer-mfd@10000080 {
  86. compatible = "brcm,bcm7038-twd", "simple-mfd", "syscon";
  87. reg = <0x10000080 0x30>;
  88. ranges = <0x0 0x10000080 0x30>;
  89. wdt: watchdog@1c {
  90. compatible = "brcm,bcm7038-wdt";
  91. reg = <0x1c 0xc>;
  92. clocks = <&periph_osc>;
  93. clock-names = "refclk";
  94. timeout-sec = <30>;
  95. };
  96. };
  97. uart0: serial@10000180 {
  98. compatible = "brcm,bcm6345-uart";
  99. reg = <0x10000180 0x18>;
  100. interrupt-parent = <&periph_intc>;
  101. interrupts = <5>;
  102. clocks = <&periph_osc>;
  103. clock-names = "refclk";
  104. status = "disabled";
  105. };
  106. nflash: nand@10000200 {
  107. #address-cells = <1>;
  108. #size-cells = <0>;
  109. compatible = "brcm,nand-bcm6368",
  110. "brcm,brcmnand-v4.0",
  111. "brcm,brcmnand";
  112. reg = <0x10000200 0x180>,
  113. <0x10000600 0x200>,
  114. <0x100000b0 0x10>;
  115. reg-names = "nand",
  116. "nand-cache",
  117. "nand-int-base";
  118. interrupt-parent = <&periph_intc>;
  119. interrupts = <50>;
  120. clocks = <&periph_clk BCM63268_CLK_NAND>;
  121. clock-names = "nand";
  122. status = "disabled";
  123. };
  124. uart1: serial@100001a0 {
  125. compatible = "brcm,bcm6345-uart";
  126. reg = <0x100001a0 0x18>;
  127. interrupt-parent = <&periph_intc>;
  128. interrupts = <34>;
  129. clocks = <&periph_osc>;
  130. clock-names = "refclk";
  131. status = "disabled";
  132. };
  133. lsspi: spi@10000800 {
  134. #address-cells = <1>;
  135. #size-cells = <0>;
  136. compatible = "brcm,bcm6358-spi";
  137. reg = <0x10000800 0x70c>;
  138. interrupt-parent = <&periph_intc>;
  139. interrupts = <80>;
  140. clocks = <&periph_clk BCM63268_CLK_SPI>;
  141. clock-names = "spi";
  142. resets = <&periph_rst BCM63268_RST_SPI>;
  143. status = "disabled";
  144. };
  145. hsspi: spi@10001000 {
  146. #address-cells = <1>;
  147. #size-cells = <0>;
  148. compatible = "brcm,bcm6328-hsspi";
  149. reg = <0x10001000 0x600>;
  150. interrupt-parent = <&periph_intc>;
  151. interrupts = <6>;
  152. clocks = <&periph_clk BCM63268_CLK_HSSPI>,
  153. <&hsspi_osc>;
  154. clock-names = "hsspi",
  155. "pll";
  156. resets = <&periph_rst BCM63268_RST_SPI>;
  157. status = "disabled";
  158. };
  159. periph_pwr: power-controller@1000184c {
  160. compatible = "brcm,bcm6328-power-controller";
  161. reg = <0x1000184c 0x4>;
  162. #power-domain-cells = <1>;
  163. };
  164. leds0: led-controller@10001900 {
  165. #address-cells = <1>;
  166. #size-cells = <0>;
  167. compatible = "brcm,bcm6328-leds";
  168. reg = <0x10001900 0x24>;
  169. status = "disabled";
  170. };
  171. ehci: usb@10002500 {
  172. compatible = "brcm,bcm63268-ehci", "generic-ehci";
  173. reg = <0x10002500 0x100>;
  174. big-endian;
  175. interrupt-parent = <&periph_intc>;
  176. interrupts = <10>;
  177. phys = <&usbh 0>;
  178. phy-names = "usb";
  179. status = "disabled";
  180. };
  181. ohci: usb@10002600 {
  182. compatible = "brcm,bcm63268-ohci", "generic-ohci";
  183. reg = <0x10002600 0x100>;
  184. big-endian;
  185. no-big-frame-no;
  186. interrupt-parent = <&periph_intc>;
  187. interrupts = <9>;
  188. phys = <&usbh 0>;
  189. phy-names = "usb";
  190. status = "disabled";
  191. };
  192. usbh: usb-phy@10002700 {
  193. compatible = "brcm,bcm63268-usbh-phy";
  194. reg = <0x10002700 0x38>;
  195. #phy-cells = <1>;
  196. clocks = <&periph_clk BCM63268_CLK_USBH>;
  197. clock-names = "usbh";
  198. power-domains = <&periph_pwr BCM63268_POWER_DOMAIN_USBH>;
  199. resets = <&periph_rst BCM63268_RST_USBH>;
  200. reset-names = "usbh";
  201. status = "disabled";
  202. };
  203. };
  204. };