mt8186-evb.dts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. /*
  3. * Copyright (C) 2022 MediaTek Inc.
  4. */
  5. /dts-v1/;
  6. #include "mt8186.dtsi"
  7. / {
  8. model = "MediaTek MT8186 evaluation board";
  9. compatible = "mediatek,mt8186-evb", "mediatek,mt8186";
  10. aliases {
  11. serial0 = &uart0;
  12. };
  13. chosen {
  14. stdout-path = "serial0:921600n8";
  15. };
  16. memory@40000000 {
  17. device_type = "memory";
  18. reg = <0 0x40000000 0 0x80000000>;
  19. };
  20. };
  21. &i2c0 {
  22. status = "okay";
  23. clock-frequency = <400000>;
  24. pinctrl-names = "default";
  25. pinctrl-0 = <&i2c0_pins>;
  26. };
  27. &i2c1 {
  28. status = "okay";
  29. clock-frequency = <400000>;
  30. i2c-scl-internal-delay-ns = <8000>;
  31. pinctrl-names = "default";
  32. pinctrl-0 = <&i2c1_pins>;
  33. };
  34. &i2c2 {
  35. status = "okay";
  36. clock-frequency = <400000>;
  37. i2c-scl-internal-delay-ns = <10000>;
  38. pinctrl-names = "default";
  39. pinctrl-0 = <&i2c2_pins>;
  40. };
  41. &i2c3 {
  42. status = "okay";
  43. clock-frequency = <400000>;
  44. pinctrl-names = "default";
  45. pinctrl-0 = <&i2c3_pins>;
  46. };
  47. &i2c4 {
  48. status = "okay";
  49. clock-frequency = <400000>;
  50. pinctrl-names = "default";
  51. pinctrl-0 = <&i2c4_pins>;
  52. };
  53. &i2c5 {
  54. status = "okay";
  55. clock-frequency = <400000>;
  56. pinctrl-names = "default";
  57. pinctrl-0 = <&i2c5_pins>;
  58. };
  59. &i2c6 {
  60. status = "okay";
  61. clock-frequency = <400000>;
  62. pinctrl-names = "default";
  63. pinctrl-0 = <&i2c6_pins>;
  64. };
  65. &i2c7 {
  66. status = "okay";
  67. clock-frequency = <400000>;
  68. pinctrl-names = "default";
  69. pinctrl-0 = <&i2c7_pins>;
  70. };
  71. &i2c8 {
  72. status = "okay";
  73. clock-frequency = <400000>;
  74. pinctrl-names = "default";
  75. pinctrl-0 = <&i2c8_pins>;
  76. };
  77. &i2c9 {
  78. status = "okay";
  79. clock-frequency = <400000>;
  80. pinctrl-names = "default";
  81. pinctrl-0 = <&i2c9_pins>;
  82. };
  83. &pio {
  84. i2c0_pins: i2c0-default-pins {
  85. pins-bus {
  86. pinmux = <PINMUX_GPIO128__FUNC_SDA0>,
  87. <PINMUX_GPIO127__FUNC_SCL0>;
  88. bias-disable;
  89. drive-strength-microamp = <1000>;
  90. input-enable;
  91. };
  92. };
  93. i2c1_pins: i2c1-default-pins {
  94. pins-bus {
  95. pinmux = <PINMUX_GPIO130__FUNC_SDA1>,
  96. <PINMUX_GPIO129__FUNC_SCL1>;
  97. bias-disable;
  98. drive-strength-microamp = <1000>;
  99. input-enable;
  100. };
  101. };
  102. i2c2_pins: i2c2-default-pins {
  103. pins-bus {
  104. pinmux = <PINMUX_GPIO132__FUNC_SDA2>,
  105. <PINMUX_GPIO131__FUNC_SCL2>;
  106. bias-disable;
  107. drive-strength-microamp = <1000>;
  108. input-enable;
  109. };
  110. };
  111. i2c3_pins: i2c3-default-pins {
  112. pins-bus {
  113. pinmux = <PINMUX_GPIO134__FUNC_SDA3>,
  114. <PINMUX_GPIO133__FUNC_SCL3>;
  115. bias-disable;
  116. drive-strength-microamp = <1000>;
  117. input-enable;
  118. };
  119. };
  120. i2c4_pins: i2c4-default-pins {
  121. pins-bus {
  122. pinmux = <PINMUX_GPIO136__FUNC_SDA4>,
  123. <PINMUX_GPIO135__FUNC_SCL4>;
  124. bias-disable;
  125. drive-strength-microamp = <1000>;
  126. input-enable;
  127. };
  128. };
  129. i2c5_pins: i2c5-default-pins {
  130. pins-bus {
  131. pinmux = <PINMUX_GPIO138__FUNC_SDA5>,
  132. <PINMUX_GPIO137__FUNC_SCL5>;
  133. bias-disable;
  134. drive-strength-microamp = <1000>;
  135. input-enable;
  136. };
  137. };
  138. i2c6_pins: i2c6-default-pins {
  139. pins-bus {
  140. pinmux = <PINMUX_GPIO140__FUNC_SDA6>,
  141. <PINMUX_GPIO139__FUNC_SCL6>;
  142. bias-pull-up = <MTK_PULL_SET_RSEL_001>;
  143. drive-strength-microamp = <1000>;
  144. input-enable;
  145. };
  146. };
  147. i2c7_pins: i2c7-default-pins {
  148. pins-bus {
  149. pinmux = <PINMUX_GPIO142__FUNC_SDA7>,
  150. <PINMUX_GPIO141__FUNC_SCL7>;
  151. bias-disable;
  152. drive-strength-microamp = <1000>;
  153. input-enable;
  154. };
  155. };
  156. i2c8_pins: i2c8-default-pins {
  157. pins-bus {
  158. pinmux = <PINMUX_GPIO144__FUNC_SDA8>,
  159. <PINMUX_GPIO143__FUNC_SCL8>;
  160. bias-disable;
  161. drive-strength-microamp = <1000>;
  162. input-enable;
  163. };
  164. };
  165. i2c9_pins: i2c9-default-pins {
  166. pins-bus {
  167. pinmux = <PINMUX_GPIO146__FUNC_SDA9>,
  168. <PINMUX_GPIO145__FUNC_SCL9>;
  169. bias-pull-up = <MTK_PULL_SET_RSEL_001>;
  170. drive-strength-microamp = <1000>;
  171. input-enable;
  172. };
  173. };
  174. };
  175. &u3phy0 {
  176. status = "okay";
  177. };
  178. &u3phy1 {
  179. status = "okay";
  180. };
  181. &uart0 {
  182. status = "okay";
  183. };