bcm6358.dtsi 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. / {
  2. #address-cells = <1>;
  3. #size-cells = <1>;
  4. compatible = "brcm,bcm6358";
  5. aliases {
  6. pflash = &pflash;
  7. gpio0 = &gpio0;
  8. gpio1 = &gpio1;
  9. };
  10. cpus {
  11. #address-cells = <1>;
  12. #size-cells = <0>;
  13. cpu@0 {
  14. compatible = "brcm,bmips4350", "mips,mips4Kc";
  15. device_type = "cpu";
  16. reg = <0>;
  17. };
  18. cpu@1 {
  19. compatible = "brcm,bmips4350", "mips,mips4Kc";
  20. device_type = "cpu";
  21. reg = <1>;
  22. };
  23. };
  24. cpu_intc: interrupt-controller {
  25. #address-cells = <0>;
  26. compatible = "mti,cpu-interrupt-controller";
  27. interrupt-controller;
  28. #interrupt-cells = <1>;
  29. };
  30. memory { device_type = "memory"; reg = <0 0>; };
  31. pflash: nor@1e000000 {
  32. compatible = "cfi-flash";
  33. reg = <0x1e000000 0x2000000>;
  34. bank-width = <2>;
  35. #address-cells = <1>;
  36. #size-cells = <1>;
  37. status = "disabled";
  38. };
  39. ubus@fff00000 {
  40. #address-cells = <1>;
  41. #size-cells = <1>;
  42. ranges;
  43. compatible = "simple-bus";
  44. periph_intc: interrupt-controller@fffe000c {
  45. compatible = "brcm,bcm6345-l1-intc";
  46. reg = <0xfffe000c 0x8>,
  47. <0xfffe0038 0x8>;
  48. interrupt-controller;
  49. #interrupt-cells = <1>;
  50. interrupt-parent = <&cpu_intc>;
  51. interrupts = <2>, <3>;
  52. };
  53. ext_intc0: interrupt-controller@fffe0014 {
  54. compatible = "brcm,bcm6345-ext-intc";
  55. reg = <0xfffe0014 0x4>;
  56. interrupt-controller;
  57. #interrupt-cells = <2>;
  58. interrupt-parent = <&periph_intc>;
  59. interrupts = <25>, <26>, <27>, <28>;
  60. };
  61. ext_intc1: interrupt-controller@fffe001c {
  62. compatible = "brcm,bcm6345-ext-intc";
  63. reg = <0xfffe001c 0x4>;
  64. interrupt-controller;
  65. #interrupt-cells = <2>;
  66. interrupt-parent = <&periph_intc>;
  67. interrupts = <20>, <21>;
  68. };
  69. gpio1: gpio-controller@fffe0080 {
  70. compatible = "brcm,bcm6345-gpio";
  71. reg = <0xfffe0080 4>, <0xfffe0088 4>;
  72. gpio-controller;
  73. #gpio-cells = <2>;
  74. ngpios = <8>;
  75. };
  76. gpio0: gpio-controller@fffe0084 {
  77. compatible = "brcm,bcm6345-gpio";
  78. reg = <0xfffe0084 4>, <0xfffe008c 4>;
  79. gpio-controller;
  80. #gpio-cells = <2>;
  81. };
  82. };
  83. };