s32v234.dtsi 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * Copyright 2015-2016 Freescale Semiconductor, Inc.
  4. * Copyright 2016-2018 NXP
  5. */
  6. #include <dt-bindings/interrupt-controller/arm-gic.h>
  7. /memreserve/ 0x80000000 0x00010000;
  8. / {
  9. compatible = "fsl,s32v234";
  10. interrupt-parent = <&gic>;
  11. #address-cells = <2>;
  12. #size-cells = <2>;
  13. aliases {
  14. serial0 = &uart0;
  15. serial1 = &uart1;
  16. };
  17. cpus {
  18. #address-cells = <2>;
  19. #size-cells = <0>;
  20. cpu0: cpu@0 {
  21. device_type = "cpu";
  22. compatible = "arm,cortex-a53";
  23. reg = <0x0 0x0>;
  24. enable-method = "spin-table";
  25. cpu-release-addr = <0x0 0x80000000>;
  26. next-level-cache = <&cluster0_l2_cache>;
  27. };
  28. cpu1: cpu@1 {
  29. device_type = "cpu";
  30. compatible = "arm,cortex-a53";
  31. reg = <0x0 0x1>;
  32. enable-method = "spin-table";
  33. cpu-release-addr = <0x0 0x80000000>;
  34. next-level-cache = <&cluster0_l2_cache>;
  35. };
  36. cpu2: cpu@100 {
  37. device_type = "cpu";
  38. compatible = "arm,cortex-a53";
  39. reg = <0x0 0x100>;
  40. enable-method = "spin-table";
  41. cpu-release-addr = <0x0 0x80000000>;
  42. next-level-cache = <&cluster1_l2_cache>;
  43. };
  44. cpu3: cpu@101 {
  45. device_type = "cpu";
  46. compatible = "arm,cortex-a53";
  47. reg = <0x0 0x101>;
  48. enable-method = "spin-table";
  49. cpu-release-addr = <0x0 0x80000000>;
  50. next-level-cache = <&cluster1_l2_cache>;
  51. };
  52. cluster0_l2_cache: l2-cache0 {
  53. compatible = "cache";
  54. };
  55. cluster1_l2_cache: l2-cache1 {
  56. compatible = "cache";
  57. };
  58. };
  59. timer {
  60. compatible = "arm,armv8-timer";
  61. interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) |
  62. IRQ_TYPE_LEVEL_LOW)>,
  63. <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) |
  64. IRQ_TYPE_LEVEL_LOW)>,
  65. <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) |
  66. IRQ_TYPE_LEVEL_LOW)>,
  67. <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) |
  68. IRQ_TYPE_LEVEL_LOW)>;
  69. /* clock-frequency might be modified by u-boot, depending on the
  70. * chip version.
  71. */
  72. clock-frequency = <10000000>;
  73. };
  74. gic: interrupt-controller@7d001000 {
  75. compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic";
  76. #interrupt-cells = <3>;
  77. #address-cells = <0>;
  78. interrupt-controller;
  79. reg = <0 0x7d001000 0 0x1000>,
  80. <0 0x7d002000 0 0x2000>,
  81. <0 0x7d004000 0 0x2000>,
  82. <0 0x7d006000 0 0x2000>;
  83. interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) |
  84. IRQ_TYPE_LEVEL_HIGH)>;
  85. };
  86. soc {
  87. #address-cells = <2>;
  88. #size-cells = <2>;
  89. compatible = "simple-bus";
  90. interrupt-parent = <&gic>;
  91. ranges;
  92. aips0: bus@40000000 {
  93. compatible = "simple-bus";
  94. #address-cells = <2>;
  95. #size-cells = <2>;
  96. interrupt-parent = <&gic>;
  97. reg = <0x0 0x40000000 0x0 0x7d000>;
  98. ranges;
  99. uart0: serial@40053000 {
  100. compatible = "fsl,s32v234-linflexuart";
  101. reg = <0x0 0x40053000 0x0 0x1000>;
  102. interrupts = <GIC_SPI 59 IRQ_TYPE_EDGE_RISING>;
  103. status = "disabled";
  104. };
  105. };
  106. aips1: bus@40080000 {
  107. compatible = "simple-bus";
  108. #address-cells = <2>;
  109. #size-cells = <2>;
  110. interrupt-parent = <&gic>;
  111. reg = <0x0 0x40080000 0x0 0x70000>;
  112. ranges;
  113. uart1: serial@400bc000 {
  114. compatible = "fsl,s32v234-linflexuart";
  115. reg = <0x0 0x400bc000 0x0 0x1000>;
  116. interrupts = <GIC_SPI 60 IRQ_TYPE_EDGE_RISING>;
  117. status = "disabled";
  118. };
  119. };
  120. };
  121. };