morello.dtsi 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. /*
  2. * Copyright (c) 2020, Arm Limited. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <dt-bindings/interrupt-controller/arm-gic.h>
  7. / {
  8. compatible = "arm,morello";
  9. interrupt-parent = <&gic>;
  10. #address-cells = <2>;
  11. #size-cells = <2>;
  12. aliases {
  13. serial0 = &soc_uart0;
  14. };
  15. gic: interrupt-controller@2c010000 {
  16. compatible = "arm,gic-600", "arm,gic-v3";
  17. #address-cells = <2>;
  18. #interrupt-cells = <3>;
  19. #size-cells = <2>;
  20. ranges;
  21. interrupt-controller;
  22. };
  23. pmu {
  24. compatible = "arm,armv8-pmuv3";
  25. interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
  26. };
  27. spe-pmu {
  28. compatible = "arm,statistical-profiling-extension-v1";
  29. interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
  30. };
  31. psci {
  32. compatible = "arm,psci-0.2";
  33. method = "smc";
  34. };
  35. timer {
  36. compatible = "arm,armv8-timer";
  37. interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
  38. <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
  39. <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
  40. <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
  41. };
  42. mailbox: mhu@45000000 {
  43. compatible = "arm,mhu-doorbell", "arm,primecell";
  44. reg = <0x0 0x45000000 0x0 0x1000>;
  45. interrupts = <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
  46. <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>;
  47. interrupt-names = "mhu_lpri_rx",
  48. "mhu_hpri_rx";
  49. #mbox-cells = <2>;
  50. mbox-name = "ARM-MHU";
  51. clocks = <&soc_refclk100mhz>;
  52. clock-names = "apb_pclk";
  53. };
  54. sram: sram@45200000 {
  55. compatible = "mmio-sram";
  56. reg = <0x0 0x45200000 0x0 0x8000>;
  57. #address-cells = <1>;
  58. #size-cells = <1>;
  59. ranges = <0 0x0 0x45200000 0x8000>;
  60. cpu_scp_hpri0: scp-shmem@0 {
  61. compatible = "arm,scmi-shmem";
  62. reg = <0x0 0x80>;
  63. };
  64. cpu_scp_hpri1: scp-shmem@80 {
  65. compatible = "arm,scmi-shmem";
  66. reg = <0x80 0x80>;
  67. };
  68. };
  69. soc_refclk100mhz: refclk100mhz {
  70. compatible = "fixed-clock";
  71. #clock-cells = <0>;
  72. clock-frequency = <100000000>;
  73. clock-output-names = "apb_pclk";
  74. };
  75. soc_uartclk: uartclk {
  76. compatible = "fixed-clock";
  77. #clock-cells = <0>;
  78. clock-frequency = <50000000>;
  79. clock-output-names = "uartclk";
  80. };
  81. soc_uart0: uart@2a400000 {
  82. compatible = "arm,pl011", "arm,primecell";
  83. reg = <0x0 0x2a400000 0x0 0x1000>;
  84. interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
  85. clocks = <&soc_uartclk>, <&soc_refclk100mhz>;
  86. clock-names = "uartclk", "apb_pclk";
  87. status = "okay";
  88. };
  89. };