dra72-evm-revc.dts 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/
  4. */
  5. #include "dra72-evm-common.dtsi"
  6. #include "dra72x-mmc-iodelay.dtsi"
  7. #include <dt-bindings/net/ti-dp83867.h>
  8. / {
  9. model = "TI DRA722 Rev C EVM";
  10. memory@0 {
  11. device_type = "memory";
  12. reg = <0x0 0x80000000 0x0 0x80000000>; /* 2GB */
  13. };
  14. reserved-memory {
  15. #address-cells = <2>;
  16. #size-cells = <2>;
  17. ranges;
  18. ipu2_cma_pool: ipu2_cma@95800000 {
  19. compatible = "shared-dma-pool";
  20. reg = <0x0 0x95800000 0x0 0x3800000>;
  21. reusable;
  22. status = "okay";
  23. };
  24. dsp1_cma_pool: dsp1_cma@99000000 {
  25. compatible = "shared-dma-pool";
  26. reg = <0x0 0x99000000 0x0 0x4000000>;
  27. reusable;
  28. status = "okay";
  29. };
  30. ipu1_cma_pool: ipu1_cma@9d000000 {
  31. compatible = "shared-dma-pool";
  32. reg = <0x0 0x9d000000 0x0 0x2000000>;
  33. reusable;
  34. status = "okay";
  35. };
  36. };
  37. evm_1v8_sw: fixedregulator-evm_1v8 {
  38. compatible = "regulator-fixed";
  39. regulator-name = "evm_1v8";
  40. regulator-min-microvolt = <1800000>;
  41. regulator-max-microvolt = <1800000>;
  42. vin-supply = <&smps4_reg>;
  43. regulator-always-on;
  44. regulator-boot-on;
  45. };
  46. };
  47. &i2c1 {
  48. tps65917: tps65917@58 {
  49. reg = <0x58>;
  50. interrupts = <GIC_SPI 2 IRQ_TYPE_NONE>; /* IRQ_SYS_1N */
  51. };
  52. };
  53. #include "dra72-evm-tps65917.dtsi"
  54. &ldo2_reg {
  55. /* LDO2_OUT --> VDDA_1V8_PHY2 */
  56. regulator-always-on;
  57. regulator-boot-on;
  58. };
  59. &hdmi {
  60. vdda-supply = <&ldo2_reg>;
  61. };
  62. &pcf_gpio_21 {
  63. interrupt-parent = <&gpio3>;
  64. interrupts = <30 IRQ_TYPE_EDGE_FALLING>;
  65. };
  66. &mac_sw {
  67. mode-gpios = <&pcf_gpio_21 4 GPIO_ACTIVE_LOW>,
  68. <&pcf_hdmi 9 GPIO_ACTIVE_LOW>, /* P11 */
  69. <&pcf_hdmi 10 GPIO_ACTIVE_LOW>; /* P12 */
  70. status = "okay";
  71. };
  72. &cpsw_port1 {
  73. phy-handle = <&dp83867_0>;
  74. phy-mode = "rgmii-id";
  75. ti,dual-emac-pvid = <1>;
  76. };
  77. &cpsw_port2 {
  78. phy-handle = <&dp83867_1>;
  79. phy-mode = "rgmii-id";
  80. ti,dual-emac-pvid = <2>;
  81. };
  82. &davinci_mdio_sw {
  83. dp83867_0: ethernet-phy@2 {
  84. reg = <2>;
  85. ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
  86. ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
  87. ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
  88. ti,min-output-impedance;
  89. interrupt-parent = <&gpio6>;
  90. interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
  91. ti,dp83867-rxctrl-strap-quirk;
  92. };
  93. dp83867_1: ethernet-phy@3 {
  94. reg = <3>;
  95. ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
  96. ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
  97. ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
  98. ti,min-output-impedance;
  99. interrupt-parent = <&gpio6>;
  100. interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
  101. ti,dp83867-rxctrl-strap-quirk;
  102. };
  103. };
  104. &mmc1 {
  105. pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
  106. pinctrl-0 = <&mmc1_pins_default>;
  107. pinctrl-1 = <&mmc1_pins_hs>;
  108. pinctrl-2 = <&mmc1_pins_sdr12>;
  109. pinctrl-3 = <&mmc1_pins_sdr25>;
  110. pinctrl-4 = <&mmc1_pins_sdr50>;
  111. pinctrl-5 = <&mmc1_pins_ddr50_rev20 &mmc1_iodelay_ddr50_conf>;
  112. pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>;
  113. vqmmc-supply = <&ldo1_reg>;
  114. };
  115. &mmc2 {
  116. pinctrl-names = "default", "hs", "ddr_1_8v", "hs200_1_8v";
  117. pinctrl-0 = <&mmc2_pins_default>;
  118. pinctrl-1 = <&mmc2_pins_hs>;
  119. pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
  120. pinctrl-3 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_rev20_conf>;
  121. vmmc-supply = <&evm_1v8_sw>;
  122. };
  123. &ipu2 {
  124. status = "okay";
  125. memory-region = <&ipu2_cma_pool>;
  126. };
  127. &ipu1 {
  128. status = "okay";
  129. memory-region = <&ipu1_cma_pool>;
  130. };
  131. &dsp1 {
  132. status = "okay";
  133. memory-region = <&dsp1_cma_pool>;
  134. };