dra76x.dtsi 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/
  4. */
  5. #include "dra74x.dtsi"
  6. / {
  7. compatible = "ti,dra762", "ti,dra7";
  8. ocp {
  9. target-module@42c01900 {
  10. compatible = "ti,sysc-dra7-mcan", "ti,sysc";
  11. ranges = <0x0 0x42c00000 0x2000>;
  12. #address-cells = <1>;
  13. #size-cells = <1>;
  14. reg = <0x42c01900 0x4>,
  15. <0x42c01904 0x4>,
  16. <0x42c01908 0x4>;
  17. reg-names = "rev", "sysc", "syss";
  18. ti,sysc-mask = <(SYSC_OMAP4_SOFTRESET |
  19. SYSC_DRA7_MCAN_ENAWAKEUP)>;
  20. ti,syss-mask = <1>;
  21. clocks = <&wkupaon_clkctrl DRA7_WKUPAON_ADC_CLKCTRL 0>;
  22. clock-names = "fck";
  23. m_can0: mcan@1a00 {
  24. compatible = "bosch,m_can";
  25. reg = <0x1a00 0x4000>, <0x0 0x18FC>;
  26. reg-names = "m_can", "message_ram";
  27. interrupt-parent = <&gic>;
  28. interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
  29. <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
  30. interrupt-names = "int0", "int1";
  31. clocks = <&l3_iclk_div>, <&mcan_clk>;
  32. clock-names = "hclk", "cclk";
  33. bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>;
  34. };
  35. };
  36. };
  37. };
  38. &l4_per3 {
  39. target-module@1b0000 { /* 0x489b0000, ap 25 34.0 */
  40. compatible = "ti,sysc-omap4", "ti,sysc";
  41. reg = <0x1b0000 0x4>,
  42. <0x1b0010 0x4>;
  43. reg-names = "rev", "sysc";
  44. ti,sysc-midle = <SYSC_IDLE_FORCE>,
  45. <SYSC_IDLE_NO>;
  46. ti,sysc-sidle = <SYSC_IDLE_FORCE>,
  47. <SYSC_IDLE_NO>;
  48. clocks = <&cam_clkctrl DRA7_CAM_VIP3_CLKCTRL 0>;
  49. clock-names = "fck";
  50. #address-cells = <1>;
  51. #size-cells = <1>;
  52. ranges = <0x0 0x1b0000 0x10000>;
  53. cal: cal@0 {
  54. compatible = "ti,dra76-cal";
  55. reg = <0x0000 0x400>,
  56. <0x0800 0x40>,
  57. <0x0900 0x40>;
  58. reg-names = "cal_top",
  59. "cal_rx_core0",
  60. "cal_rx_core1";
  61. interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
  62. ti,camerrx-control = <&scm_conf 0x6dc>;
  63. ports {
  64. #address-cells = <1>;
  65. #size-cells = <0>;
  66. csi2_0: port@0 {
  67. reg = <0>;
  68. };
  69. csi2_1: port@1 {
  70. reg = <1>;
  71. };
  72. };
  73. };
  74. };
  75. };
  76. &scm_conf_clocks {
  77. dpll_gmac_h14x2_ctrl_ck: dpll_gmac_h14x2_ctrl_ck@3fc {
  78. #clock-cells = <0>;
  79. compatible = "ti,divider-clock";
  80. clocks = <&dpll_gmac_x2_ck>;
  81. ti,max-div = <63>;
  82. reg = <0x03fc>;
  83. ti,bit-shift = <20>;
  84. ti,latch-bit = <26>;
  85. assigned-clocks = <&dpll_gmac_h14x2_ctrl_ck>;
  86. assigned-clock-rates = <80000000>;
  87. };
  88. dpll_gmac_h14x2_ctrl_mux_ck: dpll_gmac_h14x2_ctrl_mux_ck@3fc {
  89. #clock-cells = <0>;
  90. compatible = "ti,mux-clock";
  91. clocks = <&dpll_gmac_ck>, <&dpll_gmac_h14x2_ctrl_ck>;
  92. reg = <0x3fc>;
  93. ti,bit-shift = <29>;
  94. ti,latch-bit = <26>;
  95. assigned-clocks = <&dpll_gmac_h14x2_ctrl_mux_ck>;
  96. assigned-clock-parents = <&dpll_gmac_h14x2_ctrl_ck>;
  97. };
  98. mcan_clk: mcan_clk@3fc {
  99. #clock-cells = <0>;
  100. compatible = "ti,gate-clock";
  101. clocks = <&dpll_gmac_h14x2_ctrl_mux_ck>;
  102. ti,bit-shift = <27>;
  103. reg = <0x3fc>;
  104. };
  105. };
  106. &rtctarget {
  107. status = "disabled";
  108. };
  109. &usb4_tm {
  110. status = "disabled";
  111. };
  112. &mmc3 {
  113. /* dra76x is not affected by i887 */
  114. max-frequency = <96000000>;
  115. };
  116. &cpu0_opp_table {
  117. opp_plus@1800000000 {
  118. opp-hz = /bits/ 64 <1800000000>;
  119. opp-microvolt = <1250000 950000 1250000>,
  120. <1250000 950000 1250000>;
  121. opp-supported-hw = <0xFF 0x08>;
  122. };
  123. };
  124. &opp_supply_mpu {
  125. ti,efuse-settings = <
  126. /* uV offset */
  127. 1060000 0x0
  128. 1160000 0x4
  129. 1210000 0x8
  130. 1250000 0xC
  131. >;
  132. };
  133. &abb_mpu {
  134. ti,abb_info = <
  135. /*uV ABB efuse rbb_m fbb_m vset_m*/
  136. 1060000 0 0x0 0 0x02000000 0x01F00000
  137. 1160000 0 0x4 0 0x02000000 0x01F00000
  138. 1210000 0 0x8 0 0x02000000 0x01F00000
  139. 1250000 0 0xC 0 0x02000000 0x01F00000
  140. >;
  141. };