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