bcm6878.dtsi 2.4 KB

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