bcm6318.dtsi 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. / {
  2. #address-cells = <1>;
  3. #size-cells = <1>;
  4. compatible = "brcm,bcm6318";
  5. aliases {
  6. pinctrl = &pinctrl;
  7. serial0 = &uart0;
  8. spi1 = &hsspi;
  9. };
  10. cpus {
  11. #address-cells = <1>;
  12. #size-cells = <0>;
  13. cpu@0 {
  14. compatible = "brcm,bmips3300", "mips,mips4Kc";
  15. device_type = "cpu";
  16. reg = <0>;
  17. };
  18. };
  19. cpu_intc: interrupt-controller {
  20. #address-cells = <0>;
  21. compatible = "mti,cpu-interrupt-controller";
  22. interrupt-controller;
  23. #interrupt-cells = <1>;
  24. };
  25. memory { device_type = "memory"; reg = <0 0>; };
  26. ubus@10000000 {
  27. #address-cells = <1>;
  28. #size-cells = <1>;
  29. ranges;
  30. compatible = "simple-bus";
  31. interrupt-parent = <&periph_intc>;
  32. ext_intc: interrupt-controller@10000018 {
  33. compatible = "brcm,bcm6318-ext-intc";
  34. reg = <0x10000018 0x4>;
  35. interrupt-controller;
  36. #interrupt-cells = <2>;
  37. interrupts = <24>, <25>, <26>, <27>;
  38. };
  39. periph_intc: interrupt-controller@10000020 {
  40. compatible = "brcm,bcm6345-l1-intc";
  41. reg = <0x10000020 0x20>;
  42. interrupt-controller;
  43. #interrupt-cells = <1>;
  44. interrupt-parent = <&cpu_intc>;
  45. interrupts = <2>;
  46. };
  47. pinctrl: pin-controller@10000080 {
  48. compatible = "brcm,bcm6318-pinctrl";
  49. reg = <0x10000080 0x08>,
  50. <0x10000088 0x08>,
  51. <0x10000098 0x04>,
  52. <0x1000009c 0x0c>,
  53. <0x100000d4 0x18>;
  54. reg-names = "dirout", "dat", "mode", "mux", "pad";
  55. gpio-controller;
  56. #gpio-cells = <2>;
  57. interrupt-parent = <&ext_intc>;
  58. interrupts = <0 0>, <1 0>;
  59. interrupt-names = "gpio33", "gpio34";
  60. pinctrl_ephy0_spd_led: ephy0_spd_led {
  61. function = "ephy0_spd_led";
  62. pins = "gpio0";
  63. };
  64. pinctrl_ephy1_spd_led: ephy1_spd_led {
  65. function = "ephy1_spd_led";
  66. pins = "gpio1";
  67. };
  68. pinctrl_ephy2_spd_led: ephy2_spd_led {
  69. function = "ephy2_spd_led";
  70. pins = "gpio2";
  71. };
  72. pinctrl_ephy3_spd_led: ephy3_spd_led {
  73. function = "ephy3_spd_led";
  74. pins = "gpio3";
  75. };
  76. pinctrl_ephy0_act_led: ephy0_act_led {
  77. function = "ephy0_act_led";
  78. pins = "gpio4";
  79. };
  80. pinctrl_ephy1_act_led: ephy1_act_led {
  81. function = "ephy1_act_led";
  82. pins = "gpio5";
  83. };
  84. pinctrl_ephy2_act_led: ephy2_act_led {
  85. function = "ephy2_act_led";
  86. pins = "gpio6";
  87. };
  88. pinctrl_ephy3_act_led: ephy3_act_led {
  89. function = "ephy3_act_led";
  90. pins = "gpio7";
  91. };
  92. pinctrl_serial_led: serial_led {
  93. pinctrl_serial_led_data: serial_led_data {
  94. function = "serial_led_data";
  95. pins = "gpio6";
  96. };
  97. pinctrl_serial_led_clk: serial_led_clk {
  98. function = "serial_led_clk";
  99. pins = "gpio7";
  100. };
  101. };
  102. pinctrl_inet_act_led: inet_act_led {
  103. function = "inet_act_led";
  104. pins = "gpio8";
  105. };
  106. pinctrl_inet_fail_led: inet_fail_led {
  107. function = "inet_fail_led";
  108. pins = "gpio9";
  109. };
  110. pinctrl_dsl_led: dsl_led {
  111. function = "dsl_led";
  112. pins = "gpio10";
  113. };
  114. pinctrl_post_fail_led: post_fail_led {
  115. function = "post_fail_led";
  116. pins = "gpio11";
  117. };
  118. pinctrl_wlan_wps_led: wlan_wps_led {
  119. function = "wlan_wps_led";
  120. pins = "gpio12";
  121. };
  122. pinctrl_usb_pwron: usb_pwron {
  123. function = "usb_pwron";
  124. pins = "gpio13";
  125. };
  126. pinctrl_usb_device_led: usb_device_led {
  127. function = "usb_device_led";
  128. pins = "gpio13";
  129. };
  130. pinctrl_usb_active: usb_active {
  131. function = "usb_active";
  132. pins = "gpio40";
  133. };
  134. };
  135. uart0: serial@10000100 {
  136. compatible = "brcm,bcm6345-uart";
  137. reg = <0x10000100 0x18>;
  138. interrupt-parent = <&periph_intc>;
  139. interrupts = <28>;
  140. /* clocks = <&periph_clk>; */
  141. /* clock-names = "refclk"; */
  142. status = "disabled";
  143. };
  144. leds: led-controller@10000200 {
  145. #address-cells = <1>;
  146. #size-cells = <0>;
  147. compatible = "brcm,bcm6328-leds";
  148. reg = <0x10000200 0x24>;
  149. status = "disabled";
  150. };
  151. hsspi: spi@10003000 {
  152. #address-cells = <1>;
  153. #size-cells = <0>;
  154. compatible = "brcm,bcm6328-hsspi";
  155. reg = <0x10003000 0x600>;
  156. interrupts = <29>;
  157. /* clocks = <&clkctl 25>; */
  158. };
  159. };
  160. };