k3-am654-r5-base-board.dts 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
  4. */
  5. /dts-v1/;
  6. #include "k3-am654.dtsi"
  7. #include "k3-am654-base-board-u-boot.dtsi"
  8. #include "k3-am654-base-board-ddr4-1600MHz.dtsi"
  9. #include "k3-am654-ddr.dtsi"
  10. / {
  11. compatible = "ti,am654-evm", "ti,am654";
  12. model = "Texas Instruments AM654 R5 Base Board";
  13. aliases {
  14. serial0 = &wkup_uart0;
  15. serial2 = &main_uart0;
  16. };
  17. chosen {
  18. stdout-path = "serial2:115200n8";
  19. tick-timer = &timer1;
  20. };
  21. aliases {
  22. remoteproc0 = &sysctrler;
  23. remoteproc1 = &a53_0;
  24. };
  25. a53_0: a53@0 {
  26. compatible = "ti,am654-rproc";
  27. reg = <0x0 0x00a90000 0x0 0x10>;
  28. power-domains = <&k3_pds 61>,
  29. <&k3_pds 202>;
  30. resets = <&k3_reset 202 0>;
  31. assigned-clocks = <&k3_clks 202 0>;
  32. assigned-clock-rates = <800000000>;
  33. ti,sci = <&dmsc>;
  34. ti,sci-proc-id = <32>;
  35. ti,sci-host-id = <10>;
  36. u-boot,dm-spl;
  37. };
  38. vtt_supply: vtt_supply {
  39. compatible = "regulator-gpio";
  40. regulator-name = "vtt";
  41. regulator-min-microvolt = <0>;
  42. regulator-max-microvolt = <3300000>;
  43. gpios = <&wkup_gpio0 28 GPIO_ACTIVE_HIGH>;
  44. states = <0 0x0 3300000 0x1>;
  45. u-boot,dm-spl;
  46. };
  47. };
  48. &cbass_main {
  49. timer1: timer@40400000 {
  50. compatible = "ti,omap5430-timer";
  51. reg = <0x0 0x40400000 0x0 0x80>;
  52. ti,timer-alwon;
  53. clock-frequency = <25000000>;
  54. u-boot,dm-pre-reloc;
  55. };
  56. };
  57. &cbass_mcu {
  58. mcu_secproxy: secproxy@28380000 {
  59. compatible = "ti,am654-secure-proxy";
  60. reg = <0x0 0x2a380000 0x0 0x80000>,
  61. <0x0 0x2a400000 0x0 0x80000>,
  62. <0x0 0x2a480000 0x0 0x80000>;
  63. reg-names = "rt", "scfg", "target_data";
  64. #mbox-cells = <1>;
  65. u-boot,dm-spl;
  66. };
  67. };
  68. &cbass_wakeup {
  69. sysctrler: sysctrler {
  70. compatible = "ti,am654-system-controller";
  71. mboxes= <&mcu_secproxy 4>, <&mcu_secproxy 5>;
  72. mbox-names = "tx", "rx";
  73. u-boot,dm-spl;
  74. };
  75. wkup_gpio0: wkup_gpio0@42110000 {
  76. compatible = "ti,k2g-gpio", "ti,keystone-gpio";
  77. reg = <0x42110000 0x100>;
  78. gpio-controller;
  79. #gpio-cells = <2>;
  80. ti,ngpio = <56>;
  81. ti,davinci-gpio-unbanked = <0>;
  82. clocks = <&k3_clks 59 0>;
  83. clock-names = "gpio";
  84. u-boot,dm-spl;
  85. };
  86. };
  87. &dmsc {
  88. mboxes= <&mcu_secproxy 7>, <&mcu_secproxy 6>, <&mcu_secproxy 5>;
  89. mbox-names = "tx", "rx", "notify";
  90. ti,host-id = <4>;
  91. ti,secure-host;
  92. };
  93. &wkup_uart0 {
  94. u-boot,dm-spl;
  95. pinctrl-names = "default";
  96. pinctrl-0 = <&wkup_uart0_pins_default>;
  97. status = "okay";
  98. };
  99. &wkup_pmx0 {
  100. u-boot,dm-spl;
  101. wkup_uart0_pins_default: wkup_uart0_pins_default {
  102. pinctrl-single,pins = <
  103. AM65X_WKUP_IOPAD(0x00a0, PIN_INPUT | MUX_MODE0) /* (AB1) WKUP_UART0_RXD */
  104. AM65X_WKUP_IOPAD(0x00a4, PIN_OUTPUT | MUX_MODE0) /* (AB5) WKUP_UART0_TXD */
  105. AM65X_WKUP_IOPAD(0x00c8, PIN_INPUT | MUX_MODE1) /* (AC2) WKUP_GPIO0_6.WKUP_UART0_CTSn */
  106. AM65X_WKUP_IOPAD(0x00cc, PIN_OUTPUT | MUX_MODE1) /* (AC1) WKUP_GPIO0_7.WKUP_UART0_RTSn */
  107. >;
  108. u-boot,dm-spl;
  109. };
  110. wkup_vtt_pins_default: wkup_vtt_pins_default {
  111. pinctrl-single,pins = <
  112. AM65X_WKUP_IOPAD(0x0040, PIN_OUTPUT_PULLUP | MUX_MODE7) /* WKUP_GPIO0_28 */
  113. >;
  114. u-boot,dm-spl;
  115. };
  116. };
  117. &memorycontroller {
  118. vtt-supply = <&vtt_supply>;
  119. pinctrl-names = "default";
  120. pinctrl-0 = <&wkup_vtt_pins_default>;
  121. };