blob: 2667a7424200e2ede7d7aaf8b76e6829ae01e758 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// 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/ {
9 model = "MediaTek MT8186 evaluation board";
10 chassis-type = "embedded";
11 compatible = "mediatek,mt8186-evb", "mediatek,mt8186";
12
13 aliases {
14 serial0 = &uart0;
15 };
16
17 chosen {
18 stdout-path = "serial0:921600n8";
19 };
20
21 memory@40000000 {
22 device_type = "memory";
23 reg = <0 0x40000000 0 0x80000000>;
24 };
25};
26
27&i2c0 {
28 status = "okay";
29
30 clock-frequency = <400000>;
31 pinctrl-names = "default";
32 pinctrl-0 = <&i2c0_pins>;
33};
34
35&i2c1 {
36 status = "okay";
37
38 clock-frequency = <400000>;
39 i2c-scl-internal-delay-ns = <8000>;
40 pinctrl-names = "default";
41 pinctrl-0 = <&i2c1_pins>;
42};
43
44&i2c2 {
45 status = "okay";
46
47 clock-frequency = <400000>;
48 i2c-scl-internal-delay-ns = <10000>;
49 pinctrl-names = "default";
50 pinctrl-0 = <&i2c2_pins>;
51};
52
53&i2c3 {
54 status = "okay";
55
56 clock-frequency = <400000>;
57 pinctrl-names = "default";
58 pinctrl-0 = <&i2c3_pins>;
59};
60
61&i2c4 {
62 status = "okay";
63
64 clock-frequency = <400000>;
65 pinctrl-names = "default";
66 pinctrl-0 = <&i2c4_pins>;
67};
68
69&i2c5 {
70 status = "okay";
71
72 clock-frequency = <400000>;
73 pinctrl-names = "default";
74 pinctrl-0 = <&i2c5_pins>;
75};
76
77&i2c6 {
78 status = "okay";
79
80 clock-frequency = <400000>;
81 pinctrl-names = "default";
82 pinctrl-0 = <&i2c6_pins>;
83};
84
85&i2c7 {
86 status = "okay";
87
88 clock-frequency = <400000>;
89 pinctrl-names = "default";
90 pinctrl-0 = <&i2c7_pins>;
91};
92
93&i2c8 {
94 status = "okay";
95
96 clock-frequency = <400000>;
97 pinctrl-names = "default";
98 pinctrl-0 = <&i2c8_pins>;
99};
100
101&i2c9 {
102 status = "okay";
103
104 clock-frequency = <400000>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&i2c9_pins>;
107};
108
109&pio {
110 i2c0_pins: i2c0-default-pins {
111 pins-bus {
112 pinmux = <PINMUX_GPIO128__FUNC_SDA0>,
113 <PINMUX_GPIO127__FUNC_SCL0>;
114 bias-disable;
115 drive-strength-microamp = <1000>;
116 input-enable;
117 };
118 };
119
120 i2c1_pins: i2c1-default-pins {
121 pins-bus {
122 pinmux = <PINMUX_GPIO130__FUNC_SDA1>,
123 <PINMUX_GPIO129__FUNC_SCL1>;
124 bias-disable;
125 drive-strength-microamp = <1000>;
126 input-enable;
127 };
128 };
129
130 i2c2_pins: i2c2-default-pins {
131 pins-bus {
132 pinmux = <PINMUX_GPIO132__FUNC_SDA2>,
133 <PINMUX_GPIO131__FUNC_SCL2>;
134 bias-disable;
135 drive-strength-microamp = <1000>;
136 input-enable;
137 };
138 };
139
140 i2c3_pins: i2c3-default-pins {
141 pins-bus {
142 pinmux = <PINMUX_GPIO134__FUNC_SDA3>,
143 <PINMUX_GPIO133__FUNC_SCL3>;
144 bias-disable;
145 drive-strength-microamp = <1000>;
146 input-enable;
147 };
148 };
149
150 i2c4_pins: i2c4-default-pins {
151 pins-bus {
152 pinmux = <PINMUX_GPIO136__FUNC_SDA4>,
153 <PINMUX_GPIO135__FUNC_SCL4>;
154 bias-disable;
155 drive-strength-microamp = <1000>;
156 input-enable;
157 };
158 };
159
160 i2c5_pins: i2c5-default-pins {
161 pins-bus {
162 pinmux = <PINMUX_GPIO138__FUNC_SDA5>,
163 <PINMUX_GPIO137__FUNC_SCL5>;
164 bias-disable;
165 drive-strength-microamp = <1000>;
166 input-enable;
167 };
168 };
169
170 i2c6_pins: i2c6-default-pins {
171 pins-bus {
172 pinmux = <PINMUX_GPIO140__FUNC_SDA6>,
173 <PINMUX_GPIO139__FUNC_SCL6>;
174 bias-pull-up = <MTK_PULL_SET_RSEL_001>;
175 drive-strength-microamp = <1000>;
176 input-enable;
177 };
178 };
179
180 i2c7_pins: i2c7-default-pins {
181 pins-bus {
182 pinmux = <PINMUX_GPIO142__FUNC_SDA7>,
183 <PINMUX_GPIO141__FUNC_SCL7>;
184 bias-disable;
185 drive-strength-microamp = <1000>;
186 input-enable;
187 };
188 };
189
190 i2c8_pins: i2c8-default-pins {
191 pins-bus {
192 pinmux = <PINMUX_GPIO144__FUNC_SDA8>,
193 <PINMUX_GPIO143__FUNC_SCL8>;
194 bias-disable;
195 drive-strength-microamp = <1000>;
196 input-enable;
197 };
198 };
199
200 i2c9_pins: i2c9-default-pins {
201 pins-bus {
202 pinmux = <PINMUX_GPIO146__FUNC_SDA9>,
203 <PINMUX_GPIO145__FUNC_SCL9>;
204 bias-pull-up = <MTK_PULL_SET_RSEL_001>;
205 drive-strength-microamp = <1000>;
206 input-enable;
207 };
208 };
209};
210
211&u3phy0 {
212 status = "okay";
213};
214
215&u3phy1 {
216 status = "okay";
217};
218
219&uart0 {
220 status = "okay";
221};