bcm6855.dtsi 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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,bcm6855", "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. L2_0: l2-cache0 {
  37. compatible = "cache";
  38. };
  39. };
  40. timer {
  41. compatible = "arm,armv7-timer";
  42. interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(3) | IRQ_TYPE_LEVEL_LOW)>,
  43. <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(3) | IRQ_TYPE_LEVEL_LOW)>,
  44. <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(3) | IRQ_TYPE_LEVEL_LOW)>,
  45. <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(3) | IRQ_TYPE_LEVEL_LOW)>;
  46. arm,cpu-registers-not-fw-configured;
  47. };
  48. pmu: pmu {
  49. compatible = "arm,cortex-a7-pmu";
  50. interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
  51. <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
  52. <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
  53. interrupt-affinity = <&CA7_0>, <&CA7_1>, <&CA7_2>;
  54. };
  55. clocks: clocks {
  56. periph_clk: periph-clk {
  57. compatible = "fixed-clock";
  58. #clock-cells = <0>;
  59. clock-frequency = <200000000>;
  60. };
  61. uart_clk: uart-clk {
  62. compatible = "fixed-factor-clock";
  63. #clock-cells = <0>;
  64. clocks = <&periph_clk>;
  65. clock-div = <4>;
  66. clock-mult = <1>;
  67. };
  68. };
  69. psci {
  70. compatible = "arm,psci-0.2";
  71. method = "smc";
  72. };
  73. axi@81000000 {
  74. compatible = "simple-bus";
  75. #address-cells = <1>;
  76. #size-cells = <1>;
  77. ranges = <0 0x81000000 0x8000>;
  78. gic: interrupt-controller@1000 {
  79. compatible = "arm,cortex-a7-gic";
  80. #interrupt-cells = <3>;
  81. interrupt-controller;
  82. interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(3) | IRQ_TYPE_LEVEL_HIGH)>;
  83. reg = <0x1000 0x1000>,
  84. <0x2000 0x2000>,
  85. <0x4000 0x2000>,
  86. <0x6000 0x2000>;
  87. };
  88. };
  89. bus@ff800000 {
  90. compatible = "simple-bus";
  91. #address-cells = <1>;
  92. #size-cells = <1>;
  93. ranges = <0 0xff800000 0x800000>;
  94. uart0: serial@12000 {
  95. compatible = "arm,pl011", "arm,primecell";
  96. reg = <0x12000 0x1000>;
  97. interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
  98. clocks = <&uart_clk>, <&uart_clk>;
  99. clock-names = "uartclk", "apb_pclk";
  100. status = "disabled";
  101. };
  102. };
  103. };