bcm6756.dtsi 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Copyright 2022 Broadcom Ltd.
  4. */
  5. #include <dt-bindings/interrupt-controller/arm-gic.h>
  6. #include <dt-bindings/interrupt-controller/irq.h>
  7. / {
  8. compatible = "brcm,bcm6756", "brcm,bcmbca";
  9. #address-cells = <1>;
  10. #size-cells = <1>;
  11. interrupt-parent = <&gic>;
  12. cpus {
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. CA7_0: cpu@0 {
  16. device_type = "cpu";
  17. compatible = "arm,cortex-a7";
  18. reg = <0x0>;
  19. next-level-cache = <&L2_0>;
  20. enable-method = "psci";
  21. };
  22. CA7_1: cpu@1 {
  23. device_type = "cpu";
  24. compatible = "arm,cortex-a7";
  25. reg = <0x1>;
  26. next-level-cache = <&L2_0>;
  27. enable-method = "psci";
  28. };
  29. CA7_2: cpu@2 {
  30. device_type = "cpu";
  31. compatible = "arm,cortex-a7";
  32. reg = <0x2>;
  33. next-level-cache = <&L2_0>;
  34. enable-method = "psci";
  35. };
  36. CA7_3: cpu@3 {
  37. device_type = "cpu";
  38. compatible = "arm,cortex-a7";
  39. reg = <0x3>;
  40. next-level-cache = <&L2_0>;
  41. enable-method = "psci";
  42. };
  43. L2_0: l2-cache0 {
  44. compatible = "cache";
  45. };
  46. };
  47. timer {
  48. compatible = "arm,armv7-timer";
  49. interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  50. <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  51. <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  52. <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
  53. arm,cpu-registers-not-fw-configured;
  54. };
  55. pmu: pmu {
  56. compatible = "arm,cortex-a7-pmu";
  57. interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
  58. <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
  59. <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
  60. <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
  61. interrupt-affinity = <&CA7_0>, <&CA7_1>,
  62. <&CA7_2>, <&CA7_3>;
  63. };
  64. clocks: clocks {
  65. periph_clk: periph-clk {
  66. compatible = "fixed-clock";
  67. #clock-cells = <0>;
  68. clock-frequency = <200000000>;
  69. };
  70. uart_clk: uart-clk {
  71. compatible = "fixed-factor-clock";
  72. #clock-cells = <0>;
  73. clocks = <&periph_clk>;
  74. clock-div = <4>;
  75. clock-mult = <1>;
  76. };
  77. };
  78. psci {
  79. compatible = "arm,psci-0.2";
  80. method = "smc";
  81. };
  82. axi@81000000 {
  83. compatible = "simple-bus";
  84. #address-cells = <1>;
  85. #size-cells = <1>;
  86. ranges = <0 0x81000000 0x8000>;
  87. gic: interrupt-controller@1000 {
  88. compatible = "arm,cortex-a7-gic";
  89. #interrupt-cells = <3>;
  90. interrupt-controller;
  91. interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
  92. reg = <0x1000 0x1000>,
  93. <0x2000 0x2000>,
  94. <0x4000 0x2000>,
  95. <0x6000 0x2000>;
  96. };
  97. };
  98. bus@ff800000 {
  99. compatible = "simple-bus";
  100. #address-cells = <1>;
  101. #size-cells = <1>;
  102. ranges = <0 0xff800000 0x800000>;
  103. uart0: serial@12000 {
  104. compatible = "arm,pl011", "arm,primecell";
  105. reg = <0x12000 0x1000>;
  106. interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
  107. clocks = <&uart_clk>, <&uart_clk>;
  108. clock-names = "uartclk", "apb_pclk";
  109. status = "disabled";
  110. };
  111. };
  112. };