bcm3368.dtsi 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include "dt-bindings/clock/bcm3368-clock.h"
  3. / {
  4. #address-cells = <1>;
  5. #size-cells = <1>;
  6. compatible = "brcm,bcm3368";
  7. cpus {
  8. #address-cells = <1>;
  9. #size-cells = <0>;
  10. mips-hpt-frequency = <150000000>;
  11. cpu@0 {
  12. compatible = "brcm,bmips4350";
  13. device_type = "cpu";
  14. reg = <0>;
  15. };
  16. cpu@1 {
  17. compatible = "brcm,bmips4350";
  18. device_type = "cpu";
  19. reg = <1>;
  20. };
  21. };
  22. clocks {
  23. periph_clk: periph-clk {
  24. compatible = "fixed-clock";
  25. #clock-cells = <0>;
  26. clock-frequency = <50000000>;
  27. };
  28. };
  29. aliases {
  30. serial0 = &uart0;
  31. serial1 = &uart1;
  32. };
  33. cpu_intc: interrupt-controller {
  34. #address-cells = <0>;
  35. compatible = "mti,cpu-interrupt-controller";
  36. interrupt-controller;
  37. #interrupt-cells = <1>;
  38. };
  39. ubus {
  40. #address-cells = <1>;
  41. #size-cells = <1>;
  42. compatible = "simple-bus";
  43. ranges;
  44. clkctl: clock-controller@fff8c004 {
  45. compatible = "brcm,bcm3368-clocks";
  46. reg = <0xfff8c004 0x4>;
  47. #clock-cells = <1>;
  48. };
  49. periph_cntl: syscon@fff8c008 {
  50. compatible = "syscon";
  51. reg = <0xfff8c008 0x4>;
  52. native-endian;
  53. };
  54. reboot: syscon-reboot@fff8c008 {
  55. compatible = "syscon-reboot";
  56. regmap = <&periph_cntl>;
  57. offset = <0x0>;
  58. mask = <0x1>;
  59. };
  60. periph_intc: interrupt-controller@fff8c00c {
  61. compatible = "brcm,bcm6345-l1-intc";
  62. reg = <0xfff8c00c 0x8>;
  63. interrupt-controller;
  64. #interrupt-cells = <1>;
  65. interrupt-parent = <&cpu_intc>;
  66. interrupts = <2>;
  67. };
  68. uart0: serial@fff8c100 {
  69. compatible = "brcm,bcm6345-uart";
  70. reg = <0xfff8c100 0x18>;
  71. interrupt-parent = <&periph_intc>;
  72. interrupts = <2>;
  73. clocks = <&periph_clk>;
  74. clock-names = "refclk";
  75. status = "disabled";
  76. };
  77. uart1: serial@fff8c120 {
  78. compatible = "brcm,bcm6345-uart";
  79. reg = <0xfff8c120 0x18>;
  80. interrupt-parent = <&periph_intc>;
  81. interrupts = <3>;
  82. clocks = <&periph_clk>;
  83. clock-names = "refclk";
  84. status = "disabled";
  85. };
  86. };
  87. };