bcm6318.dtsi 3.5 KB

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