bcm6358.dtsi 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. / {
  2. #address-cells = <1>;
  3. #size-cells = <1>;
  4. compatible = "brcm,bcm6358";
  5. aliases {
  6. pflash = &pflash;
  7. pinctrl = &pinctrl;
  8. serial0 = &uart0;
  9. serial1 = &uart1;
  10. spi0 = &lsspi;
  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. pflash: nor@1e000000 {
  34. compatible = "cfi-flash";
  35. reg = <0x1e000000 0x2000000>;
  36. bank-width = <2>;
  37. #address-cells = <1>;
  38. #size-cells = <1>;
  39. status = "disabled";
  40. };
  41. ubus@fff00000 {
  42. #address-cells = <1>;
  43. #size-cells = <1>;
  44. ranges;
  45. compatible = "simple-bus";
  46. interrupt-parent = <&periph_intc>;
  47. periph_intc: interrupt-controller@fffe000c {
  48. compatible = "brcm,bcm6345-l1-intc";
  49. reg = <0xfffe000c 0x8>,
  50. <0xfffe0038 0x8>;
  51. interrupt-controller;
  52. #interrupt-cells = <1>;
  53. interrupt-parent = <&cpu_intc>;
  54. interrupts = <2>, <3>;
  55. };
  56. ext_intc0: interrupt-controller@fffe0014 {
  57. compatible = "brcm,bcm6345-ext-intc";
  58. reg = <0xfffe0014 0x4>;
  59. interrupt-controller;
  60. #interrupt-cells = <2>;
  61. interrupts = <25>, <26>, <27>, <28>;
  62. };
  63. ext_intc1: interrupt-controller@fffe001c {
  64. compatible = "brcm,bcm6345-ext-intc";
  65. reg = <0xfffe001c 0x4>;
  66. interrupt-controller;
  67. #interrupt-cells = <2>;
  68. interrupts = <20>, <21>;
  69. };
  70. pinctrl: pin-controller@fffe0080 {
  71. compatible = "brcm,bcm6358-pinctrl";
  72. reg = <0xfffe0080 0x8>,
  73. <0xfffe0088 0x8>;
  74. reg-names = "dirout", "dat", "mode";
  75. brcm,gpiomode = <&gpiomode>;
  76. gpio-controller;
  77. #gpio-cells = <2>;
  78. interrupts-extended = <&ext_intc1 0 0>,
  79. <&ext_intc1 1 0>,
  80. <&ext_intc0 0 0>,
  81. <&ext_intc0 1 0>,
  82. <&ext_intc0 2 0>,
  83. <&ext_intc0 3 0>;
  84. interrupt-names = "gpio32", "gpio33", "gpio34", "gpio35",
  85. "gpio36", "gpio37";
  86. pinctrl_ebi_cs: ebi_cs {
  87. function = "ebi_cs";
  88. groups = "ebi_cs_grp";
  89. };
  90. pinctrl_uart1: uart1 {
  91. function = "uart1";
  92. groups = "uart1_grp";
  93. };
  94. pinctrl_serial_led: serial_led {
  95. function = "serial_led";
  96. groups = "serial_led_grp";
  97. };
  98. pinctrl_legacy_led: legacy_led {
  99. function = "legacy_led";
  100. groups = "legacy_led_grp";
  101. };
  102. pinctrl_led: led {
  103. function = "led";
  104. groups = "led_grp";
  105. };
  106. pinctrl_spi_cs_23: spi_cs {
  107. function = "spi_cs";
  108. groups = "spi_cs_grp";
  109. };
  110. pinctrl_utopia: utopia {
  111. function = "utopia";
  112. groups = "utopia_grp";
  113. };
  114. pinctrl_pwm_syn_clk: pwm_syn_clk {
  115. function = "pwm_syn_clk";
  116. groups = "pwm_syn_clk_grp";
  117. };
  118. pinctrl_sys_irq: sys_irq {
  119. function = "sys_irq";
  120. groups = "sys_irq_grp";
  121. };
  122. };
  123. gpiomode: gpiomode@fffe0098 {
  124. compatible = "brcm,bcm6358-gpiomode", "syscon";
  125. reg = <0xfffe0098 0x4>;
  126. };
  127. leds: led-controller@fffe00d0 {
  128. #address-cells = <1>;
  129. #size-cells = <0>;
  130. compatible = "brcm,bcm6358-leds";
  131. reg = <0xfffe00d0 0x8>;
  132. status = "disabled";
  133. };
  134. uart0: serial@fffe0100 {
  135. compatible = "brcm,bcm6345-uart";
  136. reg = <0xfffe0100 0x18>;
  137. interrupt-parent = <&periph_intc>;
  138. interrupts = <2>;
  139. /* clocks = <&periph_clk>; */
  140. /* clock-names = "refclk"; */
  141. status = "disabled";
  142. };
  143. uart1: serial@fffe0120 {
  144. compatible = "brcm,bcm6345-uart";
  145. reg = <0xfffe0120 0x18>;
  146. interrupt-parent = <&periph_intc>;
  147. interrupts = <3>;
  148. /* clocks = <&periph_clk>; */
  149. /* clock-names = "refclk"; */
  150. status = "disabled";
  151. };
  152. lsspi: spi@fffe0800 {
  153. #address-cells = <1>;
  154. #size-cells = <0>;
  155. compatible = "brcm,bcm6358-spi";
  156. reg = <0xfffe0800 0x70c>;
  157. interrupts = <1>;
  158. /* clocks = <&clkctl 9>; */
  159. };
  160. };
  161. };