xref: /freebsd/sys/contrib/device-tree/src/arm64/mediatek/mt8183-kukui.dtsi (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * Copyright (c) 2018 MediaTek Inc.
4c66ec88fSEmmanuel Vadot * Author: Ben Ho <ben.ho@mediatek.com>
5c66ec88fSEmmanuel Vadot *	   Erin Lo <erin.lo@mediatek.com>
6c66ec88fSEmmanuel Vadot */
7c66ec88fSEmmanuel Vadot
8c66ec88fSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
9c66ec88fSEmmanuel Vadot#include <dt-bindings/input/input.h>
10c66ec88fSEmmanuel Vadot#include "mt8183.dtsi"
11c66ec88fSEmmanuel Vadot#include "mt6358.dtsi"
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadot/ {
14c66ec88fSEmmanuel Vadot	aliases {
15c66ec88fSEmmanuel Vadot		serial0 = &uart0;
16354d7675SEmmanuel Vadot		mmc0 = &mmc0;
17354d7675SEmmanuel Vadot		mmc1 = &mmc1;
18c66ec88fSEmmanuel Vadot	};
19c66ec88fSEmmanuel Vadot
20c66ec88fSEmmanuel Vadot	chosen {
21c66ec88fSEmmanuel Vadot		stdout-path = "serial0:115200n8";
22c66ec88fSEmmanuel Vadot	};
23c66ec88fSEmmanuel Vadot
245def4c47SEmmanuel Vadot	backlight_lcd0: backlight_lcd0 {
255def4c47SEmmanuel Vadot		compatible = "pwm-backlight";
265def4c47SEmmanuel Vadot		pwms = <&pwm0 0 500000>;
275def4c47SEmmanuel Vadot		power-supply = <&bl_pp5000>;
285def4c47SEmmanuel Vadot		enable-gpios = <&pio 176 0>;
295def4c47SEmmanuel Vadot		brightness-levels = <0 1023>;
305def4c47SEmmanuel Vadot		num-interpolated-steps = <1023>;
315def4c47SEmmanuel Vadot		default-brightness-level = <576>;
325def4c47SEmmanuel Vadot		status = "okay";
335def4c47SEmmanuel Vadot	};
345def4c47SEmmanuel Vadot
35c66ec88fSEmmanuel Vadot	memory@40000000 {
36c66ec88fSEmmanuel Vadot		device_type = "memory";
37c66ec88fSEmmanuel Vadot		reg = <0 0x40000000 0 0x80000000>;
38c66ec88fSEmmanuel Vadot	};
39c66ec88fSEmmanuel Vadot
40c66ec88fSEmmanuel Vadot	clk32k: oscillator1 {
41c66ec88fSEmmanuel Vadot		compatible = "fixed-clock";
42c66ec88fSEmmanuel Vadot		#clock-cells = <0>;
43c66ec88fSEmmanuel Vadot		clock-frequency = <32768>;
44c66ec88fSEmmanuel Vadot		clock-output-names = "clk32k";
45c66ec88fSEmmanuel Vadot	};
46c66ec88fSEmmanuel Vadot
47c66ec88fSEmmanuel Vadot	it6505_pp18_reg: regulator0 {
48c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
49c66ec88fSEmmanuel Vadot		regulator-name = "it6505_pp18";
50c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
51c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
52c66ec88fSEmmanuel Vadot		gpio = <&pio 178 0>;
53c66ec88fSEmmanuel Vadot		enable-active-high;
54c66ec88fSEmmanuel Vadot	};
55c66ec88fSEmmanuel Vadot
56c66ec88fSEmmanuel Vadot	lcd_pp3300: regulator1 {
57c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
58c66ec88fSEmmanuel Vadot		regulator-name = "lcd_pp3300";
59c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
60c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
61c66ec88fSEmmanuel Vadot		regulator-always-on;
62c66ec88fSEmmanuel Vadot		regulator-boot-on;
63c66ec88fSEmmanuel Vadot	};
64c66ec88fSEmmanuel Vadot
65c66ec88fSEmmanuel Vadot	bl_pp5000: regulator2 {
66c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
67c66ec88fSEmmanuel Vadot		regulator-name = "bl_pp5000";
68c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
69c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
70c66ec88fSEmmanuel Vadot		regulator-always-on;
71c66ec88fSEmmanuel Vadot		regulator-boot-on;
72c66ec88fSEmmanuel Vadot	};
73c66ec88fSEmmanuel Vadot
74c66ec88fSEmmanuel Vadot	mmc1_fixed_power: regulator3 {
75c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
76c66ec88fSEmmanuel Vadot		regulator-name = "mmc1_power";
77c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
78c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
79c66ec88fSEmmanuel Vadot	};
80c66ec88fSEmmanuel Vadot
81c66ec88fSEmmanuel Vadot	mmc1_fixed_io: regulator4 {
82c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
83c66ec88fSEmmanuel Vadot		regulator-name = "mmc1_io";
84c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
85c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
86c66ec88fSEmmanuel Vadot	};
87c66ec88fSEmmanuel Vadot
88c66ec88fSEmmanuel Vadot	pp1800_alw: regulator5 {
89c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
90c66ec88fSEmmanuel Vadot		regulator-name = "pp1800_alw";
91c66ec88fSEmmanuel Vadot		regulator-always-on;
92c66ec88fSEmmanuel Vadot		regulator-boot-on;
93c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
94c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
95c66ec88fSEmmanuel Vadot	};
96c66ec88fSEmmanuel Vadot
97c66ec88fSEmmanuel Vadot	pp3300_alw: regulator6 {
98c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
99c66ec88fSEmmanuel Vadot		regulator-name = "pp3300_alw";
100c66ec88fSEmmanuel Vadot		regulator-always-on;
101c66ec88fSEmmanuel Vadot		regulator-boot-on;
102c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
103c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
104c66ec88fSEmmanuel Vadot	};
105c66ec88fSEmmanuel Vadot
10684943d6fSEmmanuel Vadot	/* system wide semi-regulated power rail from charger */
10784943d6fSEmmanuel Vadot	reg_vsys: regulator-vsys {
10884943d6fSEmmanuel Vadot		compatible = "regulator-fixed";
10984943d6fSEmmanuel Vadot		regulator-name = "vsys";
11084943d6fSEmmanuel Vadot		regulator-always-on;
11184943d6fSEmmanuel Vadot		regulator-boot-on;
11284943d6fSEmmanuel Vadot	};
11384943d6fSEmmanuel Vadot
1146be33864SEmmanuel Vadot	reserved_memory: reserved-memory {
1156be33864SEmmanuel Vadot		#address-cells = <2>;
1166be33864SEmmanuel Vadot		#size-cells = <2>;
1176be33864SEmmanuel Vadot		ranges;
1186be33864SEmmanuel Vadot
11984943d6fSEmmanuel Vadot		scp_mem_reserved: memory@50000000 {
1206be33864SEmmanuel Vadot			compatible = "shared-dma-pool";
1216be33864SEmmanuel Vadot			reg = <0 0x50000000 0 0x2900000>;
1226be33864SEmmanuel Vadot			no-map;
1236be33864SEmmanuel Vadot		};
1246be33864SEmmanuel Vadot	};
1256be33864SEmmanuel Vadot
1268cc087a1SEmmanuel Vadot	sound: mt8183-sound {
1278cc087a1SEmmanuel Vadot		mediatek,platform = <&afe>;
1288cc087a1SEmmanuel Vadot		pinctrl-names = "default",
1298cc087a1SEmmanuel Vadot				"aud_tdm_out_on",
1308cc087a1SEmmanuel Vadot				"aud_tdm_out_off";
1318cc087a1SEmmanuel Vadot		pinctrl-0 = <&aud_pins_default>;
1328cc087a1SEmmanuel Vadot		pinctrl-1 = <&aud_pins_tdm_out_on>;
1338cc087a1SEmmanuel Vadot		pinctrl-2 = <&aud_pins_tdm_out_off>;
1348cc087a1SEmmanuel Vadot		status = "okay";
135c66ec88fSEmmanuel Vadot	};
136c66ec88fSEmmanuel Vadot
1378cc087a1SEmmanuel Vadot	btsco: bt-sco {
138c66ec88fSEmmanuel Vadot		compatible = "linux,bt-sco";
139c66ec88fSEmmanuel Vadot	};
140c66ec88fSEmmanuel Vadot
141c66ec88fSEmmanuel Vadot	wifi_pwrseq: wifi-pwrseq {
142c66ec88fSEmmanuel Vadot		compatible = "mmc-pwrseq-simple";
143c66ec88fSEmmanuel Vadot		pinctrl-names = "default";
144c66ec88fSEmmanuel Vadot		pinctrl-0 = <&wifi_pins_pwrseq>;
145c66ec88fSEmmanuel Vadot
146c66ec88fSEmmanuel Vadot		/* Toggle WIFI_ENABLE to reset the chip. */
147c66ec88fSEmmanuel Vadot		reset-gpios = <&pio 119 1>;
148c66ec88fSEmmanuel Vadot	};
149c66ec88fSEmmanuel Vadot
150c66ec88fSEmmanuel Vadot	wifi_wakeup: wifi-wakeup {
151c66ec88fSEmmanuel Vadot		compatible = "gpio-keys";
152c66ec88fSEmmanuel Vadot		pinctrl-names = "default";
153c66ec88fSEmmanuel Vadot		pinctrl-0 = <&wifi_pins_wakeup>;
154c66ec88fSEmmanuel Vadot
155b97ee269SEmmanuel Vadot		button-wowlan {
156c66ec88fSEmmanuel Vadot			label = "Wake on WiFi";
157c66ec88fSEmmanuel Vadot			gpios = <&pio 113 GPIO_ACTIVE_HIGH>;
158c66ec88fSEmmanuel Vadot			linux,code = <KEY_WAKEUP>;
159c66ec88fSEmmanuel Vadot			wakeup-source;
160c66ec88fSEmmanuel Vadot		};
161c66ec88fSEmmanuel Vadot	};
162c66ec88fSEmmanuel Vadot
163c66ec88fSEmmanuel Vadot	tboard_thermistor1: thermal-sensor1 {
164c66ec88fSEmmanuel Vadot		compatible = "generic-adc-thermal";
165c66ec88fSEmmanuel Vadot		#thermal-sensor-cells = <0>;
166c66ec88fSEmmanuel Vadot		io-channels = <&auxadc 0>;
167c66ec88fSEmmanuel Vadot		io-channel-names = "sensor-channel";
168e67e8565SEmmanuel Vadot		temperature-lookup-table = <    (-5000) 1553
169e67e8565SEmmanuel Vadot						0 1488
170e67e8565SEmmanuel Vadot						5000 1412
171e67e8565SEmmanuel Vadot						10000 1326
172e67e8565SEmmanuel Vadot						15000 1232
173e67e8565SEmmanuel Vadot						20000 1132
174e67e8565SEmmanuel Vadot						25000 1029
175e67e8565SEmmanuel Vadot						30000 925
176e67e8565SEmmanuel Vadot						35000 823
177e67e8565SEmmanuel Vadot						40000 726
178e67e8565SEmmanuel Vadot						45000 635
179e67e8565SEmmanuel Vadot						50000 552
180e67e8565SEmmanuel Vadot						55000 478
181e67e8565SEmmanuel Vadot						60000 411
182e67e8565SEmmanuel Vadot						65000 353
183e67e8565SEmmanuel Vadot						70000 303
184e67e8565SEmmanuel Vadot						75000 260
185e67e8565SEmmanuel Vadot						80000 222
186e67e8565SEmmanuel Vadot						85000 190
187e67e8565SEmmanuel Vadot						90000 163
188e67e8565SEmmanuel Vadot						95000 140
189e67e8565SEmmanuel Vadot						100000 121
190e67e8565SEmmanuel Vadot						105000 104
191e67e8565SEmmanuel Vadot						110000 90
192e67e8565SEmmanuel Vadot						115000 78
193e67e8565SEmmanuel Vadot						120000 67
194e67e8565SEmmanuel Vadot						125000 59>;
195c66ec88fSEmmanuel Vadot	};
196c66ec88fSEmmanuel Vadot
197c66ec88fSEmmanuel Vadot	tboard_thermistor2: thermal-sensor2 {
198c66ec88fSEmmanuel Vadot		compatible = "generic-adc-thermal";
199c66ec88fSEmmanuel Vadot		#thermal-sensor-cells = <0>;
200c66ec88fSEmmanuel Vadot		io-channels = <&auxadc 1>;
201c66ec88fSEmmanuel Vadot		io-channel-names = "sensor-channel";
202e67e8565SEmmanuel Vadot		temperature-lookup-table = <    (-5000) 1553
203e67e8565SEmmanuel Vadot						0 1488
204e67e8565SEmmanuel Vadot						5000 1412
205e67e8565SEmmanuel Vadot						10000 1326
206e67e8565SEmmanuel Vadot						15000 1232
207e67e8565SEmmanuel Vadot						20000 1132
208e67e8565SEmmanuel Vadot						25000 1029
209e67e8565SEmmanuel Vadot						30000 925
210e67e8565SEmmanuel Vadot						35000 823
211e67e8565SEmmanuel Vadot						40000 726
212e67e8565SEmmanuel Vadot						45000 635
213e67e8565SEmmanuel Vadot						50000 552
214e67e8565SEmmanuel Vadot						55000 478
215e67e8565SEmmanuel Vadot						60000 411
216e67e8565SEmmanuel Vadot						65000 353
217e67e8565SEmmanuel Vadot						70000 303
218e67e8565SEmmanuel Vadot						75000 260
219e67e8565SEmmanuel Vadot						80000 222
220e67e8565SEmmanuel Vadot						85000 190
221e67e8565SEmmanuel Vadot						90000 163
222e67e8565SEmmanuel Vadot						95000 140
223e67e8565SEmmanuel Vadot						100000 121
224e67e8565SEmmanuel Vadot						105000 104
225e67e8565SEmmanuel Vadot						110000 90
226e67e8565SEmmanuel Vadot						115000 78
227e67e8565SEmmanuel Vadot						120000 67
228e67e8565SEmmanuel Vadot						125000 59>;
229c66ec88fSEmmanuel Vadot	};
230c66ec88fSEmmanuel Vadot};
231c66ec88fSEmmanuel Vadot
232c66ec88fSEmmanuel Vadot&auxadc {
233c66ec88fSEmmanuel Vadot	status = "okay";
234c66ec88fSEmmanuel Vadot};
235c66ec88fSEmmanuel Vadot
236b97ee269SEmmanuel Vadot&cci {
237b97ee269SEmmanuel Vadot	proc-supply = <&mt6358_vproc12_reg>;
238b97ee269SEmmanuel Vadot};
239b97ee269SEmmanuel Vadot
240c66ec88fSEmmanuel Vadot&cpu0 {
241c66ec88fSEmmanuel Vadot	proc-supply = <&mt6358_vproc12_reg>;
242c66ec88fSEmmanuel Vadot};
243c66ec88fSEmmanuel Vadot
244c66ec88fSEmmanuel Vadot&cpu1 {
245c66ec88fSEmmanuel Vadot	proc-supply = <&mt6358_vproc12_reg>;
246c66ec88fSEmmanuel Vadot};
247c66ec88fSEmmanuel Vadot
248c66ec88fSEmmanuel Vadot&cpu2 {
249c66ec88fSEmmanuel Vadot	proc-supply = <&mt6358_vproc12_reg>;
250c66ec88fSEmmanuel Vadot};
251c66ec88fSEmmanuel Vadot
252c66ec88fSEmmanuel Vadot&cpu3 {
253c66ec88fSEmmanuel Vadot	proc-supply = <&mt6358_vproc12_reg>;
254c66ec88fSEmmanuel Vadot};
255c66ec88fSEmmanuel Vadot
256c66ec88fSEmmanuel Vadot&cpu4 {
257c66ec88fSEmmanuel Vadot	proc-supply = <&mt6358_vproc11_reg>;
258c66ec88fSEmmanuel Vadot};
259c66ec88fSEmmanuel Vadot
260c66ec88fSEmmanuel Vadot&cpu5 {
261c66ec88fSEmmanuel Vadot	proc-supply = <&mt6358_vproc11_reg>;
262c66ec88fSEmmanuel Vadot};
263c66ec88fSEmmanuel Vadot
264c66ec88fSEmmanuel Vadot&cpu6 {
265c66ec88fSEmmanuel Vadot	proc-supply = <&mt6358_vproc11_reg>;
266c66ec88fSEmmanuel Vadot};
267c66ec88fSEmmanuel Vadot
268c66ec88fSEmmanuel Vadot&cpu7 {
269c66ec88fSEmmanuel Vadot	proc-supply = <&mt6358_vproc11_reg>;
270c66ec88fSEmmanuel Vadot};
271c66ec88fSEmmanuel Vadot
2725def4c47SEmmanuel Vadot&dsi0 {
2735def4c47SEmmanuel Vadot	status = "okay";
2745def4c47SEmmanuel Vadot	#address-cells = <1>;
2755def4c47SEmmanuel Vadot	#size-cells = <0>;
2765def4c47SEmmanuel Vadot	panel: panel@0 {
2775def4c47SEmmanuel Vadot		/* compatible will be set in board dts */
2785def4c47SEmmanuel Vadot		reg = <0>;
2795def4c47SEmmanuel Vadot		enable-gpios = <&pio 45 0>;
2805def4c47SEmmanuel Vadot		pinctrl-names = "default";
2815def4c47SEmmanuel Vadot		pinctrl-0 = <&panel_pins_default>;
2825def4c47SEmmanuel Vadot		avdd-supply = <&ppvarn_lcd>;
2835def4c47SEmmanuel Vadot		avee-supply = <&ppvarp_lcd>;
2845def4c47SEmmanuel Vadot		pp1800-supply = <&pp1800_lcd>;
2855def4c47SEmmanuel Vadot		backlight = <&backlight_lcd0>;
286b97ee269SEmmanuel Vadot		rotation = <270>;
2875def4c47SEmmanuel Vadot		port {
2885def4c47SEmmanuel Vadot			panel_in: endpoint {
2895def4c47SEmmanuel Vadot				remote-endpoint = <&dsi_out>;
2905def4c47SEmmanuel Vadot			};
2915def4c47SEmmanuel Vadot		};
2925def4c47SEmmanuel Vadot	};
2935def4c47SEmmanuel Vadot
2945def4c47SEmmanuel Vadot	ports {
2955def4c47SEmmanuel Vadot		port {
2965def4c47SEmmanuel Vadot			dsi_out: endpoint {
2975def4c47SEmmanuel Vadot				remote-endpoint = <&panel_in>;
2985def4c47SEmmanuel Vadot			};
2995def4c47SEmmanuel Vadot		};
3005def4c47SEmmanuel Vadot	};
3015def4c47SEmmanuel Vadot};
3025def4c47SEmmanuel Vadot
303f126890aSEmmanuel Vadot&gic {
304f126890aSEmmanuel Vadot	mediatek,broken-save-restore-fw;
305f126890aSEmmanuel Vadot};
306f126890aSEmmanuel Vadot
3075956d97fSEmmanuel Vadot&gpu {
3085956d97fSEmmanuel Vadot	mali-supply = <&mt6358_vgpu_reg>;
3095956d97fSEmmanuel Vadot};
3105956d97fSEmmanuel Vadot
311c66ec88fSEmmanuel Vadot&i2c0 {
312c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
313c66ec88fSEmmanuel Vadot	pinctrl-0 = <&i2c0_pins>;
314c66ec88fSEmmanuel Vadot	status = "okay";
315c66ec88fSEmmanuel Vadot	clock-frequency = <400000>;
316c66ec88fSEmmanuel Vadot	#address-cells = <1>;
317c66ec88fSEmmanuel Vadot	#size-cells = <0>;
318c66ec88fSEmmanuel Vadot};
319c66ec88fSEmmanuel Vadot
320c66ec88fSEmmanuel Vadot&i2c1 {
321c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
322c66ec88fSEmmanuel Vadot	pinctrl-0 = <&i2c1_pins>;
323c66ec88fSEmmanuel Vadot	status = "okay";
324c66ec88fSEmmanuel Vadot	clock-frequency = <100000>;
325c66ec88fSEmmanuel Vadot};
326c66ec88fSEmmanuel Vadot
327c66ec88fSEmmanuel Vadot&i2c3 {
328c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
329c66ec88fSEmmanuel Vadot	pinctrl-0 = <&i2c3_pins>;
330c66ec88fSEmmanuel Vadot	status = "okay";
331c66ec88fSEmmanuel Vadot	clock-frequency = <100000>;
332c66ec88fSEmmanuel Vadot	#address-cells = <1>;
333c66ec88fSEmmanuel Vadot	#size-cells = <0>;
334c66ec88fSEmmanuel Vadot};
335c66ec88fSEmmanuel Vadot
336c66ec88fSEmmanuel Vadot&i2c5 {
337c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
338c66ec88fSEmmanuel Vadot	pinctrl-0 = <&i2c5_pins>;
339c66ec88fSEmmanuel Vadot	status = "okay";
340c66ec88fSEmmanuel Vadot	clock-frequency = <100000>;
341c66ec88fSEmmanuel Vadot	#address-cells = <1>;
342c66ec88fSEmmanuel Vadot	#size-cells = <0>;
343c66ec88fSEmmanuel Vadot};
344c66ec88fSEmmanuel Vadot
345c66ec88fSEmmanuel Vadot&i2c6 {
346c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
347c66ec88fSEmmanuel Vadot	pinctrl-0 = <&i2c6_pins>;
348c66ec88fSEmmanuel Vadot	status = "okay";
349c66ec88fSEmmanuel Vadot	clock-frequency = <100000>;
350c66ec88fSEmmanuel Vadot};
351c66ec88fSEmmanuel Vadot
3525def4c47SEmmanuel Vadot&mipi_tx0 {
3535def4c47SEmmanuel Vadot	status = "okay";
3545def4c47SEmmanuel Vadot};
3555def4c47SEmmanuel Vadot
356c66ec88fSEmmanuel Vadot&mmc0 {
357c66ec88fSEmmanuel Vadot	status = "okay";
358c66ec88fSEmmanuel Vadot	pinctrl-names = "default", "state_uhs";
359c66ec88fSEmmanuel Vadot	pinctrl-0 = <&mmc0_pins_default>;
360c66ec88fSEmmanuel Vadot	pinctrl-1 = <&mmc0_pins_uhs>;
361c66ec88fSEmmanuel Vadot	bus-width = <8>;
362c66ec88fSEmmanuel Vadot	max-frequency = <200000000>;
363c66ec88fSEmmanuel Vadot	cap-mmc-highspeed;
364c66ec88fSEmmanuel Vadot	mmc-hs200-1_8v;
365c66ec88fSEmmanuel Vadot	mmc-hs400-1_8v;
366c66ec88fSEmmanuel Vadot	cap-mmc-hw-reset;
367c66ec88fSEmmanuel Vadot	no-sdio;
368c66ec88fSEmmanuel Vadot	no-sd;
369c66ec88fSEmmanuel Vadot	hs400-ds-delay = <0x12814>;
370c66ec88fSEmmanuel Vadot	vmmc-supply = <&mt6358_vemc_reg>;
371c66ec88fSEmmanuel Vadot	vqmmc-supply = <&mt6358_vio18_reg>;
372c66ec88fSEmmanuel Vadot	assigned-clocks = <&topckgen CLK_TOP_MUX_MSDC50_0>;
373c66ec88fSEmmanuel Vadot	assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_CK>;
374c66ec88fSEmmanuel Vadot	non-removable;
375c66ec88fSEmmanuel Vadot};
376c66ec88fSEmmanuel Vadot
377c66ec88fSEmmanuel Vadot&mmc1 {
378c66ec88fSEmmanuel Vadot	status = "okay";
379c66ec88fSEmmanuel Vadot	pinctrl-names = "default", "state_uhs";
380c66ec88fSEmmanuel Vadot	pinctrl-0 = <&mmc1_pins_default>;
381c66ec88fSEmmanuel Vadot	pinctrl-1 = <&mmc1_pins_uhs>;
382c66ec88fSEmmanuel Vadot	vmmc-supply = <&mmc1_fixed_power>;
383c66ec88fSEmmanuel Vadot	vqmmc-supply = <&mmc1_fixed_io>;
384c66ec88fSEmmanuel Vadot	mmc-pwrseq = <&wifi_pwrseq>;
385c66ec88fSEmmanuel Vadot	bus-width = <4>;
386c66ec88fSEmmanuel Vadot	max-frequency = <200000000>;
387c66ec88fSEmmanuel Vadot	cap-sd-highspeed;
388c66ec88fSEmmanuel Vadot	sd-uhs-sdr50;
389c66ec88fSEmmanuel Vadot	sd-uhs-sdr104;
390c66ec88fSEmmanuel Vadot	keep-power-in-suspend;
391b97ee269SEmmanuel Vadot	wakeup-source;
392c66ec88fSEmmanuel Vadot	cap-sdio-irq;
393c66ec88fSEmmanuel Vadot	non-removable;
394c66ec88fSEmmanuel Vadot	no-mmc;
395c66ec88fSEmmanuel Vadot	no-sd;
396c66ec88fSEmmanuel Vadot	assigned-clocks = <&topckgen CLK_TOP_MUX_MSDC30_1>;
397c66ec88fSEmmanuel Vadot	assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_D2>;
398c66ec88fSEmmanuel Vadot	#address-cells = <1>;
399c66ec88fSEmmanuel Vadot	#size-cells = <0>;
400c66ec88fSEmmanuel Vadot
401c66ec88fSEmmanuel Vadot	qca_wifi: qca-wifi@1 {
402c66ec88fSEmmanuel Vadot		compatible = "qcom,ath10k";
403c66ec88fSEmmanuel Vadot		reg = <1>;
404c66ec88fSEmmanuel Vadot	};
405c66ec88fSEmmanuel Vadot};
406c66ec88fSEmmanuel Vadot
407c66ec88fSEmmanuel Vadot&mt6358_vdram2_reg {
408c66ec88fSEmmanuel Vadot	regulator-always-on;
409c66ec88fSEmmanuel Vadot};
410c66ec88fSEmmanuel Vadot
411c66ec88fSEmmanuel Vadot&mt6358codec {
412c66ec88fSEmmanuel Vadot	Avdd-supply = <&mt6358_vaud28_reg>;
413c66ec88fSEmmanuel Vadot};
414c66ec88fSEmmanuel Vadot
41584943d6fSEmmanuel Vadot&mt6358regulator {
41684943d6fSEmmanuel Vadot	vsys-ldo1-supply = <&reg_vsys>;
41784943d6fSEmmanuel Vadot	vsys-ldo2-supply = <&reg_vsys>;
41884943d6fSEmmanuel Vadot	vsys-ldo3-supply = <&reg_vsys>;
41984943d6fSEmmanuel Vadot	vsys-vcore-supply = <&reg_vsys>;
42084943d6fSEmmanuel Vadot	vsys-vdram1-supply = <&reg_vsys>;
42184943d6fSEmmanuel Vadot	vsys-vgpu-supply = <&reg_vsys>;
42284943d6fSEmmanuel Vadot	vsys-vmodem-supply = <&reg_vsys>;
42384943d6fSEmmanuel Vadot	vsys-vpa-supply = <&reg_vsys>;
42484943d6fSEmmanuel Vadot	vsys-vproc11-supply = <&reg_vsys>;
42584943d6fSEmmanuel Vadot	vsys-vproc12-supply = <&reg_vsys>;
42684943d6fSEmmanuel Vadot	vsys-vs1-supply = <&reg_vsys>;
42784943d6fSEmmanuel Vadot	vsys-vs2-supply = <&reg_vsys>;
42884943d6fSEmmanuel Vadot	vs1-ldo1-supply = <&mt6358_vs1_reg>;
42984943d6fSEmmanuel Vadot	vs2-ldo1-supply = <&mt6358_vdram1_reg>;
43084943d6fSEmmanuel Vadot	vs2-ldo2-supply = <&mt6358_vs2_reg>;
43184943d6fSEmmanuel Vadot	vs2-ldo3-supply = <&mt6358_vs2_reg>;
43284943d6fSEmmanuel Vadot	vs2-ldo4-supply = <&mt6358_vs2_reg>;
43384943d6fSEmmanuel Vadot};
43484943d6fSEmmanuel Vadot
435fac71e4eSEmmanuel Vadot&mt6358_vgpu_reg {
436fac71e4eSEmmanuel Vadot	regulator-min-microvolt = <625000>;
437fac71e4eSEmmanuel Vadot	regulator-max-microvolt = <900000>;
438fac71e4eSEmmanuel Vadot
439fac71e4eSEmmanuel Vadot	regulator-coupled-with = <&mt6358_vsram_gpu_reg>;
440fac71e4eSEmmanuel Vadot	regulator-coupled-max-spread = <100000>;
441fac71e4eSEmmanuel Vadot};
442fac71e4eSEmmanuel Vadot
443c66ec88fSEmmanuel Vadot&mt6358_vsim1_reg {
444c66ec88fSEmmanuel Vadot	regulator-min-microvolt = <2700000>;
445c66ec88fSEmmanuel Vadot	regulator-max-microvolt = <2700000>;
446c66ec88fSEmmanuel Vadot};
447c66ec88fSEmmanuel Vadot
448c66ec88fSEmmanuel Vadot&mt6358_vsim2_reg {
449c66ec88fSEmmanuel Vadot	regulator-min-microvolt = <2700000>;
450c66ec88fSEmmanuel Vadot	regulator-max-microvolt = <2700000>;
451c66ec88fSEmmanuel Vadot};
452c66ec88fSEmmanuel Vadot
453fac71e4eSEmmanuel Vadot&mt6358_vsram_gpu_reg {
454fac71e4eSEmmanuel Vadot	regulator-min-microvolt = <850000>;
455fac71e4eSEmmanuel Vadot	regulator-max-microvolt = <1000000>;
456fac71e4eSEmmanuel Vadot
457fac71e4eSEmmanuel Vadot	regulator-coupled-with = <&mt6358_vgpu_reg>;
458fac71e4eSEmmanuel Vadot	regulator-coupled-max-spread = <100000>;
459fac71e4eSEmmanuel Vadot};
460fac71e4eSEmmanuel Vadot
461c66ec88fSEmmanuel Vadot&pio {
4628cc087a1SEmmanuel Vadot	aud_pins_default: audiopins {
46384943d6fSEmmanuel Vadot		pins-bus {
4648cc087a1SEmmanuel Vadot			pinmux = <PINMUX_GPIO97__FUNC_I2S2_MCK>,
4658cc087a1SEmmanuel Vadot				<PINMUX_GPIO98__FUNC_I2S2_BCK>,
4668cc087a1SEmmanuel Vadot				<PINMUX_GPIO101__FUNC_I2S2_LRCK>,
4678cc087a1SEmmanuel Vadot				<PINMUX_GPIO102__FUNC_I2S2_DI>,
4688cc087a1SEmmanuel Vadot				<PINMUX_GPIO3__FUNC_I2S3_DO>, /*i2s to da7219/max98357*/
4698cc087a1SEmmanuel Vadot				<PINMUX_GPIO89__FUNC_I2S5_BCK>,
4708cc087a1SEmmanuel Vadot				<PINMUX_GPIO90__FUNC_I2S5_LRCK>,
4718cc087a1SEmmanuel Vadot				<PINMUX_GPIO91__FUNC_I2S5_DO>,
4728cc087a1SEmmanuel Vadot				<PINMUX_GPIO174__FUNC_I2S0_DI>, /*i2s to wifi/bt*/
4738cc087a1SEmmanuel Vadot				<PINMUX_GPIO136__FUNC_AUD_CLK_MOSI>,
4748cc087a1SEmmanuel Vadot				<PINMUX_GPIO137__FUNC_AUD_SYNC_MOSI>,
4758cc087a1SEmmanuel Vadot				<PINMUX_GPIO138__FUNC_AUD_DAT_MOSI0>,
4768cc087a1SEmmanuel Vadot				<PINMUX_GPIO139__FUNC_AUD_DAT_MOSI1>,
4778cc087a1SEmmanuel Vadot				<PINMUX_GPIO140__FUNC_AUD_CLK_MISO>,
4788cc087a1SEmmanuel Vadot				<PINMUX_GPIO141__FUNC_AUD_SYNC_MISO>,
4798cc087a1SEmmanuel Vadot				<PINMUX_GPIO142__FUNC_AUD_DAT_MISO0>,
4808cc087a1SEmmanuel Vadot				<PINMUX_GPIO143__FUNC_AUD_DAT_MISO1>; /*mtkaif3.0*/
4818cc087a1SEmmanuel Vadot		};
4828cc087a1SEmmanuel Vadot	};
4838cc087a1SEmmanuel Vadot
4848cc087a1SEmmanuel Vadot	aud_pins_tdm_out_on: audiotdmouton {
48584943d6fSEmmanuel Vadot		pins-bus {
4868cc087a1SEmmanuel Vadot			pinmux = <PINMUX_GPIO169__FUNC_TDM_BCK_2ND>,
4878cc087a1SEmmanuel Vadot				<PINMUX_GPIO170__FUNC_TDM_LRCK_2ND>,
4888cc087a1SEmmanuel Vadot				<PINMUX_GPIO171__FUNC_TDM_DATA0_2ND>,
4898cc087a1SEmmanuel Vadot				<PINMUX_GPIO172__FUNC_TDM_DATA1_2ND>,
4908cc087a1SEmmanuel Vadot				<PINMUX_GPIO173__FUNC_TDM_DATA2_2ND>,
4918cc087a1SEmmanuel Vadot				<PINMUX_GPIO10__FUNC_TDM_DATA3>; /*8ch-i2s to it6505*/
4928cc087a1SEmmanuel Vadot			drive-strength = <MTK_DRIVE_6mA>;
4938cc087a1SEmmanuel Vadot		};
4948cc087a1SEmmanuel Vadot	};
4958cc087a1SEmmanuel Vadot
4968cc087a1SEmmanuel Vadot	aud_pins_tdm_out_off: audiotdmoutoff {
49784943d6fSEmmanuel Vadot		pins-bus {
4988cc087a1SEmmanuel Vadot			pinmux = <PINMUX_GPIO169__FUNC_GPIO169>,
4998cc087a1SEmmanuel Vadot				<PINMUX_GPIO170__FUNC_GPIO170>,
5008cc087a1SEmmanuel Vadot				<PINMUX_GPIO171__FUNC_GPIO171>,
5018cc087a1SEmmanuel Vadot				<PINMUX_GPIO172__FUNC_GPIO172>,
5028cc087a1SEmmanuel Vadot				<PINMUX_GPIO173__FUNC_GPIO173>,
5038cc087a1SEmmanuel Vadot				<PINMUX_GPIO10__FUNC_GPIO10>;
5048cc087a1SEmmanuel Vadot			input-enable;
5058cc087a1SEmmanuel Vadot			bias-pull-down;
5068cc087a1SEmmanuel Vadot			drive-strength = <MTK_DRIVE_2mA>;
5078cc087a1SEmmanuel Vadot		};
5088cc087a1SEmmanuel Vadot	};
5098cc087a1SEmmanuel Vadot
510c66ec88fSEmmanuel Vadot	bt_pins: bt-pins {
51184943d6fSEmmanuel Vadot		pins-bt-en {
512c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO120__FUNC_GPIO120>;
513c66ec88fSEmmanuel Vadot			output-low;
514c66ec88fSEmmanuel Vadot		};
515c66ec88fSEmmanuel Vadot	};
516c66ec88fSEmmanuel Vadot
51784943d6fSEmmanuel Vadot	ec_ap_int_odl: ec-ap-int-odl {
518c66ec88fSEmmanuel Vadot		pins1 {
519c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO151__FUNC_GPIO151>;
520c66ec88fSEmmanuel Vadot			input-enable;
521c66ec88fSEmmanuel Vadot			bias-pull-up;
522c66ec88fSEmmanuel Vadot		};
523c66ec88fSEmmanuel Vadot	};
524c66ec88fSEmmanuel Vadot
52584943d6fSEmmanuel Vadot	h1_int_od_l: h1-int-od-l {
526c66ec88fSEmmanuel Vadot		pins1 {
527c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO153__FUNC_GPIO153>;
528c66ec88fSEmmanuel Vadot			input-enable;
529c66ec88fSEmmanuel Vadot		};
530c66ec88fSEmmanuel Vadot	};
531c66ec88fSEmmanuel Vadot
532c66ec88fSEmmanuel Vadot	i2c0_pins: i2c0 {
53384943d6fSEmmanuel Vadot		pins-bus {
534c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO82__FUNC_SDA0>,
535c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO83__FUNC_SCL0>;
536c66ec88fSEmmanuel Vadot			mediatek,pull-up-adv = <3>;
537c66ec88fSEmmanuel Vadot			mediatek,drive-strength-adv = <00>;
538c66ec88fSEmmanuel Vadot		};
539c66ec88fSEmmanuel Vadot	};
540c66ec88fSEmmanuel Vadot
541c66ec88fSEmmanuel Vadot	i2c1_pins: i2c1 {
54284943d6fSEmmanuel Vadot		pins-bus {
543c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO81__FUNC_SDA1>,
544c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO84__FUNC_SCL1>;
545c66ec88fSEmmanuel Vadot			mediatek,pull-up-adv = <3>;
546c66ec88fSEmmanuel Vadot			mediatek,drive-strength-adv = <00>;
547c66ec88fSEmmanuel Vadot		};
548c66ec88fSEmmanuel Vadot	};
549c66ec88fSEmmanuel Vadot
550c66ec88fSEmmanuel Vadot	i2c2_pins: i2c2 {
55184943d6fSEmmanuel Vadot		pins-bus {
552c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO103__FUNC_SCL2>,
553c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO104__FUNC_SDA2>;
554c66ec88fSEmmanuel Vadot			bias-disable;
555c66ec88fSEmmanuel Vadot			mediatek,drive-strength-adv = <00>;
556c66ec88fSEmmanuel Vadot		};
557c66ec88fSEmmanuel Vadot	};
558c66ec88fSEmmanuel Vadot
559c66ec88fSEmmanuel Vadot	i2c3_pins: i2c3 {
56084943d6fSEmmanuel Vadot		pins-bus {
561c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO50__FUNC_SCL3>,
562c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO51__FUNC_SDA3>;
563c66ec88fSEmmanuel Vadot			mediatek,pull-up-adv = <3>;
564c66ec88fSEmmanuel Vadot			mediatek,drive-strength-adv = <00>;
565c66ec88fSEmmanuel Vadot		};
566c66ec88fSEmmanuel Vadot	};
567c66ec88fSEmmanuel Vadot
568c66ec88fSEmmanuel Vadot	i2c4_pins: i2c4 {
56984943d6fSEmmanuel Vadot		pins-bus {
570c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO105__FUNC_SCL4>,
571c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO106__FUNC_SDA4>;
572c66ec88fSEmmanuel Vadot			bias-disable;
573c66ec88fSEmmanuel Vadot			mediatek,drive-strength-adv = <00>;
574c66ec88fSEmmanuel Vadot		};
575c66ec88fSEmmanuel Vadot	};
576c66ec88fSEmmanuel Vadot
577c66ec88fSEmmanuel Vadot	i2c5_pins: i2c5 {
57884943d6fSEmmanuel Vadot		pins-bus {
579c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO48__FUNC_SCL5>,
580c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO49__FUNC_SDA5>;
581c66ec88fSEmmanuel Vadot			mediatek,pull-up-adv = <3>;
582c66ec88fSEmmanuel Vadot			mediatek,drive-strength-adv = <00>;
583c66ec88fSEmmanuel Vadot		};
584c66ec88fSEmmanuel Vadot	};
585c66ec88fSEmmanuel Vadot
586c66ec88fSEmmanuel Vadot	i2c6_pins: i2c6 {
58784943d6fSEmmanuel Vadot		pins-bus {
588c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO11__FUNC_SCL6>,
589c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO12__FUNC_SDA6>;
590c66ec88fSEmmanuel Vadot			bias-disable;
591c66ec88fSEmmanuel Vadot		};
592c66ec88fSEmmanuel Vadot	};
593c66ec88fSEmmanuel Vadot
594c66ec88fSEmmanuel Vadot	mmc0_pins_default: mmc0-pins-default {
59584943d6fSEmmanuel Vadot		pins-cmd-dat {
596c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO123__FUNC_MSDC0_DAT0>,
597c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO128__FUNC_MSDC0_DAT1>,
598c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO125__FUNC_MSDC0_DAT2>,
599c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO132__FUNC_MSDC0_DAT3>,
600c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO126__FUNC_MSDC0_DAT4>,
601c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO129__FUNC_MSDC0_DAT5>,
602c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO127__FUNC_MSDC0_DAT6>,
603c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO130__FUNC_MSDC0_DAT7>,
604c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO122__FUNC_MSDC0_CMD>;
605c66ec88fSEmmanuel Vadot			input-enable;
606c66ec88fSEmmanuel Vadot			drive-strength = <MTK_DRIVE_14mA>;
607c66ec88fSEmmanuel Vadot			mediatek,pull-up-adv = <01>;
608c66ec88fSEmmanuel Vadot		};
609c66ec88fSEmmanuel Vadot
61084943d6fSEmmanuel Vadot		pins-clk {
611c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>;
612c66ec88fSEmmanuel Vadot			drive-strength = <MTK_DRIVE_14mA>;
613c66ec88fSEmmanuel Vadot			mediatek,pull-down-adv = <10>;
614c66ec88fSEmmanuel Vadot		};
615c66ec88fSEmmanuel Vadot
61684943d6fSEmmanuel Vadot		pins-rst {
617c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO133__FUNC_MSDC0_RSTB>;
618c66ec88fSEmmanuel Vadot			drive-strength = <MTK_DRIVE_14mA>;
619c66ec88fSEmmanuel Vadot			mediatek,pull-down-adv = <01>;
620c66ec88fSEmmanuel Vadot		};
621c66ec88fSEmmanuel Vadot	};
622c66ec88fSEmmanuel Vadot
623c66ec88fSEmmanuel Vadot	mmc0_pins_uhs: mmc0-pins-uhs {
62484943d6fSEmmanuel Vadot		pins-cmd-dat {
625c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO123__FUNC_MSDC0_DAT0>,
626c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO128__FUNC_MSDC0_DAT1>,
627c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO125__FUNC_MSDC0_DAT2>,
628c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO132__FUNC_MSDC0_DAT3>,
629c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO126__FUNC_MSDC0_DAT4>,
630c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO129__FUNC_MSDC0_DAT5>,
631c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO127__FUNC_MSDC0_DAT6>,
632c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO130__FUNC_MSDC0_DAT7>,
633c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO122__FUNC_MSDC0_CMD>;
634c66ec88fSEmmanuel Vadot			input-enable;
635c66ec88fSEmmanuel Vadot			drive-strength = <MTK_DRIVE_14mA>;
636c66ec88fSEmmanuel Vadot			mediatek,pull-up-adv = <01>;
637c66ec88fSEmmanuel Vadot		};
638c66ec88fSEmmanuel Vadot
63984943d6fSEmmanuel Vadot		pins-clk {
640c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>;
641c66ec88fSEmmanuel Vadot			drive-strength = <MTK_DRIVE_14mA>;
642c66ec88fSEmmanuel Vadot			mediatek,pull-down-adv = <10>;
643c66ec88fSEmmanuel Vadot		};
644c66ec88fSEmmanuel Vadot
64584943d6fSEmmanuel Vadot		pins-ds {
646c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO131__FUNC_MSDC0_DSL>;
647c66ec88fSEmmanuel Vadot			drive-strength = <MTK_DRIVE_14mA>;
648c66ec88fSEmmanuel Vadot			mediatek,pull-down-adv = <10>;
649c66ec88fSEmmanuel Vadot		};
650c66ec88fSEmmanuel Vadot
65184943d6fSEmmanuel Vadot		pins-rst {
652c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO133__FUNC_MSDC0_RSTB>;
653c66ec88fSEmmanuel Vadot			drive-strength = <MTK_DRIVE_14mA>;
654c66ec88fSEmmanuel Vadot			mediatek,pull-up-adv = <01>;
655c66ec88fSEmmanuel Vadot		};
656c66ec88fSEmmanuel Vadot	};
657c66ec88fSEmmanuel Vadot
658c66ec88fSEmmanuel Vadot	mmc1_pins_default: mmc1-pins-default {
65984943d6fSEmmanuel Vadot		pins-cmd-dat {
660c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO31__FUNC_MSDC1_CMD>,
661c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO32__FUNC_MSDC1_DAT0>,
662c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO34__FUNC_MSDC1_DAT1>,
663c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO33__FUNC_MSDC1_DAT2>,
664c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO30__FUNC_MSDC1_DAT3>;
665c66ec88fSEmmanuel Vadot			input-enable;
666c66ec88fSEmmanuel Vadot			mediatek,pull-up-adv = <10>;
667c66ec88fSEmmanuel Vadot		};
668c66ec88fSEmmanuel Vadot
66984943d6fSEmmanuel Vadot		pins-clk {
670c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>;
671c66ec88fSEmmanuel Vadot			input-enable;
672c66ec88fSEmmanuel Vadot			mediatek,pull-down-adv = <10>;
673c66ec88fSEmmanuel Vadot		};
674c66ec88fSEmmanuel Vadot	};
675c66ec88fSEmmanuel Vadot
676c66ec88fSEmmanuel Vadot	mmc1_pins_uhs: mmc1-pins-uhs {
67784943d6fSEmmanuel Vadot		pins-cmd-dat {
678c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO31__FUNC_MSDC1_CMD>,
679c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO32__FUNC_MSDC1_DAT0>,
680c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO34__FUNC_MSDC1_DAT1>,
681c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO33__FUNC_MSDC1_DAT2>,
682c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO30__FUNC_MSDC1_DAT3>;
683c66ec88fSEmmanuel Vadot			drive-strength = <MTK_DRIVE_6mA>;
684c66ec88fSEmmanuel Vadot			input-enable;
685c66ec88fSEmmanuel Vadot			mediatek,pull-up-adv = <10>;
686c66ec88fSEmmanuel Vadot		};
687c66ec88fSEmmanuel Vadot
68884943d6fSEmmanuel Vadot		pins-clk {
689c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>;
690c66ec88fSEmmanuel Vadot			drive-strength = <MTK_DRIVE_8mA>;
691c66ec88fSEmmanuel Vadot			mediatek,pull-down-adv = <10>;
692c66ec88fSEmmanuel Vadot			input-enable;
693c66ec88fSEmmanuel Vadot		};
694c66ec88fSEmmanuel Vadot	};
695c66ec88fSEmmanuel Vadot
69684943d6fSEmmanuel Vadot	panel_pins_default: panel-pins-default {
69784943d6fSEmmanuel Vadot		panel-reset {
6985def4c47SEmmanuel Vadot			pinmux = <PINMUX_GPIO45__FUNC_GPIO45>;
6995def4c47SEmmanuel Vadot			output-low;
7005def4c47SEmmanuel Vadot			bias-pull-up;
7015def4c47SEmmanuel Vadot		};
7025def4c47SEmmanuel Vadot	};
7035def4c47SEmmanuel Vadot
70484943d6fSEmmanuel Vadot	pwm0_pin_default: pwm0-pin-default {
7055def4c47SEmmanuel Vadot		pins1 {
7065def4c47SEmmanuel Vadot			pinmux = <PINMUX_GPIO176__FUNC_GPIO176>;
7075def4c47SEmmanuel Vadot			output-high;
7085def4c47SEmmanuel Vadot			bias-pull-up;
7095def4c47SEmmanuel Vadot		};
7105def4c47SEmmanuel Vadot		pins2 {
7115def4c47SEmmanuel Vadot			pinmux = <PINMUX_GPIO43__FUNC_DISP_PWM>;
7125def4c47SEmmanuel Vadot		};
7135def4c47SEmmanuel Vadot	};
7145def4c47SEmmanuel Vadot
7156be33864SEmmanuel Vadot	scp_pins: scp {
71684943d6fSEmmanuel Vadot		pins-scp-uart {
7176be33864SEmmanuel Vadot			pinmux = <PINMUX_GPIO110__FUNC_TP_URXD1_AO>,
7186be33864SEmmanuel Vadot				 <PINMUX_GPIO112__FUNC_TP_UTXD1_AO>;
7196be33864SEmmanuel Vadot		};
7206be33864SEmmanuel Vadot	};
7216be33864SEmmanuel Vadot
722c66ec88fSEmmanuel Vadot	spi0_pins: spi0 {
72384943d6fSEmmanuel Vadot		pins-spi {
724c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO85__FUNC_SPI0_MI>,
725c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO86__FUNC_GPIO86>,
726c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO87__FUNC_SPI0_MO>,
727c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO88__FUNC_SPI0_CLK>;
728c66ec88fSEmmanuel Vadot			bias-disable;
729c66ec88fSEmmanuel Vadot		};
730c66ec88fSEmmanuel Vadot	};
731c66ec88fSEmmanuel Vadot
732c66ec88fSEmmanuel Vadot	spi1_pins: spi1 {
73384943d6fSEmmanuel Vadot		pins-spi {
734c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO161__FUNC_SPI1_A_MI>,
735c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO162__FUNC_SPI1_A_CSB>,
736c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO163__FUNC_SPI1_A_MO>,
737c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO164__FUNC_SPI1_A_CLK>;
738c66ec88fSEmmanuel Vadot			bias-disable;
739c66ec88fSEmmanuel Vadot		};
740c66ec88fSEmmanuel Vadot	};
741c66ec88fSEmmanuel Vadot
742c66ec88fSEmmanuel Vadot	spi2_pins: spi2 {
74384943d6fSEmmanuel Vadot		pins-spi {
744c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO0__FUNC_SPI2_CSB>,
745c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO1__FUNC_SPI2_MO>,
746c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO2__FUNC_SPI2_CLK>;
747c66ec88fSEmmanuel Vadot			bias-disable;
748c66ec88fSEmmanuel Vadot		};
74984943d6fSEmmanuel Vadot		pins-spi-mi {
750c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO94__FUNC_SPI2_MI>;
751c66ec88fSEmmanuel Vadot			mediatek,pull-down-adv = <00>;
752c66ec88fSEmmanuel Vadot		};
753c66ec88fSEmmanuel Vadot	};
754c66ec88fSEmmanuel Vadot
755c66ec88fSEmmanuel Vadot	spi3_pins: spi3 {
75684943d6fSEmmanuel Vadot		pins-spi {
757c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO21__FUNC_SPI3_MI>,
758c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO22__FUNC_SPI3_CSB>,
759c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO23__FUNC_SPI3_MO>,
760c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO24__FUNC_SPI3_CLK>;
761c66ec88fSEmmanuel Vadot			bias-disable;
762c66ec88fSEmmanuel Vadot		};
763c66ec88fSEmmanuel Vadot	};
764c66ec88fSEmmanuel Vadot
765c66ec88fSEmmanuel Vadot	spi4_pins: spi4 {
76684943d6fSEmmanuel Vadot		pins-spi {
767c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO17__FUNC_SPI4_MI>,
768c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO18__FUNC_SPI4_CSB>,
769c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO19__FUNC_SPI4_MO>,
770c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO20__FUNC_SPI4_CLK>;
771c66ec88fSEmmanuel Vadot			bias-disable;
772c66ec88fSEmmanuel Vadot		};
773c66ec88fSEmmanuel Vadot	};
774c66ec88fSEmmanuel Vadot
775c66ec88fSEmmanuel Vadot	spi5_pins: spi5 {
77684943d6fSEmmanuel Vadot		pins-spi {
777c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO13__FUNC_SPI5_MI>,
778c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO14__FUNC_SPI5_CSB>,
779c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO15__FUNC_SPI5_MO>,
780c66ec88fSEmmanuel Vadot				 <PINMUX_GPIO16__FUNC_SPI5_CLK>;
781c66ec88fSEmmanuel Vadot			bias-disable;
782c66ec88fSEmmanuel Vadot		};
783c66ec88fSEmmanuel Vadot	};
784c66ec88fSEmmanuel Vadot
785c66ec88fSEmmanuel Vadot	uart0_pins_default: uart0-pins-default {
78684943d6fSEmmanuel Vadot		pins-rx {
787c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO95__FUNC_URXD0>;
788c66ec88fSEmmanuel Vadot			input-enable;
789c66ec88fSEmmanuel Vadot			bias-pull-up;
790c66ec88fSEmmanuel Vadot		};
79184943d6fSEmmanuel Vadot		pins-tx {
792c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO96__FUNC_UTXD0>;
793c66ec88fSEmmanuel Vadot		};
794c66ec88fSEmmanuel Vadot	};
795c66ec88fSEmmanuel Vadot
796c66ec88fSEmmanuel Vadot	uart1_pins_default: uart1-pins-default {
79784943d6fSEmmanuel Vadot		pins-rx {
798c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO121__FUNC_URXD1>;
799c66ec88fSEmmanuel Vadot			input-enable;
800c66ec88fSEmmanuel Vadot			bias-pull-up;
801c66ec88fSEmmanuel Vadot		};
80284943d6fSEmmanuel Vadot		pins-tx {
803c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO115__FUNC_UTXD1>;
804c66ec88fSEmmanuel Vadot		};
80584943d6fSEmmanuel Vadot		pins-rts {
806c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO47__FUNC_URTS1>;
807c66ec88fSEmmanuel Vadot			output-enable;
808c66ec88fSEmmanuel Vadot		};
80984943d6fSEmmanuel Vadot		pins-cts {
810c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO46__FUNC_UCTS1>;
811c66ec88fSEmmanuel Vadot			input-enable;
812c66ec88fSEmmanuel Vadot		};
813c66ec88fSEmmanuel Vadot	};
814c66ec88fSEmmanuel Vadot
815c66ec88fSEmmanuel Vadot	uart1_pins_sleep: uart1-pins-sleep {
81684943d6fSEmmanuel Vadot		pins-rx {
817c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO121__FUNC_GPIO121>;
818c66ec88fSEmmanuel Vadot			input-enable;
819c66ec88fSEmmanuel Vadot			bias-pull-up;
820c66ec88fSEmmanuel Vadot		};
82184943d6fSEmmanuel Vadot		pins-tx {
822c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO115__FUNC_UTXD1>;
823c66ec88fSEmmanuel Vadot		};
82484943d6fSEmmanuel Vadot		pins-rts {
825c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO47__FUNC_URTS1>;
826c66ec88fSEmmanuel Vadot			output-enable;
827c66ec88fSEmmanuel Vadot		};
82884943d6fSEmmanuel Vadot		pins-cts {
829c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO46__FUNC_UCTS1>;
830c66ec88fSEmmanuel Vadot			input-enable;
831c66ec88fSEmmanuel Vadot		};
832c66ec88fSEmmanuel Vadot	};
833c66ec88fSEmmanuel Vadot
834c66ec88fSEmmanuel Vadot	wifi_pins_pwrseq: wifi-pins-pwrseq {
83584943d6fSEmmanuel Vadot		pins-wifi-enable {
836c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO119__FUNC_GPIO119>;
837c66ec88fSEmmanuel Vadot			output-low;
838c66ec88fSEmmanuel Vadot		};
839c66ec88fSEmmanuel Vadot	};
840c66ec88fSEmmanuel Vadot
841c66ec88fSEmmanuel Vadot	wifi_pins_wakeup: wifi-pins-wakeup {
84284943d6fSEmmanuel Vadot		pins-wifi-wakeup {
843c66ec88fSEmmanuel Vadot			pinmux = <PINMUX_GPIO113__FUNC_GPIO113>;
844c66ec88fSEmmanuel Vadot			input-enable;
845c66ec88fSEmmanuel Vadot		};
846c66ec88fSEmmanuel Vadot	};
847c66ec88fSEmmanuel Vadot};
848c66ec88fSEmmanuel Vadot
849*8d13bc63SEmmanuel Vadot&pmic {
850*8d13bc63SEmmanuel Vadot	interrupts-extended = <&pio 182 IRQ_TYPE_LEVEL_HIGH>;
851*8d13bc63SEmmanuel Vadot};
852*8d13bc63SEmmanuel Vadot
8535def4c47SEmmanuel Vadot&pwm0 {
8545def4c47SEmmanuel Vadot	status = "okay";
8555def4c47SEmmanuel Vadot	pinctrl-names = "default";
8565def4c47SEmmanuel Vadot	pinctrl-0 = <&pwm0_pin_default>;
8575def4c47SEmmanuel Vadot};
8585def4c47SEmmanuel Vadot
8596be33864SEmmanuel Vadot&scp {
8606be33864SEmmanuel Vadot	status = "okay";
861f126890aSEmmanuel Vadot
862f126890aSEmmanuel Vadot	firmware-name = "mediatek/mt8183/scp.img";
8636be33864SEmmanuel Vadot	pinctrl-names = "default";
8646be33864SEmmanuel Vadot	pinctrl-0 = <&scp_pins>;
8656be33864SEmmanuel Vadot
86684943d6fSEmmanuel Vadot	cros-ec-rpmsg {
8676be33864SEmmanuel Vadot		compatible = "google,cros-ec-rpmsg";
868e67e8565SEmmanuel Vadot		mediatek,rpmsg-name = "cros-ec-rpmsg";
8696be33864SEmmanuel Vadot	};
8706be33864SEmmanuel Vadot};
8716be33864SEmmanuel Vadot
872b97ee269SEmmanuel Vadot&mfg_async {
873b97ee269SEmmanuel Vadot	domain-supply = <&mt6358_vsram_gpu_reg>;
874b97ee269SEmmanuel Vadot};
875b97ee269SEmmanuel Vadot
8765def4c47SEmmanuel Vadot&mfg {
8775def4c47SEmmanuel Vadot	domain-supply = <&mt6358_vgpu_reg>;
8785def4c47SEmmanuel Vadot};
8795def4c47SEmmanuel Vadot
880c66ec88fSEmmanuel Vadot&soc_data {
881c66ec88fSEmmanuel Vadot	status = "okay";
882c66ec88fSEmmanuel Vadot};
883c66ec88fSEmmanuel Vadot
884c66ec88fSEmmanuel Vadot&spi0 {
885c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
886c66ec88fSEmmanuel Vadot	pinctrl-0 = <&spi0_pins>;
887c66ec88fSEmmanuel Vadot	mediatek,pad-select = <0>;
888c66ec88fSEmmanuel Vadot	status = "okay";
889c66ec88fSEmmanuel Vadot	cs-gpios = <&pio 86 GPIO_ACTIVE_LOW>;
890c66ec88fSEmmanuel Vadot
891*8d13bc63SEmmanuel Vadot	tpm@0 {
892c66ec88fSEmmanuel Vadot		compatible = "google,cr50";
893c66ec88fSEmmanuel Vadot		reg = <0>;
894c66ec88fSEmmanuel Vadot		spi-max-frequency = <1000000>;
895c66ec88fSEmmanuel Vadot		pinctrl-names = "default";
896c66ec88fSEmmanuel Vadot		pinctrl-0 = <&h1_int_od_l>;
897*8d13bc63SEmmanuel Vadot		interrupts-extended = <&pio 153 IRQ_TYPE_EDGE_RISING>;
898c66ec88fSEmmanuel Vadot	};
899c66ec88fSEmmanuel Vadot};
900c66ec88fSEmmanuel Vadot
901c66ec88fSEmmanuel Vadot&spi1 {
902c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
903c66ec88fSEmmanuel Vadot	pinctrl-0 = <&spi1_pins>;
904c66ec88fSEmmanuel Vadot	mediatek,pad-select = <0>;
905c66ec88fSEmmanuel Vadot	status = "okay";
906c66ec88fSEmmanuel Vadot
907d5b0e70fSEmmanuel Vadot	w25q64dw: flash@0 {
908c66ec88fSEmmanuel Vadot		compatible = "winbond,w25q64dw", "jedec,spi-nor";
909c66ec88fSEmmanuel Vadot		reg = <0>;
910c66ec88fSEmmanuel Vadot		spi-max-frequency = <25000000>;
911c66ec88fSEmmanuel Vadot	};
912c66ec88fSEmmanuel Vadot};
913c66ec88fSEmmanuel Vadot
914c66ec88fSEmmanuel Vadot&spi2 {
915c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
916c66ec88fSEmmanuel Vadot	pinctrl-0 = <&spi2_pins>;
917c66ec88fSEmmanuel Vadot	mediatek,pad-select = <0>;
918c66ec88fSEmmanuel Vadot	status = "okay";
919c66ec88fSEmmanuel Vadot
920c66ec88fSEmmanuel Vadot	cros_ec: cros-ec@0 {
921c66ec88fSEmmanuel Vadot		compatible = "google,cros-ec-spi";
922c66ec88fSEmmanuel Vadot		reg = <0>;
923c66ec88fSEmmanuel Vadot		spi-max-frequency = <3000000>;
924*8d13bc63SEmmanuel Vadot		interrupts-extended = <&pio 151 IRQ_TYPE_LEVEL_LOW>;
925c66ec88fSEmmanuel Vadot		pinctrl-names = "default";
926c66ec88fSEmmanuel Vadot		pinctrl-0 = <&ec_ap_int_odl>;
927c66ec88fSEmmanuel Vadot
928c66ec88fSEmmanuel Vadot		i2c_tunnel: i2c-tunnel {
929c66ec88fSEmmanuel Vadot			compatible = "google,cros-ec-i2c-tunnel";
930c66ec88fSEmmanuel Vadot			google,remote-bus = <1>;
931c66ec88fSEmmanuel Vadot			#address-cells = <1>;
932c66ec88fSEmmanuel Vadot			#size-cells = <0>;
933c66ec88fSEmmanuel Vadot		};
934c66ec88fSEmmanuel Vadot
935c66ec88fSEmmanuel Vadot		usbc_extcon: extcon0 {
936c66ec88fSEmmanuel Vadot			compatible = "google,extcon-usbc-cros-ec";
937c66ec88fSEmmanuel Vadot			google,usb-port-id = <0>;
938c66ec88fSEmmanuel Vadot		};
9395956d97fSEmmanuel Vadot
9405956d97fSEmmanuel Vadot		cbas {
9415956d97fSEmmanuel Vadot			compatible = "google,cros-cbas";
9425956d97fSEmmanuel Vadot		};
943e67e8565SEmmanuel Vadot
944e67e8565SEmmanuel Vadot		typec {
945e67e8565SEmmanuel Vadot			compatible = "google,cros-ec-typec";
946e67e8565SEmmanuel Vadot			#address-cells = <1>;
947e67e8565SEmmanuel Vadot			#size-cells = <0>;
948e67e8565SEmmanuel Vadot
949e67e8565SEmmanuel Vadot			usb_c0: connector@0 {
950e67e8565SEmmanuel Vadot				compatible = "usb-c-connector";
951e67e8565SEmmanuel Vadot				reg = <0>;
952e67e8565SEmmanuel Vadot				power-role = "dual";
953e67e8565SEmmanuel Vadot				data-role = "host";
954e67e8565SEmmanuel Vadot				try-power-role = "sink";
955e67e8565SEmmanuel Vadot			};
956e67e8565SEmmanuel Vadot		};
957c66ec88fSEmmanuel Vadot	};
958c66ec88fSEmmanuel Vadot};
959c66ec88fSEmmanuel Vadot
960c66ec88fSEmmanuel Vadot&spi3 {
961c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
962c66ec88fSEmmanuel Vadot	pinctrl-0 = <&spi3_pins>;
963c66ec88fSEmmanuel Vadot	mediatek,pad-select = <0>;
964c66ec88fSEmmanuel Vadot	status = "disabled";
965c66ec88fSEmmanuel Vadot};
966c66ec88fSEmmanuel Vadot
967c66ec88fSEmmanuel Vadot&spi4 {
968c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
969c66ec88fSEmmanuel Vadot	pinctrl-0 = <&spi4_pins>;
970c66ec88fSEmmanuel Vadot	mediatek,pad-select = <0>;
971c66ec88fSEmmanuel Vadot	status = "disabled";
972c66ec88fSEmmanuel Vadot};
973c66ec88fSEmmanuel Vadot
974c66ec88fSEmmanuel Vadot&spi5 {
975c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
976c66ec88fSEmmanuel Vadot	pinctrl-0 = <&spi5_pins>;
977c66ec88fSEmmanuel Vadot	mediatek,pad-select = <0>;
978c66ec88fSEmmanuel Vadot	status = "disabled";
979c66ec88fSEmmanuel Vadot};
980c66ec88fSEmmanuel Vadot
981c66ec88fSEmmanuel Vadot&ssusb {
982c66ec88fSEmmanuel Vadot	dr_mode = "host";
983c66ec88fSEmmanuel Vadot	wakeup-source;
984c66ec88fSEmmanuel Vadot	vusb33-supply = <&mt6358_vusb_reg>;
985c66ec88fSEmmanuel Vadot	status = "okay";
986c66ec88fSEmmanuel Vadot};
987c66ec88fSEmmanuel Vadot
9885956d97fSEmmanuel Vadot&thermal_zones {
9895956d97fSEmmanuel Vadot	tboard1 {
9905956d97fSEmmanuel Vadot		polling-delay = <1000>; /* milliseconds */
9915956d97fSEmmanuel Vadot		polling-delay-passive = <0>; /* milliseconds */
9925956d97fSEmmanuel Vadot		thermal-sensors = <&tboard_thermistor1>;
9935956d97fSEmmanuel Vadot	};
9945956d97fSEmmanuel Vadot
9955956d97fSEmmanuel Vadot	tboard2 {
9965956d97fSEmmanuel Vadot		polling-delay = <1000>; /* milliseconds */
9975956d97fSEmmanuel Vadot		polling-delay-passive = <0>; /* milliseconds */
9985956d97fSEmmanuel Vadot		thermal-sensors = <&tboard_thermistor2>;
9995956d97fSEmmanuel Vadot	};
10005956d97fSEmmanuel Vadot};
10015956d97fSEmmanuel Vadot
1002c66ec88fSEmmanuel Vadot&u3phy {
1003c66ec88fSEmmanuel Vadot	status = "okay";
1004c66ec88fSEmmanuel Vadot};
1005c66ec88fSEmmanuel Vadot
1006c66ec88fSEmmanuel Vadot&uart0 {
1007c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
1008c66ec88fSEmmanuel Vadot	pinctrl-0 = <&uart0_pins_default>;
1009c66ec88fSEmmanuel Vadot	status = "okay";
1010c66ec88fSEmmanuel Vadot};
1011c66ec88fSEmmanuel Vadot
1012c66ec88fSEmmanuel Vadot&uart1 {
1013c66ec88fSEmmanuel Vadot	pinctrl-names = "default", "sleep";
1014c66ec88fSEmmanuel Vadot	pinctrl-0 = <&uart1_pins_default>;
1015c66ec88fSEmmanuel Vadot	pinctrl-1 = <&uart1_pins_sleep>;
1016c66ec88fSEmmanuel Vadot	status = "okay";
1017cb7aa33aSEmmanuel Vadot	/delete-property/ interrupts;
1018c66ec88fSEmmanuel Vadot	interrupts-extended = <&sysirq GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>,
1019c66ec88fSEmmanuel Vadot			      <&pio 121 IRQ_TYPE_EDGE_FALLING>;
1020c66ec88fSEmmanuel Vadot
1021c66ec88fSEmmanuel Vadot	bluetooth: bluetooth {
1022c66ec88fSEmmanuel Vadot		pinctrl-names = "default";
1023c66ec88fSEmmanuel Vadot		pinctrl-0 = <&bt_pins>;
1024c66ec88fSEmmanuel Vadot		status = "okay";
1025c66ec88fSEmmanuel Vadot		compatible = "qcom,qca6174-bt";
1026c66ec88fSEmmanuel Vadot		enable-gpios = <&pio 120 0>;
1027c66ec88fSEmmanuel Vadot		clocks = <&clk32k>;
1028c66ec88fSEmmanuel Vadot		firmware-name = "nvm_00440302_i2s.bin";
1029c66ec88fSEmmanuel Vadot	};
1030c66ec88fSEmmanuel Vadot};
1031c66ec88fSEmmanuel Vadot
1032c66ec88fSEmmanuel Vadot&usb_host {
1033c66ec88fSEmmanuel Vadot	#address-cells = <1>;
1034c66ec88fSEmmanuel Vadot	#size-cells = <0>;
1035c66ec88fSEmmanuel Vadot	vusb33-supply = <&mt6358_vusb_reg>;
1036c66ec88fSEmmanuel Vadot	status = "okay";
1037c66ec88fSEmmanuel Vadot
1038c66ec88fSEmmanuel Vadot	hub@1 {
1039c66ec88fSEmmanuel Vadot		compatible = "usb5e3,610";
1040c66ec88fSEmmanuel Vadot		reg = <1>;
1041c66ec88fSEmmanuel Vadot	};
1042c66ec88fSEmmanuel Vadot};
1043c66ec88fSEmmanuel Vadot
1044c66ec88fSEmmanuel Vadot#include <arm/cros-ec-sbs.dtsi>
1045