k3-am65.dtsi 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for AM6 SoC Family
  4. *
  5. * Copyright (C) 2016-2018 Texas Instruments Incorporated - http://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. / {
  11. model = "Texas Instruments K3 AM654 SoC";
  12. compatible = "ti,am654";
  13. interrupt-parent = <&gic500>;
  14. #address-cells = <2>;
  15. #size-cells = <2>;
  16. chosen { };
  17. firmware {
  18. optee {
  19. compatible = "linaro,optee-tz";
  20. method = "smc";
  21. };
  22. psci: psci {
  23. compatible = "arm,psci-1.0";
  24. method = "smc";
  25. };
  26. };
  27. a53_timer0: timer-cl0-cpu0 {
  28. compatible = "arm,armv8-timer";
  29. interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, /* cntpsirq */
  30. <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, /* cntpnsirq */
  31. <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, /* cntvirq */
  32. <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; /* cnthpirq */
  33. };
  34. pmu: pmu {
  35. compatible = "arm,armv8-pmuv3";
  36. /* Recommendation from GIC500 TRM Table A.3 */
  37. interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
  38. };
  39. cbass_main: interconnect@100000 {
  40. compatible = "simple-bus";
  41. #address-cells = <2>;
  42. #size-cells = <2>;
  43. ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
  44. <0x00 0x00600000 0x00 0x00600000 0x00 0x00001100>, /* GPIO */
  45. <0x00 0x00900000 0x00 0x00900000 0x00 0x00012000>, /* serdes */
  46. <0x00 0x01000000 0x00 0x01000000 0x00 0x0af02400>, /* Most peripherals */
  47. <0x00 0x30800000 0x00 0x30800000 0x00 0x0bc00000>, /* MAIN NAVSS */
  48. /* MCUSS Range */
  49. <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>,
  50. <0x00 0x40200000 0x00 0x40200000 0x00 0x00900100>,
  51. <0x00 0x42040000 0x00 0x42040000 0x00 0x03ac2400>,
  52. <0x00 0x45100000 0x00 0x45100000 0x00 0x00c24000>,
  53. <0x00 0x46000000 0x00 0x46000000 0x00 0x00200000>,
  54. <0x00 0x47000000 0x00 0x47000000 0x00 0x00068400>;
  55. cbass_mcu: interconnect@28380000 {
  56. compatible = "simple-bus";
  57. #address-cells = <2>;
  58. #size-cells = <2>;
  59. ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>, /* MCU NAVSS*/
  60. <0x00 0x40200000 0x00 0x40200000 0x00 0x00900100>, /* First peripheral window */
  61. <0x00 0x42040000 0x00 0x42040000 0x00 0x03ac2400>, /* WKUP */
  62. <0x00 0x45100000 0x00 0x45100000 0x00 0x00c24000>, /* MMRs, remaining NAVSS */
  63. <0x00 0x46000000 0x00 0x46000000 0x00 0x00200000>, /* CPSW */
  64. <0x00 0x47000000 0x00 0x47000000 0x00 0x00068400>; /* OSPI space 1 */
  65. cbass_wakeup: interconnect@42040000 {
  66. compatible = "simple-bus";
  67. #address-cells = <1>;
  68. #size-cells = <1>;
  69. /* WKUP Basic peripherals */
  70. ranges = <0x42040000 0x00 0x42040000 0x03ac2400>;
  71. };
  72. };
  73. };
  74. };
  75. /* Now include the peripherals for each bus segments */
  76. #include "k3-am65-main.dtsi"