s32g2.dtsi 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /*
  3. * NXP S32G2 SoC family
  4. *
  5. * Copyright (c) 2021 SUSE LLC
  6. * Copyright (c) 2017-2021 NXP
  7. */
  8. #include <dt-bindings/interrupt-controller/arm-gic.h>
  9. / {
  10. compatible = "nxp,s32g2";
  11. interrupt-parent = <&gic>;
  12. #address-cells = <2>;
  13. #size-cells = <2>;
  14. cpus {
  15. #address-cells = <1>;
  16. #size-cells = <0>;
  17. cpu0: cpu@0 {
  18. device_type = "cpu";
  19. compatible = "arm,cortex-a53";
  20. reg = <0x0>;
  21. enable-method = "psci";
  22. next-level-cache = <&cluster0_l2>;
  23. };
  24. cpu1: cpu@1 {
  25. device_type = "cpu";
  26. compatible = "arm,cortex-a53";
  27. reg = <0x1>;
  28. enable-method = "psci";
  29. next-level-cache = <&cluster0_l2>;
  30. };
  31. cpu2: cpu@100 {
  32. device_type = "cpu";
  33. compatible = "arm,cortex-a53";
  34. reg = <0x100>;
  35. enable-method = "psci";
  36. next-level-cache = <&cluster1_l2>;
  37. };
  38. cpu3: cpu@101 {
  39. device_type = "cpu";
  40. compatible = "arm,cortex-a53";
  41. reg = <0x101>;
  42. enable-method = "psci";
  43. next-level-cache = <&cluster1_l2>;
  44. };
  45. cluster0_l2: l2-cache0 {
  46. compatible = "cache";
  47. };
  48. cluster1_l2: l2-cache1 {
  49. compatible = "cache";
  50. };
  51. };
  52. pmu {
  53. compatible = "arm,cortex-a53-pmu";
  54. interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
  55. };
  56. timer {
  57. compatible = "arm,armv8-timer";
  58. interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
  59. <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
  60. <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
  61. <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
  62. };
  63. firmware {
  64. psci {
  65. compatible = "arm,psci-1.0";
  66. method = "smc";
  67. };
  68. };
  69. soc@0 {
  70. compatible = "simple-bus";
  71. #address-cells = <1>;
  72. #size-cells = <1>;
  73. ranges = <0 0 0 0x80000000>;
  74. uart0: serial@401c8000 {
  75. compatible = "nxp,s32g2-linflexuart",
  76. "fsl,s32v234-linflexuart";
  77. reg = <0x401c8000 0x3000>;
  78. interrupts = <GIC_SPI 82 IRQ_TYPE_EDGE_RISING>;
  79. status = "disabled";
  80. };
  81. uart1: serial@401cc000 {
  82. compatible = "nxp,s32g2-linflexuart",
  83. "fsl,s32v234-linflexuart";
  84. reg = <0x401cc000 0x3000>;
  85. interrupts = <GIC_SPI 83 IRQ_TYPE_EDGE_RISING>;
  86. status = "disabled";
  87. };
  88. uart2: serial@402bc000 {
  89. compatible = "nxp,s32g2-linflexuart",
  90. "fsl,s32v234-linflexuart";
  91. reg = <0x402bc000 0x3000>;
  92. interrupts = <GIC_SPI 84 IRQ_TYPE_EDGE_RISING>;
  93. status = "disabled";
  94. };
  95. gic: interrupt-controller@50800000 {
  96. compatible = "arm,gic-v3";
  97. reg = <0x50800000 0x10000>,
  98. <0x50880000 0x80000>,
  99. <0x50400000 0x2000>,
  100. <0x50410000 0x2000>,
  101. <0x50420000 0x2000>;
  102. interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
  103. interrupt-controller;
  104. #interrupt-cells = <3>;
  105. };
  106. };
  107. };