k3-am62.dtsi 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for AM62 SoC Family
  4. *
  5. * Copyright (C) 2020-2022 Texas Instruments Incorporated - https://www.ti.com/
  6. */
  7. #include <dt-bindings/gpio/gpio.h>
  8. #include <dt-bindings/interrupt-controller/irq.h>
  9. #include <dt-bindings/interrupt-controller/arm-gic.h>
  10. #include <dt-bindings/pinctrl/k3.h>
  11. #include <dt-bindings/soc/ti,sci_pm_domain.h>
  12. / {
  13. model = "Texas Instruments K3 AM625 SoC";
  14. compatible = "ti,am625";
  15. interrupt-parent = <&gic500>;
  16. #address-cells = <2>;
  17. #size-cells = <2>;
  18. chosen { };
  19. firmware {
  20. optee {
  21. compatible = "linaro,optee-tz";
  22. method = "smc";
  23. };
  24. psci: psci {
  25. compatible = "arm,psci-1.0";
  26. method = "smc";
  27. };
  28. };
  29. a53_timer0: timer-cl0-cpu0 {
  30. compatible = "arm,armv8-timer";
  31. interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, /* cntpsirq */
  32. <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, /* cntpnsirq */
  33. <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, /* cntvirq */
  34. <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; /* cnthpirq */
  35. };
  36. pmu: pmu {
  37. compatible = "arm,cortex-a53-pmu";
  38. interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
  39. };
  40. cbass_main: bus@f0000 {
  41. compatible = "simple-bus";
  42. #address-cells = <2>;
  43. #size-cells = <2>;
  44. ranges = <0x00 0x000f0000 0x00 0x000f0000 0x00 0x00030000>, /* Main MMRs */
  45. <0x00 0x00420000 0x00 0x00420000 0x00 0x00001000>, /* ESM0 */
  46. <0x00 0x00600000 0x00 0x00600000 0x00 0x00001100>, /* GPIO */
  47. <0x00 0x00703000 0x00 0x00703000 0x00 0x00000200>, /* USB0 debug trace */
  48. <0x00 0x0070c000 0x00 0x0070c000 0x00 0x00000200>, /* USB1 debug trace */
  49. <0x00 0x00a40000 0x00 0x00a40000 0x00 0x00000800>, /* Timesync router */
  50. <0x00 0x01000000 0x00 0x01000000 0x00 0x01b28400>, /* First peripheral window */
  51. <0x00 0x08000000 0x00 0x08000000 0x00 0x00200000>, /* Main CPSW */
  52. <0x00 0x0e000000 0x00 0x0e000000 0x00 0x01d20000>, /* Second peripheral window */
  53. <0x00 0x0fd00000 0x00 0x0fd00000 0x00 0x00020000>, /* GPU */
  54. <0x00 0x20000000 0x00 0x20000000 0x00 0x0a008000>, /* Third peripheral window */
  55. <0x00 0x30040000 0x00 0x30040000 0x00 0x00080000>, /* PRUSS-M */
  56. <0x00 0x30101000 0x00 0x30101000 0x00 0x00010100>, /* CSI window */
  57. <0x00 0x30200000 0x00 0x30200000 0x00 0x00010000>, /* DSS */
  58. <0x00 0x31000000 0x00 0x31000000 0x00 0x00050000>, /* USB0 DWC3 Core window */
  59. <0x00 0x31100000 0x00 0x31100000 0x00 0x00050000>, /* USB1 DWC3 Core window */
  60. <0x00 0x40900000 0x00 0x40900000 0x00 0x00030000>, /* SA3UL */
  61. <0x00 0x43600000 0x00 0x43600000 0x00 0x00010000>, /* SA3 sproxy data */
  62. <0x00 0x44043000 0x00 0x44043000 0x00 0x00000fe0>, /* TI SCI DEBUG */
  63. <0x00 0x44860000 0x00 0x44860000 0x00 0x00040000>, /* SA3 sproxy config */
  64. <0x00 0x48000000 0x00 0x48000000 0x00 0x06400000>, /* DMSS */
  65. <0x00 0x60000000 0x00 0x60000000 0x00 0x08000000>, /* FSS0 DAT1 */
  66. <0x00 0x70000000 0x00 0x70000000 0x00 0x00010000>, /* OCSRAM */
  67. <0x01 0x00000000 0x01 0x00000000 0x00 0x00310000>, /* A53 PERIPHBASE */
  68. <0x05 0x00000000 0x05 0x00000000 0x01 0x00000000>, /* FSS0 DAT3 */
  69. /* MCU Domain Range */
  70. <0x00 0x04000000 0x00 0x04000000 0x00 0x01ff1400>,
  71. /* Wakeup Domain Range */
  72. <0x00 0x2b000000 0x00 0x2b000000 0x00 0x00300400>,
  73. <0x00 0x43000000 0x00 0x43000000 0x00 0x00020000>;
  74. cbass_mcu: bus@4000000 {
  75. compatible = "simple-bus";
  76. #address-cells = <2>;
  77. #size-cells = <2>;
  78. ranges = <0x00 0x04000000 0x00 0x04000000 0x00 0x01ff1400>; /* Peripheral window */
  79. };
  80. cbass_wakeup: bus@2b000000 {
  81. compatible = "simple-bus";
  82. #address-cells = <2>;
  83. #size-cells = <2>;
  84. ranges = <0x00 0x2b000000 0x00 0x2b000000 0x00 0x00300400>, /* Peripheral Window */
  85. <0x00 0x43000000 0x00 0x43000000 0x00 0x00020000>;
  86. };
  87. };
  88. };
  89. /* Now include the peripherals for each bus segments */
  90. #include "k3-am62-main.dtsi"
  91. #include "k3-am62-mcu.dtsi"
  92. #include "k3-am62-wakeup.dtsi"