xref: /freebsd/sys/contrib/device-tree/src/arm64/mediatek/mt8192-asurada.dtsi (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1b97ee269SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2b97ee269SEmmanuel Vadot/*
3b97ee269SEmmanuel Vadot * Copyright (C) 2020 MediaTek Inc.
4b97ee269SEmmanuel Vadot * Author: Seiya Wang <seiya.wang@mediatek.com>
5b97ee269SEmmanuel Vadot */
6b97ee269SEmmanuel Vadot/dts-v1/;
7b97ee269SEmmanuel Vadot#include "mt8192.dtsi"
8b97ee269SEmmanuel Vadot#include "mt6359.dtsi"
9b97ee269SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
10b97ee269SEmmanuel Vadot#include <dt-bindings/spmi/spmi.h>
11b97ee269SEmmanuel Vadot
12b97ee269SEmmanuel Vadot/ {
13b97ee269SEmmanuel Vadot	aliases {
14cb7aa33aSEmmanuel Vadot		i2c0 = &i2c0;
15cb7aa33aSEmmanuel Vadot		i2c1 = &i2c1;
16cb7aa33aSEmmanuel Vadot		i2c2 = &i2c2;
17cb7aa33aSEmmanuel Vadot		i2c3 = &i2c3;
18cb7aa33aSEmmanuel Vadot		i2c7 = &i2c7;
19cb7aa33aSEmmanuel Vadot		mmc0 = &mmc0;
20cb7aa33aSEmmanuel Vadot		mmc1 = &mmc1;
21b97ee269SEmmanuel Vadot		serial0 = &uart0;
22b97ee269SEmmanuel Vadot	};
23b97ee269SEmmanuel Vadot
24b97ee269SEmmanuel Vadot	chosen {
25b97ee269SEmmanuel Vadot		stdout-path = "serial0:115200n8";
26b97ee269SEmmanuel Vadot	};
27b97ee269SEmmanuel Vadot
28b97ee269SEmmanuel Vadot	memory@40000000 {
29b97ee269SEmmanuel Vadot		device_type = "memory";
30b97ee269SEmmanuel Vadot		reg = <0 0x40000000 0 0x80000000>;
31b97ee269SEmmanuel Vadot	};
32b97ee269SEmmanuel Vadot
33cb7aa33aSEmmanuel Vadot	backlight_lcd0: backlight-lcd0 {
34cb7aa33aSEmmanuel Vadot		compatible = "pwm-backlight";
35cb7aa33aSEmmanuel Vadot		pwms = <&pwm0 0 500000>;
36cb7aa33aSEmmanuel Vadot		power-supply = <&ppvar_sys>;
37cb7aa33aSEmmanuel Vadot		enable-gpios = <&pio 152 0>;
38cb7aa33aSEmmanuel Vadot		brightness-levels = <0 1023>;
39cb7aa33aSEmmanuel Vadot		num-interpolated-steps = <1023>;
40cb7aa33aSEmmanuel Vadot		default-brightness-level = <576>;
41cb7aa33aSEmmanuel Vadot	};
42cb7aa33aSEmmanuel Vadot
43cb7aa33aSEmmanuel Vadot	dmic_codec: dmic-codec {
44cb7aa33aSEmmanuel Vadot		compatible = "dmic-codec";
45cb7aa33aSEmmanuel Vadot		num-channels = <2>;
46cb7aa33aSEmmanuel Vadot		wakeup-delay-ms = <50>;
47cb7aa33aSEmmanuel Vadot	};
48cb7aa33aSEmmanuel Vadot
49cb7aa33aSEmmanuel Vadot	pp1000_dpbrdg: regulator-1v0-dpbrdg {
50cb7aa33aSEmmanuel Vadot		compatible = "regulator-fixed";
51cb7aa33aSEmmanuel Vadot		regulator-name = "pp1000_dpbrdg";
52cb7aa33aSEmmanuel Vadot		pinctrl-names = "default";
53cb7aa33aSEmmanuel Vadot		pinctrl-0 = <&pp1000_dpbrdg_en_pins>;
54cb7aa33aSEmmanuel Vadot		regulator-min-microvolt = <1000000>;
55cb7aa33aSEmmanuel Vadot		regulator-max-microvolt = <1000000>;
56cb7aa33aSEmmanuel Vadot		enable-active-high;
57cb7aa33aSEmmanuel Vadot		regulator-boot-on;
58cb7aa33aSEmmanuel Vadot		gpio = <&pio 19 GPIO_ACTIVE_HIGH>;
59cb7aa33aSEmmanuel Vadot		vin-supply = <&mt6359_vs2_buck_reg>;
60cb7aa33aSEmmanuel Vadot	};
61cb7aa33aSEmmanuel Vadot
62cb7aa33aSEmmanuel Vadot	pp1000_mipibrdg: regulator-1v0-mipibrdg {
63cb7aa33aSEmmanuel Vadot		compatible = "regulator-fixed";
64cb7aa33aSEmmanuel Vadot		regulator-name = "pp1000_mipibrdg";
65cb7aa33aSEmmanuel Vadot		pinctrl-names = "default";
66cb7aa33aSEmmanuel Vadot		pinctrl-0 = <&pp1000_mipibrdg_en_pins>;
67cb7aa33aSEmmanuel Vadot		regulator-min-microvolt = <1000000>;
68cb7aa33aSEmmanuel Vadot		regulator-max-microvolt = <1000000>;
69cb7aa33aSEmmanuel Vadot		enable-active-high;
70cb7aa33aSEmmanuel Vadot		regulator-boot-on;
71cb7aa33aSEmmanuel Vadot		gpio = <&pio 129 GPIO_ACTIVE_HIGH>;
72cb7aa33aSEmmanuel Vadot		vin-supply = <&mt6359_vs2_buck_reg>;
73cb7aa33aSEmmanuel Vadot	};
74cb7aa33aSEmmanuel Vadot
75cb7aa33aSEmmanuel Vadot	pp1800_dpbrdg: regulator-1v8-dpbrdg {
76cb7aa33aSEmmanuel Vadot		compatible = "regulator-fixed";
77cb7aa33aSEmmanuel Vadot		regulator-name = "pp1800_dpbrdg";
78cb7aa33aSEmmanuel Vadot		pinctrl-names = "default";
79cb7aa33aSEmmanuel Vadot		pinctrl-0 = <&pp1800_dpbrdg_en_pins>;
80cb7aa33aSEmmanuel Vadot		enable-active-high;
81cb7aa33aSEmmanuel Vadot		regulator-boot-on;
82cb7aa33aSEmmanuel Vadot		gpio = <&pio 126 GPIO_ACTIVE_HIGH>;
83cb7aa33aSEmmanuel Vadot		vin-supply = <&mt6359_vio18_ldo_reg>;
84cb7aa33aSEmmanuel Vadot	};
85cb7aa33aSEmmanuel Vadot
86b97ee269SEmmanuel Vadot	/* system wide LDO 1.8V power rail */
87b97ee269SEmmanuel Vadot	pp1800_ldo_g: regulator-1v8-g {
88b97ee269SEmmanuel Vadot		compatible = "regulator-fixed";
89b97ee269SEmmanuel Vadot		regulator-name = "pp1800_ldo_g";
90b97ee269SEmmanuel Vadot		regulator-always-on;
91b97ee269SEmmanuel Vadot		regulator-boot-on;
92b97ee269SEmmanuel Vadot		regulator-min-microvolt = <1800000>;
93b97ee269SEmmanuel Vadot		regulator-max-microvolt = <1800000>;
94b97ee269SEmmanuel Vadot		vin-supply = <&pp3300_g>;
95b97ee269SEmmanuel Vadot	};
96b97ee269SEmmanuel Vadot
97cb7aa33aSEmmanuel Vadot	pp1800_mipibrdg: regulator-1v8-mipibrdg {
98cb7aa33aSEmmanuel Vadot		compatible = "regulator-fixed";
99cb7aa33aSEmmanuel Vadot		regulator-name = "pp1800_mipibrdg";
100cb7aa33aSEmmanuel Vadot		pinctrl-names = "default";
101cb7aa33aSEmmanuel Vadot		pinctrl-0 = <&pp1800_mipibrdg_en_pins>;
102cb7aa33aSEmmanuel Vadot		enable-active-high;
103cb7aa33aSEmmanuel Vadot		regulator-boot-on;
104cb7aa33aSEmmanuel Vadot		gpio = <&pio 128 GPIO_ACTIVE_HIGH>;
105cb7aa33aSEmmanuel Vadot		vin-supply = <&mt6359_vio18_ldo_reg>;
106cb7aa33aSEmmanuel Vadot	};
107cb7aa33aSEmmanuel Vadot
108cb7aa33aSEmmanuel Vadot	pp3300_dpbrdg: regulator-3v3-dpbrdg {
109cb7aa33aSEmmanuel Vadot		compatible = "regulator-fixed";
110cb7aa33aSEmmanuel Vadot		regulator-name = "pp3300_dpbrdg";
111cb7aa33aSEmmanuel Vadot		pinctrl-names = "default";
112cb7aa33aSEmmanuel Vadot		pinctrl-0 = <&pp3300_dpbrdg_en_pins>;
113cb7aa33aSEmmanuel Vadot		enable-active-high;
114cb7aa33aSEmmanuel Vadot		regulator-boot-on;
115cb7aa33aSEmmanuel Vadot		gpio = <&pio 26 GPIO_ACTIVE_HIGH>;
116cb7aa33aSEmmanuel Vadot		vin-supply = <&pp3300_g>;
117cb7aa33aSEmmanuel Vadot	};
118cb7aa33aSEmmanuel Vadot
119b97ee269SEmmanuel Vadot	/* system wide switching 3.3V power rail */
120b97ee269SEmmanuel Vadot	pp3300_g: regulator-3v3-g {
121b97ee269SEmmanuel Vadot		compatible = "regulator-fixed";
122b97ee269SEmmanuel Vadot		regulator-name = "pp3300_g";
123b97ee269SEmmanuel Vadot		regulator-always-on;
124b97ee269SEmmanuel Vadot		regulator-boot-on;
125b97ee269SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
126b97ee269SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
127b97ee269SEmmanuel Vadot		vin-supply = <&ppvar_sys>;
128b97ee269SEmmanuel Vadot	};
129b97ee269SEmmanuel Vadot
130b97ee269SEmmanuel Vadot	/* system wide LDO 3.3V power rail */
131b97ee269SEmmanuel Vadot	pp3300_ldo_z: regulator-3v3-z {
132b97ee269SEmmanuel Vadot		compatible = "regulator-fixed";
133b97ee269SEmmanuel Vadot		regulator-name = "pp3300_ldo_z";
134b97ee269SEmmanuel Vadot		regulator-always-on;
135b97ee269SEmmanuel Vadot		regulator-boot-on;
136b97ee269SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
137b97ee269SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
138b97ee269SEmmanuel Vadot		vin-supply = <&ppvar_sys>;
139b97ee269SEmmanuel Vadot	};
140b97ee269SEmmanuel Vadot
141cb7aa33aSEmmanuel Vadot	pp3300_mipibrdg: regulator-3v3-mipibrdg {
142cb7aa33aSEmmanuel Vadot		compatible = "regulator-fixed";
143cb7aa33aSEmmanuel Vadot		regulator-name = "pp3300_mipibrdg";
144cb7aa33aSEmmanuel Vadot		pinctrl-names = "default";
145cb7aa33aSEmmanuel Vadot		pinctrl-0 = <&pp3300_mipibrdg_en_pins>;
146cb7aa33aSEmmanuel Vadot		enable-active-high;
147cb7aa33aSEmmanuel Vadot		regulator-boot-on;
148cb7aa33aSEmmanuel Vadot		gpio = <&pio 127 GPIO_ACTIVE_HIGH>;
149cb7aa33aSEmmanuel Vadot		vin-supply = <&pp3300_g>;
150*0e8011faSEmmanuel Vadot		off-on-delay-us = <500000>;
151cb7aa33aSEmmanuel Vadot	};
152cb7aa33aSEmmanuel Vadot
153b97ee269SEmmanuel Vadot	/* separately switched 3.3V power rail */
154b97ee269SEmmanuel Vadot	pp3300_u: regulator-3v3-u {
155b97ee269SEmmanuel Vadot		compatible = "regulator-fixed";
156b97ee269SEmmanuel Vadot		regulator-name = "pp3300_u";
157b97ee269SEmmanuel Vadot		regulator-always-on;
158b97ee269SEmmanuel Vadot		regulator-boot-on;
159b97ee269SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
160b97ee269SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
161b97ee269SEmmanuel Vadot		/* enable pin wired to GPIO controlled by EC */
162b97ee269SEmmanuel Vadot		vin-supply = <&pp3300_g>;
163b97ee269SEmmanuel Vadot	};
164b97ee269SEmmanuel Vadot
165b97ee269SEmmanuel Vadot	pp3300_wlan: regulator-3v3-wlan {
166b97ee269SEmmanuel Vadot		compatible = "regulator-fixed";
167b97ee269SEmmanuel Vadot		regulator-name = "pp3300_wlan";
168b97ee269SEmmanuel Vadot		regulator-always-on;
169b97ee269SEmmanuel Vadot		regulator-boot-on;
170b97ee269SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
171b97ee269SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
172b97ee269SEmmanuel Vadot		pinctrl-names = "default";
173b97ee269SEmmanuel Vadot		pinctrl-0 = <&pp3300_wlan_pins>;
174b97ee269SEmmanuel Vadot		enable-active-high;
175b97ee269SEmmanuel Vadot		gpio = <&pio 143 GPIO_ACTIVE_HIGH>;
176b97ee269SEmmanuel Vadot	};
177b97ee269SEmmanuel Vadot
178b97ee269SEmmanuel Vadot	/* system wide switching 5.0V power rail */
179b97ee269SEmmanuel Vadot	pp5000_a: regulator-5v0-a {
180b97ee269SEmmanuel Vadot		compatible = "regulator-fixed";
181b97ee269SEmmanuel Vadot		regulator-name = "pp5000_a";
182b97ee269SEmmanuel Vadot		regulator-always-on;
183b97ee269SEmmanuel Vadot		regulator-boot-on;
184b97ee269SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
185b97ee269SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
186b97ee269SEmmanuel Vadot		vin-supply = <&ppvar_sys>;
187b97ee269SEmmanuel Vadot	};
188b97ee269SEmmanuel Vadot
189b97ee269SEmmanuel Vadot	/* system wide semi-regulated power rail from battery or USB */
190b97ee269SEmmanuel Vadot	ppvar_sys: regulator-var-sys {
191b97ee269SEmmanuel Vadot		compatible = "regulator-fixed";
192b97ee269SEmmanuel Vadot		regulator-name = "ppvar_sys";
193b97ee269SEmmanuel Vadot		regulator-always-on;
194b97ee269SEmmanuel Vadot		regulator-boot-on;
195b97ee269SEmmanuel Vadot	};
196b97ee269SEmmanuel Vadot
197b97ee269SEmmanuel Vadot	reserved_memory: reserved-memory {
198b97ee269SEmmanuel Vadot		#address-cells = <2>;
199b97ee269SEmmanuel Vadot		#size-cells = <2>;
200b97ee269SEmmanuel Vadot		ranges;
201b97ee269SEmmanuel Vadot
202b97ee269SEmmanuel Vadot		scp_mem_reserved: scp@50000000 {
203b97ee269SEmmanuel Vadot			compatible = "shared-dma-pool";
204b97ee269SEmmanuel Vadot			reg = <0 0x50000000 0 0x2900000>;
205b97ee269SEmmanuel Vadot			no-map;
206b97ee269SEmmanuel Vadot		};
207b97ee269SEmmanuel Vadot
208b97ee269SEmmanuel Vadot		wifi_restricted_dma_region: wifi@c0000000 {
209b97ee269SEmmanuel Vadot			compatible = "restricted-dma-pool";
210b97ee269SEmmanuel Vadot			reg = <0 0xc0000000 0 0x4000000>;
211b97ee269SEmmanuel Vadot		};
212b97ee269SEmmanuel Vadot	};
213cb7aa33aSEmmanuel Vadot
21484943d6fSEmmanuel Vadot	rt1015p: audio-codec {
21584943d6fSEmmanuel Vadot		compatible = "realtek,rt1015p";
21684943d6fSEmmanuel Vadot		pinctrl-names = "default";
21784943d6fSEmmanuel Vadot		pinctrl-0 = <&rt1015p_pins>;
21884943d6fSEmmanuel Vadot		sdb-gpios = <&pio 147 GPIO_ACTIVE_HIGH>;
21984943d6fSEmmanuel Vadot		#sound-dai-cells = <0>;
22084943d6fSEmmanuel Vadot	};
22184943d6fSEmmanuel Vadot
222cb7aa33aSEmmanuel Vadot	sound: sound {
223cb7aa33aSEmmanuel Vadot		mediatek,platform = <&afe>;
224cb7aa33aSEmmanuel Vadot		pinctrl-names = "aud_clk_mosi_off",
225cb7aa33aSEmmanuel Vadot				"aud_clk_mosi_on",
226cb7aa33aSEmmanuel Vadot				"aud_dat_mosi_off",
227cb7aa33aSEmmanuel Vadot				"aud_dat_mosi_on",
228cb7aa33aSEmmanuel Vadot				"aud_dat_miso_off",
229cb7aa33aSEmmanuel Vadot				"aud_dat_miso_on",
230cb7aa33aSEmmanuel Vadot				"vow_dat_miso_off",
231cb7aa33aSEmmanuel Vadot				"vow_dat_miso_on",
232cb7aa33aSEmmanuel Vadot				"vow_clk_miso_off",
233cb7aa33aSEmmanuel Vadot				"vow_clk_miso_on",
234cb7aa33aSEmmanuel Vadot				"aud_nle_mosi_off",
235cb7aa33aSEmmanuel Vadot				"aud_nle_mosi_on",
236cb7aa33aSEmmanuel Vadot				"aud_dat_miso2_off",
237cb7aa33aSEmmanuel Vadot				"aud_dat_miso2_on",
238cb7aa33aSEmmanuel Vadot				"aud_gpio_i2s3_off",
239cb7aa33aSEmmanuel Vadot				"aud_gpio_i2s3_on",
240cb7aa33aSEmmanuel Vadot				"aud_gpio_i2s8_off",
241cb7aa33aSEmmanuel Vadot				"aud_gpio_i2s8_on",
242cb7aa33aSEmmanuel Vadot				"aud_gpio_i2s9_off",
243cb7aa33aSEmmanuel Vadot				"aud_gpio_i2s9_on",
244cb7aa33aSEmmanuel Vadot				"aud_dat_mosi_ch34_off",
245cb7aa33aSEmmanuel Vadot				"aud_dat_mosi_ch34_on",
246cb7aa33aSEmmanuel Vadot				"aud_dat_miso_ch34_off",
247cb7aa33aSEmmanuel Vadot				"aud_dat_miso_ch34_on",
248cb7aa33aSEmmanuel Vadot				"aud_gpio_tdm_off",
249cb7aa33aSEmmanuel Vadot				"aud_gpio_tdm_on";
250cb7aa33aSEmmanuel Vadot		pinctrl-0 = <&aud_clk_mosi_off_pins>;
251cb7aa33aSEmmanuel Vadot		pinctrl-1 = <&aud_clk_mosi_on_pins>;
252cb7aa33aSEmmanuel Vadot		pinctrl-2 = <&aud_dat_mosi_off_pins>;
253cb7aa33aSEmmanuel Vadot		pinctrl-3 = <&aud_dat_mosi_on_pins>;
254cb7aa33aSEmmanuel Vadot		pinctrl-4 = <&aud_dat_miso_off_pins>;
255cb7aa33aSEmmanuel Vadot		pinctrl-5 = <&aud_dat_miso_on_pins>;
256cb7aa33aSEmmanuel Vadot		pinctrl-6 = <&vow_dat_miso_off_pins>;
257cb7aa33aSEmmanuel Vadot		pinctrl-7 = <&vow_dat_miso_on_pins>;
258cb7aa33aSEmmanuel Vadot		pinctrl-8 = <&vow_clk_miso_off_pins>;
259cb7aa33aSEmmanuel Vadot		pinctrl-9 = <&vow_clk_miso_on_pins>;
260cb7aa33aSEmmanuel Vadot		pinctrl-10 = <&aud_nle_mosi_off_pins>;
261cb7aa33aSEmmanuel Vadot		pinctrl-11 = <&aud_nle_mosi_on_pins>;
262cb7aa33aSEmmanuel Vadot		pinctrl-12 = <&aud_dat_miso2_off_pins>;
263cb7aa33aSEmmanuel Vadot		pinctrl-13 = <&aud_dat_miso2_on_pins>;
264cb7aa33aSEmmanuel Vadot		pinctrl-14 = <&aud_gpio_i2s3_off_pins>;
265cb7aa33aSEmmanuel Vadot		pinctrl-15 = <&aud_gpio_i2s3_on_pins>;
266cb7aa33aSEmmanuel Vadot		pinctrl-16 = <&aud_gpio_i2s8_off_pins>;
267cb7aa33aSEmmanuel Vadot		pinctrl-17 = <&aud_gpio_i2s8_on_pins>;
268cb7aa33aSEmmanuel Vadot		pinctrl-18 = <&aud_gpio_i2s9_off_pins>;
269cb7aa33aSEmmanuel Vadot		pinctrl-19 = <&aud_gpio_i2s9_on_pins>;
270cb7aa33aSEmmanuel Vadot		pinctrl-20 = <&aud_dat_mosi_ch34_off_pins>;
271cb7aa33aSEmmanuel Vadot		pinctrl-21 = <&aud_dat_mosi_ch34_on_pins>;
272cb7aa33aSEmmanuel Vadot		pinctrl-22 = <&aud_dat_miso_ch34_off_pins>;
273cb7aa33aSEmmanuel Vadot		pinctrl-23 = <&aud_dat_miso_ch34_on_pins>;
274cb7aa33aSEmmanuel Vadot		pinctrl-24 = <&aud_gpio_tdm_off_pins>;
275cb7aa33aSEmmanuel Vadot		pinctrl-25 = <&aud_gpio_tdm_on_pins>;
276cb7aa33aSEmmanuel Vadot	};
277cb7aa33aSEmmanuel Vadot};
278cb7aa33aSEmmanuel Vadot
279cb7aa33aSEmmanuel Vadot&dsi0 {
280cb7aa33aSEmmanuel Vadot	status = "okay";
281cb7aa33aSEmmanuel Vadot};
282cb7aa33aSEmmanuel Vadot
283cb7aa33aSEmmanuel Vadot&dsi_out {
284cb7aa33aSEmmanuel Vadot	remote-endpoint = <&anx7625_in>;
285b97ee269SEmmanuel Vadot};
286b97ee269SEmmanuel Vadot
287f126890aSEmmanuel Vadot&gic {
288f126890aSEmmanuel Vadot	mediatek,broken-save-restore-fw;
289f126890aSEmmanuel Vadot};
290f126890aSEmmanuel Vadot
291fac71e4eSEmmanuel Vadot&gpu {
292fac71e4eSEmmanuel Vadot	mali-supply = <&mt6315_7_vbuck1>;
293fac71e4eSEmmanuel Vadot	status = "okay";
294fac71e4eSEmmanuel Vadot};
295fac71e4eSEmmanuel Vadot
296b97ee269SEmmanuel Vadot&i2c0 {
297b97ee269SEmmanuel Vadot	status = "okay";
298b97ee269SEmmanuel Vadot
299b97ee269SEmmanuel Vadot	clock-frequency = <400000>;
300b97ee269SEmmanuel Vadot	pinctrl-names = "default";
301b97ee269SEmmanuel Vadot	pinctrl-0 = <&i2c0_pins>;
302b97ee269SEmmanuel Vadot
303b97ee269SEmmanuel Vadot	touchscreen: touchscreen@10 {
304b97ee269SEmmanuel Vadot		reg = <0x10>;
305b97ee269SEmmanuel Vadot		interrupts-extended = <&pio 21 IRQ_TYPE_LEVEL_LOW>;
306b97ee269SEmmanuel Vadot		pinctrl-names = "default";
307b97ee269SEmmanuel Vadot		pinctrl-0 = <&touchscreen_pins>;
308b97ee269SEmmanuel Vadot	};
309b97ee269SEmmanuel Vadot};
310b97ee269SEmmanuel Vadot
311b97ee269SEmmanuel Vadot&i2c1 {
312b97ee269SEmmanuel Vadot	status = "okay";
313b97ee269SEmmanuel Vadot
314b97ee269SEmmanuel Vadot	clock-frequency = <400000>;
315b97ee269SEmmanuel Vadot	pinctrl-names = "default";
316b97ee269SEmmanuel Vadot	pinctrl-0 = <&i2c1_pins>;
31784943d6fSEmmanuel Vadot
31884943d6fSEmmanuel Vadot	rt5682: audio-codec@1a {
31984943d6fSEmmanuel Vadot		/* Realtek RT5682i or RT5682s, sharing the same configuration */
32084943d6fSEmmanuel Vadot		reg = <0x1a>;
32184943d6fSEmmanuel Vadot		interrupts-extended = <&pio 18 IRQ_TYPE_LEVEL_LOW>;
32284943d6fSEmmanuel Vadot		realtek,jd-src = <1>;
32384943d6fSEmmanuel Vadot		#sound-dai-cells = <1>;
32484943d6fSEmmanuel Vadot
32584943d6fSEmmanuel Vadot		AVDD-supply = <&mt6359_vio18_ldo_reg>;
32684943d6fSEmmanuel Vadot		DBVDD-supply = <&mt6359_vio18_ldo_reg>;
32784943d6fSEmmanuel Vadot		LDO1-IN-supply = <&mt6359_vio18_ldo_reg>;
32884943d6fSEmmanuel Vadot		MICVDD-supply = <&pp3300_g>;
32984943d6fSEmmanuel Vadot	};
330b97ee269SEmmanuel Vadot};
331b97ee269SEmmanuel Vadot
332b97ee269SEmmanuel Vadot&i2c2 {
333b97ee269SEmmanuel Vadot	status = "okay";
334b97ee269SEmmanuel Vadot
335b97ee269SEmmanuel Vadot	clock-frequency = <400000>;
336b97ee269SEmmanuel Vadot	clock-stretch-ns = <12600>;
337b97ee269SEmmanuel Vadot	pinctrl-names = "default";
338b97ee269SEmmanuel Vadot	pinctrl-0 = <&i2c2_pins>;
339b97ee269SEmmanuel Vadot
340b97ee269SEmmanuel Vadot	trackpad@15 {
341b97ee269SEmmanuel Vadot		compatible = "elan,ekth3000";
342b97ee269SEmmanuel Vadot		reg = <0x15>;
343b97ee269SEmmanuel Vadot		interrupts-extended = <&pio 15 IRQ_TYPE_LEVEL_LOW>;
344b97ee269SEmmanuel Vadot		pinctrl-names = "default";
345b97ee269SEmmanuel Vadot		pinctrl-0 = <&trackpad_pins>;
346b97ee269SEmmanuel Vadot		vcc-supply = <&pp3300_u>;
347b97ee269SEmmanuel Vadot		wakeup-source;
348b97ee269SEmmanuel Vadot	};
349b97ee269SEmmanuel Vadot};
350b97ee269SEmmanuel Vadot
351b97ee269SEmmanuel Vadot&i2c3 {
352b97ee269SEmmanuel Vadot	status = "okay";
353b97ee269SEmmanuel Vadot
354b97ee269SEmmanuel Vadot	clock-frequency = <400000>;
355b97ee269SEmmanuel Vadot	pinctrl-names = "default";
356b97ee269SEmmanuel Vadot	pinctrl-0 = <&i2c3_pins>;
357cb7aa33aSEmmanuel Vadot
358cb7aa33aSEmmanuel Vadot	anx_bridge: anx7625@58 {
359cb7aa33aSEmmanuel Vadot		compatible = "analogix,anx7625";
360cb7aa33aSEmmanuel Vadot		reg = <0x58>;
361cb7aa33aSEmmanuel Vadot		pinctrl-names = "default";
362cb7aa33aSEmmanuel Vadot		pinctrl-0 = <&anx7625_pins>;
363cb7aa33aSEmmanuel Vadot		enable-gpios = <&pio 41 GPIO_ACTIVE_HIGH>;
364cb7aa33aSEmmanuel Vadot		reset-gpios = <&pio 42 GPIO_ACTIVE_HIGH>;
365cb7aa33aSEmmanuel Vadot		vdd10-supply = <&pp1000_mipibrdg>;
366cb7aa33aSEmmanuel Vadot		vdd18-supply = <&pp1800_mipibrdg>;
367cb7aa33aSEmmanuel Vadot		vdd33-supply = <&pp3300_mipibrdg>;
368cb7aa33aSEmmanuel Vadot
369cb7aa33aSEmmanuel Vadot		ports {
370cb7aa33aSEmmanuel Vadot			#address-cells = <1>;
371cb7aa33aSEmmanuel Vadot			#size-cells = <0>;
372cb7aa33aSEmmanuel Vadot
373cb7aa33aSEmmanuel Vadot			port@0 {
374cb7aa33aSEmmanuel Vadot				reg = <0>;
375cb7aa33aSEmmanuel Vadot
376cb7aa33aSEmmanuel Vadot				anx7625_in: endpoint {
377cb7aa33aSEmmanuel Vadot					remote-endpoint = <&dsi_out>;
378cb7aa33aSEmmanuel Vadot				};
379cb7aa33aSEmmanuel Vadot			};
380cb7aa33aSEmmanuel Vadot
381cb7aa33aSEmmanuel Vadot			port@1 {
382cb7aa33aSEmmanuel Vadot				reg = <1>;
383cb7aa33aSEmmanuel Vadot
384cb7aa33aSEmmanuel Vadot				anx7625_out: endpoint {
385cb7aa33aSEmmanuel Vadot					remote-endpoint = <&panel_in>;
386cb7aa33aSEmmanuel Vadot				};
387cb7aa33aSEmmanuel Vadot			};
388cb7aa33aSEmmanuel Vadot		};
389cb7aa33aSEmmanuel Vadot
390cb7aa33aSEmmanuel Vadot		aux-bus {
391cb7aa33aSEmmanuel Vadot			panel: panel {
392cb7aa33aSEmmanuel Vadot				compatible = "edp-panel";
393cb7aa33aSEmmanuel Vadot				power-supply = <&pp3300_mipibrdg>;
394cb7aa33aSEmmanuel Vadot				backlight = <&backlight_lcd0>;
395cb7aa33aSEmmanuel Vadot
396cb7aa33aSEmmanuel Vadot				port {
397cb7aa33aSEmmanuel Vadot					panel_in: endpoint {
398cb7aa33aSEmmanuel Vadot						remote-endpoint = <&anx7625_out>;
399cb7aa33aSEmmanuel Vadot					};
400cb7aa33aSEmmanuel Vadot				};
401cb7aa33aSEmmanuel Vadot			};
402cb7aa33aSEmmanuel Vadot		};
403cb7aa33aSEmmanuel Vadot	};
404b97ee269SEmmanuel Vadot};
405b97ee269SEmmanuel Vadot
406b97ee269SEmmanuel Vadot&i2c7 {
407b97ee269SEmmanuel Vadot	status = "okay";
408b97ee269SEmmanuel Vadot
409b97ee269SEmmanuel Vadot	clock-frequency = <400000>;
410b97ee269SEmmanuel Vadot	pinctrl-names = "default";
411b97ee269SEmmanuel Vadot	pinctrl-0 = <&i2c7_pins>;
412b97ee269SEmmanuel Vadot};
413b97ee269SEmmanuel Vadot
414fac71e4eSEmmanuel Vadot&mfg0 {
415fac71e4eSEmmanuel Vadot	domain-supply = <&mt6315_7_vbuck1>;
416fac71e4eSEmmanuel Vadot};
417fac71e4eSEmmanuel Vadot
418fac71e4eSEmmanuel Vadot&mfg1 {
419fac71e4eSEmmanuel Vadot	domain-supply = <&mt6359_vsram_others_ldo_reg>;
420fac71e4eSEmmanuel Vadot};
421fac71e4eSEmmanuel Vadot
422cb7aa33aSEmmanuel Vadot&mipi_tx0 {
423cb7aa33aSEmmanuel Vadot	status = "okay";
424cb7aa33aSEmmanuel Vadot};
425cb7aa33aSEmmanuel Vadot
426b97ee269SEmmanuel Vadot&mmc0 {
427b97ee269SEmmanuel Vadot	status = "okay";
428b97ee269SEmmanuel Vadot
429b97ee269SEmmanuel Vadot	pinctrl-names = "default", "state_uhs";
430b97ee269SEmmanuel Vadot	pinctrl-0 = <&mmc0_default_pins>;
431b97ee269SEmmanuel Vadot	pinctrl-1 = <&mmc0_uhs_pins>;
432b97ee269SEmmanuel Vadot	bus-width = <8>;
433b97ee269SEmmanuel Vadot	max-frequency = <200000000>;
434b97ee269SEmmanuel Vadot	vmmc-supply = <&mt6359_vemc_1_ldo_reg>;
435b97ee269SEmmanuel Vadot	vqmmc-supply = <&mt6359_vufs_ldo_reg>;
436b97ee269SEmmanuel Vadot	cap-mmc-highspeed;
437b97ee269SEmmanuel Vadot	mmc-hs200-1_8v;
438b97ee269SEmmanuel Vadot	mmc-hs400-1_8v;
439b97ee269SEmmanuel Vadot	supports-cqe;
440b97ee269SEmmanuel Vadot	cap-mmc-hw-reset;
441b97ee269SEmmanuel Vadot	mmc-hs400-enhanced-strobe;
442b97ee269SEmmanuel Vadot	hs400-ds-delay = <0x12814>;
443b97ee269SEmmanuel Vadot	no-sdio;
444b97ee269SEmmanuel Vadot	no-sd;
445b97ee269SEmmanuel Vadot	non-removable;
446b97ee269SEmmanuel Vadot};
447b97ee269SEmmanuel Vadot
448b97ee269SEmmanuel Vadot&mmc1 {
449b97ee269SEmmanuel Vadot	status = "okay";
450b97ee269SEmmanuel Vadot
451b97ee269SEmmanuel Vadot	pinctrl-names = "default", "state_uhs";
452b97ee269SEmmanuel Vadot	pinctrl-0 = <&mmc1_default_pins>;
453b97ee269SEmmanuel Vadot	pinctrl-1 = <&mmc1_uhs_pins>;
454b97ee269SEmmanuel Vadot	bus-width = <4>;
455b97ee269SEmmanuel Vadot	max-frequency = <200000000>;
456b97ee269SEmmanuel Vadot	cd-gpios = <&pio 17 GPIO_ACTIVE_LOW>;
457b97ee269SEmmanuel Vadot	vmmc-supply = <&mt6360_ldo5_reg>;
458b97ee269SEmmanuel Vadot	vqmmc-supply = <&mt6360_ldo3_reg>;
459b97ee269SEmmanuel Vadot	cap-sd-highspeed;
460b97ee269SEmmanuel Vadot	sd-uhs-sdr50;
461b97ee269SEmmanuel Vadot	sd-uhs-sdr104;
462b97ee269SEmmanuel Vadot	no-sdio;
463b97ee269SEmmanuel Vadot	no-mmc;
464b97ee269SEmmanuel Vadot};
465b97ee269SEmmanuel Vadot
466b97ee269SEmmanuel Vadot/* for CORE */
467b97ee269SEmmanuel Vadot&mt6359_vgpu11_buck_reg {
468b97ee269SEmmanuel Vadot	regulator-always-on;
469b97ee269SEmmanuel Vadot};
470b97ee269SEmmanuel Vadot
471b97ee269SEmmanuel Vadot&mt6359_vgpu11_sshub_buck_reg {
472b97ee269SEmmanuel Vadot	regulator-always-on;
473b97ee269SEmmanuel Vadot	regulator-min-microvolt = <575000>;
474b97ee269SEmmanuel Vadot	regulator-max-microvolt = <575000>;
475b97ee269SEmmanuel Vadot};
476b97ee269SEmmanuel Vadot
477b97ee269SEmmanuel Vadot&mt6359_vrf12_ldo_reg {
478b97ee269SEmmanuel Vadot	regulator-always-on;
479b97ee269SEmmanuel Vadot};
480b97ee269SEmmanuel Vadot
481fac71e4eSEmmanuel Vadot&mt6359_vsram_others_ldo_reg {
482fac71e4eSEmmanuel Vadot	regulator-min-microvolt = <750000>;
483fac71e4eSEmmanuel Vadot	regulator-max-microvolt = <800000>;
484fac71e4eSEmmanuel Vadot	regulator-coupled-with = <&mt6315_7_vbuck1>;
485fac71e4eSEmmanuel Vadot	regulator-coupled-max-spread = <10000>;
486fac71e4eSEmmanuel Vadot};
487fac71e4eSEmmanuel Vadot
488b97ee269SEmmanuel Vadot&mt6359_vufs_ldo_reg {
489b97ee269SEmmanuel Vadot	regulator-always-on;
490b97ee269SEmmanuel Vadot};
491b97ee269SEmmanuel Vadot
492b97ee269SEmmanuel Vadot&mt6359codec {
493b97ee269SEmmanuel Vadot	mediatek,dmic-mode = <1>; /* one-wire */
494b97ee269SEmmanuel Vadot	mediatek,mic-type-0 = <2>; /* DMIC */
495b97ee269SEmmanuel Vadot	mediatek,mic-type-2 = <2>; /* DMIC */
496b97ee269SEmmanuel Vadot};
497b97ee269SEmmanuel Vadot
498b97ee269SEmmanuel Vadot&nor_flash {
499b97ee269SEmmanuel Vadot	status = "okay";
500b97ee269SEmmanuel Vadot
501b97ee269SEmmanuel Vadot	pinctrl-names = "default";
502b97ee269SEmmanuel Vadot	pinctrl-0 = <&nor_flash_pins>;
503b97ee269SEmmanuel Vadot	assigned-clocks = <&topckgen CLK_TOP_SFLASH_SEL>;
504b97ee269SEmmanuel Vadot	assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D6_D8>;
505b97ee269SEmmanuel Vadot
506b97ee269SEmmanuel Vadot	flash@0 {
507b97ee269SEmmanuel Vadot		compatible = "winbond,w25q64jwm", "jedec,spi-nor";
508b97ee269SEmmanuel Vadot		reg = <0>;
509b97ee269SEmmanuel Vadot		spi-max-frequency = <52000000>;
510b97ee269SEmmanuel Vadot		spi-rx-bus-width = <2>;
511b97ee269SEmmanuel Vadot		spi-tx-bus-width = <2>;
512b97ee269SEmmanuel Vadot	};
513b97ee269SEmmanuel Vadot};
514b97ee269SEmmanuel Vadot
515b97ee269SEmmanuel Vadot&pcie {
516b97ee269SEmmanuel Vadot	pinctrl-names = "default";
517b97ee269SEmmanuel Vadot	pinctrl-0 = <&pcie_pins>;
518b97ee269SEmmanuel Vadot
519b97ee269SEmmanuel Vadot	pcie0: pcie@0,0 {
520b97ee269SEmmanuel Vadot		device_type = "pci";
521b97ee269SEmmanuel Vadot		reg = <0x0000 0 0 0 0>;
522b97ee269SEmmanuel Vadot		num-lanes = <1>;
523b97ee269SEmmanuel Vadot		bus-range = <0x1 0x1>;
524b97ee269SEmmanuel Vadot
525b97ee269SEmmanuel Vadot		#address-cells = <3>;
526b97ee269SEmmanuel Vadot		#size-cells = <2>;
527b97ee269SEmmanuel Vadot		ranges;
528b97ee269SEmmanuel Vadot
529b97ee269SEmmanuel Vadot		wifi: wifi@0,0 {
530b97ee269SEmmanuel Vadot			reg = <0x10000 0 0 0 0x100000>,
531b97ee269SEmmanuel Vadot			      <0x10000 0 0x100000 0 0x100000>;
532b97ee269SEmmanuel Vadot			memory-region = <&wifi_restricted_dma_region>;
533b97ee269SEmmanuel Vadot		};
534b97ee269SEmmanuel Vadot	};
535b97ee269SEmmanuel Vadot};
536b97ee269SEmmanuel Vadot
537b97ee269SEmmanuel Vadot&pio {
538b97ee269SEmmanuel Vadot	/* 220 lines */
539b97ee269SEmmanuel Vadot	gpio-line-names = "I2S_DP_LRCK",
540b97ee269SEmmanuel Vadot			  "IS_DP_BCLK",
541b97ee269SEmmanuel Vadot			  "I2S_DP_MCLK",
542b97ee269SEmmanuel Vadot			  "I2S_DP_DATAOUT",
543b97ee269SEmmanuel Vadot			  "SAR0_INT_ODL",
544b97ee269SEmmanuel Vadot			  "EC_AP_INT_ODL",
545b97ee269SEmmanuel Vadot			  "EDPBRDG_INT_ODL",
546b97ee269SEmmanuel Vadot			  "DPBRDG_INT_ODL",
547b97ee269SEmmanuel Vadot			  "DPBRDG_PWREN",
548b97ee269SEmmanuel Vadot			  "DPBRDG_RST_ODL",
549b97ee269SEmmanuel Vadot			  "I2S_HP_MCLK",
550b97ee269SEmmanuel Vadot			  "I2S_HP_BCK",
551b97ee269SEmmanuel Vadot			  "I2S_HP_LRCK",
552b97ee269SEmmanuel Vadot			  "I2S_HP_DATAIN",
553b97ee269SEmmanuel Vadot			  /*
554b97ee269SEmmanuel Vadot			   * AP_FLASH_WP_L is crossystem ABI. Schematics
555b97ee269SEmmanuel Vadot			   * call it AP_FLASH_WP_ODL.
556b97ee269SEmmanuel Vadot			   */
557b97ee269SEmmanuel Vadot			  "AP_FLASH_WP_L",
558b97ee269SEmmanuel Vadot			  "TRACKPAD_INT_ODL",
559b97ee269SEmmanuel Vadot			  "EC_AP_HPD_OD",
560b97ee269SEmmanuel Vadot			  "SD_CD_ODL",
561b97ee269SEmmanuel Vadot			  "HP_INT_ODL_ALC",
562b97ee269SEmmanuel Vadot			  "EN_PP1000_DPBRDG",
563b97ee269SEmmanuel Vadot			  "AP_GPIO20",
564b97ee269SEmmanuel Vadot			  "TOUCH_INT_L_1V8",
565b97ee269SEmmanuel Vadot			  "UART_BT_WAKE_ODL",
566b97ee269SEmmanuel Vadot			  "AP_GPIO23",
567b97ee269SEmmanuel Vadot			  "AP_SPI_FLASH_CS_L",
568b97ee269SEmmanuel Vadot			  "AP_SPI_FLASH_CLK",
569b97ee269SEmmanuel Vadot			  "EN_PP3300_DPBRDG_DX",
570b97ee269SEmmanuel Vadot			  "AP_SPI_FLASH_MOSI",
571b97ee269SEmmanuel Vadot			  "AP_SPI_FLASH_MISO",
572b97ee269SEmmanuel Vadot			  "I2S_HP_DATAOUT",
573b97ee269SEmmanuel Vadot			  "AP_GPIO30",
574b97ee269SEmmanuel Vadot			  "I2S_SPKR_MCLK",
575b97ee269SEmmanuel Vadot			  "I2S_SPKR_BCLK",
576b97ee269SEmmanuel Vadot			  "I2S_SPKR_LRCK",
577b97ee269SEmmanuel Vadot			  "I2S_SPKR_DATAIN",
578b97ee269SEmmanuel Vadot			  "I2S_SPKR_DATAOUT",
579b97ee269SEmmanuel Vadot			  "AP_SPI_H1_TPM_CLK",
580b97ee269SEmmanuel Vadot			  "AP_SPI_H1_TPM_CS_L",
581b97ee269SEmmanuel Vadot			  "AP_SPI_H1_TPM_MISO",
582b97ee269SEmmanuel Vadot			  "AP_SPI_H1_TPM_MOSI",
583b97ee269SEmmanuel Vadot			  "BL_PWM",
584b97ee269SEmmanuel Vadot			  "EDPBRDG_PWREN",
585b97ee269SEmmanuel Vadot			  "EDPBRDG_RST_ODL",
586b97ee269SEmmanuel Vadot			  "EN_PP3300_HUB",
587b97ee269SEmmanuel Vadot			  "HUB_RST_L",
588b97ee269SEmmanuel Vadot			  "",
589b97ee269SEmmanuel Vadot			  "",
590b97ee269SEmmanuel Vadot			  "",
591b97ee269SEmmanuel Vadot			  "",
592b97ee269SEmmanuel Vadot			  "",
593b97ee269SEmmanuel Vadot			  "",
594b97ee269SEmmanuel Vadot			  "SD_CLK",
595b97ee269SEmmanuel Vadot			  "SD_CMD",
596b97ee269SEmmanuel Vadot			  "SD_DATA3",
597b97ee269SEmmanuel Vadot			  "SD_DATA0",
598b97ee269SEmmanuel Vadot			  "SD_DATA2",
599b97ee269SEmmanuel Vadot			  "SD_DATA1",
600b97ee269SEmmanuel Vadot			  "",
601b97ee269SEmmanuel Vadot			  "",
602b97ee269SEmmanuel Vadot			  "",
603b97ee269SEmmanuel Vadot			  "",
604b97ee269SEmmanuel Vadot			  "",
605b97ee269SEmmanuel Vadot			  "",
606b97ee269SEmmanuel Vadot			  "PCIE_WAKE_ODL",
607b97ee269SEmmanuel Vadot			  "PCIE_RST_L",
608b97ee269SEmmanuel Vadot			  "PCIE_CLKREQ_ODL",
609b97ee269SEmmanuel Vadot			  "",
610b97ee269SEmmanuel Vadot			  "",
611b97ee269SEmmanuel Vadot			  "",
612b97ee269SEmmanuel Vadot			  "",
613b97ee269SEmmanuel Vadot			  "",
614b97ee269SEmmanuel Vadot			  "",
615b97ee269SEmmanuel Vadot			  "",
616b97ee269SEmmanuel Vadot			  "",
617b97ee269SEmmanuel Vadot			  "",
618b97ee269SEmmanuel Vadot			  "",
619b97ee269SEmmanuel Vadot			  "",
620b97ee269SEmmanuel Vadot			  "",
621b97ee269SEmmanuel Vadot			  "",
622b97ee269SEmmanuel Vadot			  "",
623b97ee269SEmmanuel Vadot			  "",
624b97ee269SEmmanuel Vadot			  "",
625b97ee269SEmmanuel Vadot			  "",
626b97ee269SEmmanuel Vadot			  "",
627b97ee269SEmmanuel Vadot			  "",
628b97ee269SEmmanuel Vadot			  "",
629b97ee269SEmmanuel Vadot			  "",
630b97ee269SEmmanuel Vadot			  "",
631b97ee269SEmmanuel Vadot			  "",
632b97ee269SEmmanuel Vadot			  "SPMI_SCL",
633b97ee269SEmmanuel Vadot			  "SPMI_SDA",
634b97ee269SEmmanuel Vadot			  "AP_GOOD",
635b97ee269SEmmanuel Vadot			  "UART_DBG_TX_AP_RX",
636b97ee269SEmmanuel Vadot			  "UART_AP_TX_DBG_RX",
637b97ee269SEmmanuel Vadot			  "UART_AP_TX_BT_RX",
638b97ee269SEmmanuel Vadot			  "UART_BT_TX_AP_RX",
639b97ee269SEmmanuel Vadot			  "MIPI_DPI_D0_R",
640b97ee269SEmmanuel Vadot			  "MIPI_DPI_D1_R",
641b97ee269SEmmanuel Vadot			  "MIPI_DPI_D2_R",
642b97ee269SEmmanuel Vadot			  "MIPI_DPI_D3_R",
643b97ee269SEmmanuel Vadot			  "MIPI_DPI_D4_R",
644b97ee269SEmmanuel Vadot			  "MIPI_DPI_D5_R",
645b97ee269SEmmanuel Vadot			  "MIPI_DPI_D6_R",
646b97ee269SEmmanuel Vadot			  "MIPI_DPI_D7_R",
647b97ee269SEmmanuel Vadot			  "MIPI_DPI_D8_R",
648b97ee269SEmmanuel Vadot			  "MIPI_DPI_D9_R",
649b97ee269SEmmanuel Vadot			  "MIPI_DPI_D10_R",
650b97ee269SEmmanuel Vadot			  "",
651b97ee269SEmmanuel Vadot			  "",
652b97ee269SEmmanuel Vadot			  "MIPI_DPI_DE_R",
653b97ee269SEmmanuel Vadot			  "MIPI_DPI_D11_R",
654b97ee269SEmmanuel Vadot			  "MIPI_DPI_VSYNC_R",
655b97ee269SEmmanuel Vadot			  "MIPI_DPI_CLK_R",
656b97ee269SEmmanuel Vadot			  "MIPI_DPI_HSYNC_R",
657b97ee269SEmmanuel Vadot			  "PCM_BT_DATAIN",
658b97ee269SEmmanuel Vadot			  "PCM_BT_SYNC",
659b97ee269SEmmanuel Vadot			  "PCM_BT_DATAOUT",
660b97ee269SEmmanuel Vadot			  "PCM_BT_CLK",
661b97ee269SEmmanuel Vadot			  "AP_I2C_AUDIO_SCL",
662b97ee269SEmmanuel Vadot			  "AP_I2C_AUDIO_SDA",
663b97ee269SEmmanuel Vadot			  "SCP_I2C_SCL",
664b97ee269SEmmanuel Vadot			  "SCP_I2C_SDA",
665b97ee269SEmmanuel Vadot			  "AP_I2C_WLAN_SCL",
666b97ee269SEmmanuel Vadot			  "AP_I2C_WLAN_SDA",
667b97ee269SEmmanuel Vadot			  "AP_I2C_DPBRDG_SCL",
668b97ee269SEmmanuel Vadot			  "AP_I2C_DPBRDG_SDA",
669b97ee269SEmmanuel Vadot			  "EN_PP1800_DPBRDG_DX",
670b97ee269SEmmanuel Vadot			  "EN_PP3300_EDP_DX",
671b97ee269SEmmanuel Vadot			  "EN_PP1800_EDPBRDG_DX",
672b97ee269SEmmanuel Vadot			  "EN_PP1000_EDPBRDG",
673b97ee269SEmmanuel Vadot			  "SCP_JTAG0_TDO",
674b97ee269SEmmanuel Vadot			  "SCP_JTAG0_TDI",
675b97ee269SEmmanuel Vadot			  "SCP_JTAG0_TMS",
676b97ee269SEmmanuel Vadot			  "SCP_JTAG0_TCK",
677b97ee269SEmmanuel Vadot			  "SCP_JTAG0_TRSTN",
678b97ee269SEmmanuel Vadot			  "EN_PP3000_VMC_PMU",
679b97ee269SEmmanuel Vadot			  "EN_PP3300_DISPLAY_DX",
680b97ee269SEmmanuel Vadot			  "TOUCH_RST_L_1V8",
681b97ee269SEmmanuel Vadot			  "TOUCH_REPORT_DISABLE",
682b97ee269SEmmanuel Vadot			  "",
683b97ee269SEmmanuel Vadot			  "",
684b97ee269SEmmanuel Vadot			  "AP_I2C_TRACKPAD_SCL_1V8",
685b97ee269SEmmanuel Vadot			  "AP_I2C_TRACKPAD_SDA_1V8",
686b97ee269SEmmanuel Vadot			  "EN_PP3300_WLAN",
687b97ee269SEmmanuel Vadot			  "BT_KILL_L",
688b97ee269SEmmanuel Vadot			  "WIFI_KILL_L",
689b97ee269SEmmanuel Vadot			  "SET_VMC_VOLT_AT_1V8",
690b97ee269SEmmanuel Vadot			  "EN_SPK",
691b97ee269SEmmanuel Vadot			  "AP_WARM_RST_REQ",
692b97ee269SEmmanuel Vadot			  "",
693b97ee269SEmmanuel Vadot			  "",
694b97ee269SEmmanuel Vadot			  "EN_PP3000_SD_S3",
695b97ee269SEmmanuel Vadot			  "AP_EDP_BKLTEN",
696b97ee269SEmmanuel Vadot			  "",
697b97ee269SEmmanuel Vadot			  "",
698b97ee269SEmmanuel Vadot			  "",
699b97ee269SEmmanuel Vadot			  "AP_SPI_EC_CLK",
700b97ee269SEmmanuel Vadot			  "AP_SPI_EC_CS_L",
701b97ee269SEmmanuel Vadot			  "AP_SPI_EC_MISO",
702b97ee269SEmmanuel Vadot			  "AP_SPI_EC_MOSI",
703b97ee269SEmmanuel Vadot			  "AP_I2C_EDPBRDG_SCL",
704b97ee269SEmmanuel Vadot			  "AP_I2C_EDPBRDG_SDA",
705b97ee269SEmmanuel Vadot			  "MT6315_PROC_INT",
706b97ee269SEmmanuel Vadot			  "MT6315_GPU_INT",
707b97ee269SEmmanuel Vadot			  "UART_SERVO_TX_SCP_RX",
708b97ee269SEmmanuel Vadot			  "UART_SCP_TX_SERVO_RX",
709b97ee269SEmmanuel Vadot			  "BT_RTS_AP_CTS",
710b97ee269SEmmanuel Vadot			  "AP_RTS_BT_CTS",
711b97ee269SEmmanuel Vadot			  "UART_AP_WAKE_BT_ODL",
712b97ee269SEmmanuel Vadot			  "WLAN_ALERT_ODL",
713b97ee269SEmmanuel Vadot			  "EC_IN_RW_ODL",
714b97ee269SEmmanuel Vadot			  "H1_AP_INT_ODL",
715b97ee269SEmmanuel Vadot			  "",
716b97ee269SEmmanuel Vadot			  "",
717b97ee269SEmmanuel Vadot			  "",
718b97ee269SEmmanuel Vadot			  "",
719b97ee269SEmmanuel Vadot			  "",
720b97ee269SEmmanuel Vadot			  "",
721b97ee269SEmmanuel Vadot			  "",
722b97ee269SEmmanuel Vadot			  "",
723b97ee269SEmmanuel Vadot			  "",
724b97ee269SEmmanuel Vadot			  "",
725b97ee269SEmmanuel Vadot			  "",
726b97ee269SEmmanuel Vadot			  "MSDC0_CMD",
727b97ee269SEmmanuel Vadot			  "MSDC0_DAT0",
728b97ee269SEmmanuel Vadot			  "MSDC0_DAT2",
729b97ee269SEmmanuel Vadot			  "MSDC0_DAT4",
730b97ee269SEmmanuel Vadot			  "MSDC0_DAT6",
731b97ee269SEmmanuel Vadot			  "MSDC0_DAT1",
732b97ee269SEmmanuel Vadot			  "MSDC0_DAT5",
733b97ee269SEmmanuel Vadot			  "MSDC0_DAT7",
734b97ee269SEmmanuel Vadot			  "MSDC0_DSL",
735b97ee269SEmmanuel Vadot			  "MSDC0_CLK",
736b97ee269SEmmanuel Vadot			  "MSDC0_DAT3",
737b97ee269SEmmanuel Vadot			  "MSDC0_RST_L",
738b97ee269SEmmanuel Vadot			  "SCP_VREQ_VAO",
739b97ee269SEmmanuel Vadot			  "AUD_DAT_MOSI2",
740b97ee269SEmmanuel Vadot			  "AUD_NLE_MOSI1",
741b97ee269SEmmanuel Vadot			  "AUD_NLE_MOSI0",
742b97ee269SEmmanuel Vadot			  "AUD_DAT_MISO2",
743b97ee269SEmmanuel Vadot			  "AP_I2C_SAR_SDA",
744b97ee269SEmmanuel Vadot			  "AP_I2C_SAR_SCL",
745b97ee269SEmmanuel Vadot			  "AP_I2C_PWR_SCL",
746b97ee269SEmmanuel Vadot			  "AP_I2C_PWR_SDA",
747b97ee269SEmmanuel Vadot			  "AP_I2C_TS_SCL_1V8",
748b97ee269SEmmanuel Vadot			  "AP_I2C_TS_SDA_1V8",
749b97ee269SEmmanuel Vadot			  "SRCLKENA0",
750b97ee269SEmmanuel Vadot			  "SRCLKENA1",
751b97ee269SEmmanuel Vadot			  "AP_EC_WATCHDOG_L",
752b97ee269SEmmanuel Vadot			  "PWRAP_SPI0_MI",
753b97ee269SEmmanuel Vadot			  "PWRAP_SPI0_CSN",
754b97ee269SEmmanuel Vadot			  "PWRAP_SPI0_MO",
755b97ee269SEmmanuel Vadot			  "PWRAP_SPI0_CK",
756b97ee269SEmmanuel Vadot			  "AP_RTC_CLK32K",
757b97ee269SEmmanuel Vadot			  "AUD_CLK_MOSI",
758b97ee269SEmmanuel Vadot			  "AUD_SYNC_MOSI",
759b97ee269SEmmanuel Vadot			  "AUD_DAT_MOSI0",
760b97ee269SEmmanuel Vadot			  "AUD_DAT_MOSI1",
761b97ee269SEmmanuel Vadot			  "AUD_DAT_MISO0",
762b97ee269SEmmanuel Vadot			  "AUD_DAT_MISO1";
763b97ee269SEmmanuel Vadot
764cb7aa33aSEmmanuel Vadot	anx7625_pins: anx7625-default-pins {
765cb7aa33aSEmmanuel Vadot		pins-out {
766cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO41__FUNC_GPIO41>,
767cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO42__FUNC_GPIO42>;
768cb7aa33aSEmmanuel Vadot			output-low;
769cb7aa33aSEmmanuel Vadot		};
770cb7aa33aSEmmanuel Vadot
771cb7aa33aSEmmanuel Vadot		pins-in {
772cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO6__FUNC_GPIO6>;
773cb7aa33aSEmmanuel Vadot			input-enable;
774cb7aa33aSEmmanuel Vadot			bias-pull-up;
775cb7aa33aSEmmanuel Vadot		};
776cb7aa33aSEmmanuel Vadot	};
777cb7aa33aSEmmanuel Vadot
778cb7aa33aSEmmanuel Vadot	aud_clk_mosi_off_pins: aud-clk-mosi-off-pins {
779cb7aa33aSEmmanuel Vadot		pins-mosi-off {
780cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO214__FUNC_GPIO214>,
781cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO215__FUNC_GPIO215>;
782cb7aa33aSEmmanuel Vadot		};
783cb7aa33aSEmmanuel Vadot	};
784cb7aa33aSEmmanuel Vadot
785cb7aa33aSEmmanuel Vadot	aud_clk_mosi_on_pins: aud-clk-mosi-on-pins {
786cb7aa33aSEmmanuel Vadot		pins-mosi-on {
787cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO214__FUNC_AUD_CLK_MOSI>,
788cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO215__FUNC_AUD_SYNC_MOSI>;
789cb7aa33aSEmmanuel Vadot			drive-strength = <10>;
790cb7aa33aSEmmanuel Vadot		};
791cb7aa33aSEmmanuel Vadot	};
792cb7aa33aSEmmanuel Vadot
793cb7aa33aSEmmanuel Vadot	aud_dat_miso_ch34_off_pins: aud-dat-miso-ch34-off-pins {
794cb7aa33aSEmmanuel Vadot		pins-miso-off {
795cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO199__FUNC_GPIO199>;
796cb7aa33aSEmmanuel Vadot		};
797cb7aa33aSEmmanuel Vadot	};
798cb7aa33aSEmmanuel Vadot
799cb7aa33aSEmmanuel Vadot	aud_dat_miso_ch34_on_pins: aud-dat-miso-ch34-on-pins {
800cb7aa33aSEmmanuel Vadot		pins-miso-on {
801cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO199__FUNC_AUD_DAT_MISO2>;
802cb7aa33aSEmmanuel Vadot		};
803cb7aa33aSEmmanuel Vadot	};
804cb7aa33aSEmmanuel Vadot
805cb7aa33aSEmmanuel Vadot	aud_dat_miso_off_pins: aud-dat-miso-off-pins {
806cb7aa33aSEmmanuel Vadot		pins-miso-off {
807cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO218__FUNC_GPIO218>,
808cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO219__FUNC_GPIO219>;
809cb7aa33aSEmmanuel Vadot		};
810cb7aa33aSEmmanuel Vadot	};
811cb7aa33aSEmmanuel Vadot
812cb7aa33aSEmmanuel Vadot	aud_dat_miso_on_pins: aud-dat-miso-on-pins {
813cb7aa33aSEmmanuel Vadot		pins-miso-on {
814cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO218__FUNC_AUD_DAT_MISO0>,
815cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO219__FUNC_AUD_DAT_MISO1>;
816cb7aa33aSEmmanuel Vadot			drive-strength = <10>;
817cb7aa33aSEmmanuel Vadot		};
818cb7aa33aSEmmanuel Vadot	};
819cb7aa33aSEmmanuel Vadot
820cb7aa33aSEmmanuel Vadot	aud_dat_miso2_off_pins: aud-dat-miso2-off-pins {
821cb7aa33aSEmmanuel Vadot		pins-miso-off {
822cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO199__FUNC_GPIO199>;
823cb7aa33aSEmmanuel Vadot		};
824cb7aa33aSEmmanuel Vadot	};
825cb7aa33aSEmmanuel Vadot
826cb7aa33aSEmmanuel Vadot	aud_dat_miso2_on_pins: aud-dat-miso2-on-pins {
827cb7aa33aSEmmanuel Vadot		pins-miso-on {
828cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO199__FUNC_AUD_DAT_MISO2>;
829cb7aa33aSEmmanuel Vadot		};
830cb7aa33aSEmmanuel Vadot	};
831cb7aa33aSEmmanuel Vadot
832cb7aa33aSEmmanuel Vadot	aud_dat_mosi_ch34_off_pins: aud-dat-mosi-ch34-off-pins {
833cb7aa33aSEmmanuel Vadot		pins-mosi-off {
834cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO196__FUNC_GPIO196>;
835cb7aa33aSEmmanuel Vadot		};
836cb7aa33aSEmmanuel Vadot	};
837cb7aa33aSEmmanuel Vadot
838cb7aa33aSEmmanuel Vadot	aud_dat_mosi_ch34_on_pins: aud-dat-mosi-ch34-on-pins {
839cb7aa33aSEmmanuel Vadot		pins-mosi-on {
840cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO196__FUNC_AUD_DAT_MOSI2>;
841cb7aa33aSEmmanuel Vadot		};
842cb7aa33aSEmmanuel Vadot	};
843cb7aa33aSEmmanuel Vadot
844cb7aa33aSEmmanuel Vadot	aud_dat_mosi_off_pins: aud-dat-mosi-off-pins {
845cb7aa33aSEmmanuel Vadot		pins-mosi-off {
846cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO216__FUNC_GPIO216>,
847cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO217__FUNC_GPIO217>;
848cb7aa33aSEmmanuel Vadot		};
849cb7aa33aSEmmanuel Vadot	};
850cb7aa33aSEmmanuel Vadot
851cb7aa33aSEmmanuel Vadot	aud_dat_mosi_on_pins: aud-dat-mosi-on-pins {
852cb7aa33aSEmmanuel Vadot		pins-mosi-on {
853cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO216__FUNC_AUD_DAT_MOSI0>,
854cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO217__FUNC_AUD_DAT_MOSI1>;
855cb7aa33aSEmmanuel Vadot			drive-strength = <10>;
856cb7aa33aSEmmanuel Vadot		};
857cb7aa33aSEmmanuel Vadot	};
858cb7aa33aSEmmanuel Vadot
859cb7aa33aSEmmanuel Vadot	aud_gpio_i2s3_off_pins: aud-gpio-i2s3-off-pins {
860cb7aa33aSEmmanuel Vadot		pins-i2s3-off {
861cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO32__FUNC_GPIO32>,
862cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO33__FUNC_GPIO33>,
863cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO35__FUNC_GPIO35>;
864cb7aa33aSEmmanuel Vadot		};
865cb7aa33aSEmmanuel Vadot	};
866cb7aa33aSEmmanuel Vadot
867cb7aa33aSEmmanuel Vadot	aud_gpio_i2s3_on_pins: aud-gpio-i2s3-on-pins {
868cb7aa33aSEmmanuel Vadot		pins-i2s3-on {
869cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO32__FUNC_I2S3_BCK>,
870cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO33__FUNC_I2S3_LRCK>,
871cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO35__FUNC_I2S3_DO>;
872cb7aa33aSEmmanuel Vadot		};
873cb7aa33aSEmmanuel Vadot	};
874cb7aa33aSEmmanuel Vadot
875cb7aa33aSEmmanuel Vadot	aud_gpio_i2s8_off_pins: aud-gpio-i2s8-off-pins {
876cb7aa33aSEmmanuel Vadot		pins-i2s8-off {
877cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO10__FUNC_GPIO10>,
878cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO11__FUNC_GPIO11>,
879cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO12__FUNC_GPIO12>,
880cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO13__FUNC_GPIO13>;
881cb7aa33aSEmmanuel Vadot		};
882cb7aa33aSEmmanuel Vadot	};
883cb7aa33aSEmmanuel Vadot
884cb7aa33aSEmmanuel Vadot	aud_gpio_i2s8_on_pins: aud-gpio-i2s8-on-pins {
885cb7aa33aSEmmanuel Vadot		pins-i2s8-on {
886cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO10__FUNC_I2S8_MCK>,
887cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO11__FUNC_I2S8_BCK>,
888cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO12__FUNC_I2S8_LRCK>,
889cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO13__FUNC_I2S8_DI>;
890cb7aa33aSEmmanuel Vadot		};
891cb7aa33aSEmmanuel Vadot	};
892cb7aa33aSEmmanuel Vadot
893cb7aa33aSEmmanuel Vadot	aud_gpio_i2s9_off_pins: aud-gpio-i2s9-off-pins {
894cb7aa33aSEmmanuel Vadot		pins-i2s9-off {
895cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO29__FUNC_GPIO29>;
896cb7aa33aSEmmanuel Vadot		};
897cb7aa33aSEmmanuel Vadot	};
898cb7aa33aSEmmanuel Vadot
899cb7aa33aSEmmanuel Vadot	aud_gpio_i2s9_on_pins: aud-gpio-i2s9-on-pins {
900cb7aa33aSEmmanuel Vadot		pins-i2s9-on {
901cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO29__FUNC_I2S9_DO>;
902cb7aa33aSEmmanuel Vadot		};
903cb7aa33aSEmmanuel Vadot	};
904cb7aa33aSEmmanuel Vadot
905cb7aa33aSEmmanuel Vadot	aud_gpio_tdm_off_pins: aud-gpio-tdm-off-pins {
906cb7aa33aSEmmanuel Vadot		pins-tdm-off {
907cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO0__FUNC_GPIO0>,
908cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO1__FUNC_GPIO1>,
909cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO2__FUNC_GPIO2>,
910cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO3__FUNC_GPIO3>;
911cb7aa33aSEmmanuel Vadot		};
912cb7aa33aSEmmanuel Vadot	};
913cb7aa33aSEmmanuel Vadot
914cb7aa33aSEmmanuel Vadot	aud_gpio_tdm_on_pins: aud-gpio-tdm-on-pins {
915cb7aa33aSEmmanuel Vadot		pins-tdm-on {
916cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO0__FUNC_TDM_LRCK>,
917cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO1__FUNC_TDM_BCK>,
918cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO2__FUNC_TDM_MCK>,
919cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO3__FUNC_TDM_DATA0>;
920cb7aa33aSEmmanuel Vadot		};
921cb7aa33aSEmmanuel Vadot	};
922cb7aa33aSEmmanuel Vadot
923cb7aa33aSEmmanuel Vadot	aud_nle_mosi_off_pins: aud-nle-mosi-off-pins {
924cb7aa33aSEmmanuel Vadot		pins-nle-mosi-off {
925cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO197__FUNC_GPIO197>,
926cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO198__FUNC_GPIO198>;
927cb7aa33aSEmmanuel Vadot		};
928cb7aa33aSEmmanuel Vadot	};
929cb7aa33aSEmmanuel Vadot
930cb7aa33aSEmmanuel Vadot	aud_nle_mosi_on_pins: aud-nle-mosi-on-pins {
931cb7aa33aSEmmanuel Vadot		pins-nle-mosi-on {
932cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO197__FUNC_AUD_NLE_MOSI1>,
933cb7aa33aSEmmanuel Vadot				 <PINMUX_GPIO198__FUNC_AUD_NLE_MOSI0>;
934cb7aa33aSEmmanuel Vadot		};
935cb7aa33aSEmmanuel Vadot	};
936cb7aa33aSEmmanuel Vadot
937b97ee269SEmmanuel Vadot	cr50_int: cr50-irq-default-pins {
938b97ee269SEmmanuel Vadot		pins-gsc-ap-int-odl {
939b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO171__FUNC_GPIO171>;
940b97ee269SEmmanuel Vadot			input-enable;
941b97ee269SEmmanuel Vadot		};
942b97ee269SEmmanuel Vadot	};
943b97ee269SEmmanuel Vadot
944b97ee269SEmmanuel Vadot	cros_ec_int: cros-ec-irq-default-pins {
945b97ee269SEmmanuel Vadot		pins-ec-ap-int-odl {
946b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO5__FUNC_GPIO5>;
947b97ee269SEmmanuel Vadot			input-enable;
948b97ee269SEmmanuel Vadot			bias-pull-up;
949b97ee269SEmmanuel Vadot		};
950b97ee269SEmmanuel Vadot	};
951b97ee269SEmmanuel Vadot
952b97ee269SEmmanuel Vadot	i2c0_pins: i2c0-default-pins {
953b97ee269SEmmanuel Vadot		pins-bus {
954b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO204__FUNC_SCL0>,
955b97ee269SEmmanuel Vadot				 <PINMUX_GPIO205__FUNC_SDA0>;
956b97ee269SEmmanuel Vadot			bias-pull-up = <MTK_PULL_SET_RSEL_011>;
957b97ee269SEmmanuel Vadot			drive-strength-microamp = <1000>;
958b97ee269SEmmanuel Vadot		};
959b97ee269SEmmanuel Vadot	};
960b97ee269SEmmanuel Vadot
961b97ee269SEmmanuel Vadot	i2c1_pins: i2c1-default-pins {
962b97ee269SEmmanuel Vadot		pins-bus {
963b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO118__FUNC_SCL1>,
964b97ee269SEmmanuel Vadot				 <PINMUX_GPIO119__FUNC_SDA1>;
965b97ee269SEmmanuel Vadot			bias-pull-up = <MTK_PULL_SET_RSEL_011>;
966b97ee269SEmmanuel Vadot			drive-strength-microamp = <1000>;
967b97ee269SEmmanuel Vadot		};
968b97ee269SEmmanuel Vadot	};
969b97ee269SEmmanuel Vadot
970b97ee269SEmmanuel Vadot	i2c2_pins: i2c2-default-pins {
971b97ee269SEmmanuel Vadot		pins-bus {
972b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO141__FUNC_SCL2>,
973b97ee269SEmmanuel Vadot				 <PINMUX_GPIO142__FUNC_SDA2>;
974b97ee269SEmmanuel Vadot			bias-pull-up = <MTK_PULL_SET_RSEL_011>;
975b97ee269SEmmanuel Vadot		};
976b97ee269SEmmanuel Vadot	};
977b97ee269SEmmanuel Vadot
978b97ee269SEmmanuel Vadot	i2c3_pins: i2c3-default-pins {
979b97ee269SEmmanuel Vadot		pins-bus {
980b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO160__FUNC_SCL3>,
981b97ee269SEmmanuel Vadot				 <PINMUX_GPIO161__FUNC_SDA3>;
982b97ee269SEmmanuel Vadot			bias-disable;
983b97ee269SEmmanuel Vadot			drive-strength-microamp = <1000>;
984b97ee269SEmmanuel Vadot		};
985b97ee269SEmmanuel Vadot	};
986b97ee269SEmmanuel Vadot
987b97ee269SEmmanuel Vadot	i2c7_pins: i2c7-default-pins {
988b97ee269SEmmanuel Vadot		pins-bus {
989b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO124__FUNC_SCL7>,
990b97ee269SEmmanuel Vadot				 <PINMUX_GPIO125__FUNC_SDA7>;
991b97ee269SEmmanuel Vadot			bias-disable;
992b97ee269SEmmanuel Vadot			drive-strength-microamp = <1000>;
993b97ee269SEmmanuel Vadot		};
994b97ee269SEmmanuel Vadot	};
995b97ee269SEmmanuel Vadot
996b97ee269SEmmanuel Vadot	mmc0_default_pins: mmc0-default-pins {
997b97ee269SEmmanuel Vadot		pins-cmd-dat {
998b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO184__FUNC_MSDC0_DAT0>,
999b97ee269SEmmanuel Vadot				 <PINMUX_GPIO188__FUNC_MSDC0_DAT1>,
1000b97ee269SEmmanuel Vadot				 <PINMUX_GPIO185__FUNC_MSDC0_DAT2>,
1001b97ee269SEmmanuel Vadot				 <PINMUX_GPIO193__FUNC_MSDC0_DAT3>,
1002b97ee269SEmmanuel Vadot				 <PINMUX_GPIO186__FUNC_MSDC0_DAT4>,
1003b97ee269SEmmanuel Vadot				 <PINMUX_GPIO189__FUNC_MSDC0_DAT5>,
1004b97ee269SEmmanuel Vadot				 <PINMUX_GPIO187__FUNC_MSDC0_DAT6>,
1005b97ee269SEmmanuel Vadot				 <PINMUX_GPIO190__FUNC_MSDC0_DAT7>,
1006b97ee269SEmmanuel Vadot				 <PINMUX_GPIO183__FUNC_MSDC0_CMD>;
1007b97ee269SEmmanuel Vadot			input-enable;
1008b97ee269SEmmanuel Vadot			drive-strength = <8>;
1009b97ee269SEmmanuel Vadot			bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
1010b97ee269SEmmanuel Vadot		};
1011b97ee269SEmmanuel Vadot
1012b97ee269SEmmanuel Vadot		pins-clk {
1013b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO192__FUNC_MSDC0_CLK>;
1014b97ee269SEmmanuel Vadot			drive-strength = <8>;
1015b97ee269SEmmanuel Vadot			bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
1016b97ee269SEmmanuel Vadot		};
1017b97ee269SEmmanuel Vadot
1018b97ee269SEmmanuel Vadot		pins-rst {
1019b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO194__FUNC_MSDC0_RSTB>;
1020b97ee269SEmmanuel Vadot			drive-strength = <8>;
1021b97ee269SEmmanuel Vadot			bias-pull-down = <MTK_PUPD_SET_R1R0_01>;
1022b97ee269SEmmanuel Vadot		};
1023b97ee269SEmmanuel Vadot	};
1024b97ee269SEmmanuel Vadot
1025b97ee269SEmmanuel Vadot	mmc0_uhs_pins: mmc0-uhs-pins {
1026b97ee269SEmmanuel Vadot		pins-cmd-dat {
1027b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO184__FUNC_MSDC0_DAT0>,
1028b97ee269SEmmanuel Vadot				 <PINMUX_GPIO188__FUNC_MSDC0_DAT1>,
1029b97ee269SEmmanuel Vadot				 <PINMUX_GPIO185__FUNC_MSDC0_DAT2>,
1030b97ee269SEmmanuel Vadot				 <PINMUX_GPIO193__FUNC_MSDC0_DAT3>,
1031b97ee269SEmmanuel Vadot				 <PINMUX_GPIO186__FUNC_MSDC0_DAT4>,
1032b97ee269SEmmanuel Vadot				 <PINMUX_GPIO189__FUNC_MSDC0_DAT5>,
1033b97ee269SEmmanuel Vadot				 <PINMUX_GPIO187__FUNC_MSDC0_DAT6>,
1034b97ee269SEmmanuel Vadot				 <PINMUX_GPIO190__FUNC_MSDC0_DAT7>,
1035b97ee269SEmmanuel Vadot				 <PINMUX_GPIO183__FUNC_MSDC0_CMD>;
1036b97ee269SEmmanuel Vadot			input-enable;
1037b97ee269SEmmanuel Vadot			drive-strength = <10>;
1038b97ee269SEmmanuel Vadot			bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
1039b97ee269SEmmanuel Vadot		};
1040b97ee269SEmmanuel Vadot
1041b97ee269SEmmanuel Vadot		pins-clk {
1042b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO192__FUNC_MSDC0_CLK>;
1043b97ee269SEmmanuel Vadot			drive-strength = <10>;
1044b97ee269SEmmanuel Vadot			bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
1045b97ee269SEmmanuel Vadot		};
1046b97ee269SEmmanuel Vadot
1047b97ee269SEmmanuel Vadot		pins-rst {
1048b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO194__FUNC_MSDC0_RSTB>;
1049b97ee269SEmmanuel Vadot			drive-strength = <8>;
1050b97ee269SEmmanuel Vadot			bias-pull-down = <MTK_PUPD_SET_R1R0_01>;
1051b97ee269SEmmanuel Vadot		};
1052b97ee269SEmmanuel Vadot
1053b97ee269SEmmanuel Vadot		pins-ds {
1054b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO191__FUNC_MSDC0_DSL>;
1055b97ee269SEmmanuel Vadot			drive-strength = <10>;
1056b97ee269SEmmanuel Vadot			bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
1057b97ee269SEmmanuel Vadot		};
1058b97ee269SEmmanuel Vadot	};
1059b97ee269SEmmanuel Vadot
1060b97ee269SEmmanuel Vadot	mmc1_default_pins: mmc1-default-pins {
1061b97ee269SEmmanuel Vadot		pins-cmd-dat {
1062b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO54__FUNC_MSDC1_DAT0>,
1063b97ee269SEmmanuel Vadot				 <PINMUX_GPIO56__FUNC_MSDC1_DAT1>,
1064b97ee269SEmmanuel Vadot				 <PINMUX_GPIO55__FUNC_MSDC1_DAT2>,
1065b97ee269SEmmanuel Vadot				 <PINMUX_GPIO53__FUNC_MSDC1_DAT3>,
1066b97ee269SEmmanuel Vadot				 <PINMUX_GPIO52__FUNC_MSDC1_CMD>;
1067b97ee269SEmmanuel Vadot			input-enable;
1068b97ee269SEmmanuel Vadot			drive-strength = <8>;
1069b97ee269SEmmanuel Vadot			bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
1070b97ee269SEmmanuel Vadot		};
1071b97ee269SEmmanuel Vadot
1072b97ee269SEmmanuel Vadot		pins-clk {
1073b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO51__FUNC_MSDC1_CLK>;
1074b97ee269SEmmanuel Vadot			drive-strength = <8>;
1075b97ee269SEmmanuel Vadot			bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
1076b97ee269SEmmanuel Vadot		};
1077b97ee269SEmmanuel Vadot
1078b97ee269SEmmanuel Vadot		pins-insert {
1079b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO17__FUNC_GPIO17>;
1080b97ee269SEmmanuel Vadot			input-enable;
1081b97ee269SEmmanuel Vadot			bias-pull-up;
1082b97ee269SEmmanuel Vadot		};
1083b97ee269SEmmanuel Vadot	};
1084b97ee269SEmmanuel Vadot
1085b97ee269SEmmanuel Vadot	mmc1_uhs_pins: mmc1-uhs-pins {
1086b97ee269SEmmanuel Vadot		pins-cmd-dat {
1087b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO54__FUNC_MSDC1_DAT0>,
1088b97ee269SEmmanuel Vadot				 <PINMUX_GPIO56__FUNC_MSDC1_DAT1>,
1089b97ee269SEmmanuel Vadot				 <PINMUX_GPIO55__FUNC_MSDC1_DAT2>,
1090b97ee269SEmmanuel Vadot				 <PINMUX_GPIO53__FUNC_MSDC1_DAT3>,
1091b97ee269SEmmanuel Vadot				 <PINMUX_GPIO52__FUNC_MSDC1_CMD>;
1092b97ee269SEmmanuel Vadot			input-enable;
1093b97ee269SEmmanuel Vadot			drive-strength = <8>;
1094b97ee269SEmmanuel Vadot			bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
1095b97ee269SEmmanuel Vadot		};
1096b97ee269SEmmanuel Vadot
1097b97ee269SEmmanuel Vadot		pins-clk {
1098b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO51__FUNC_MSDC1_CLK>;
1099b97ee269SEmmanuel Vadot			input-enable;
1100b97ee269SEmmanuel Vadot			drive-strength = <8>;
1101b97ee269SEmmanuel Vadot			bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
1102b97ee269SEmmanuel Vadot		};
1103b97ee269SEmmanuel Vadot	};
1104b97ee269SEmmanuel Vadot
1105b97ee269SEmmanuel Vadot	nor_flash_pins: nor-flash-default-pins {
1106b97ee269SEmmanuel Vadot		pins-cs-io1 {
1107b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO24__FUNC_SPINOR_CS>,
1108b97ee269SEmmanuel Vadot				 <PINMUX_GPIO28__FUNC_SPINOR_IO1>;
1109b97ee269SEmmanuel Vadot			input-enable;
1110b97ee269SEmmanuel Vadot			bias-pull-up;
1111b97ee269SEmmanuel Vadot			drive-strength = <10>;
1112b97ee269SEmmanuel Vadot		};
1113b97ee269SEmmanuel Vadot
1114b97ee269SEmmanuel Vadot		pins-io0 {
1115b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO27__FUNC_SPINOR_IO0>;
1116b97ee269SEmmanuel Vadot			bias-pull-up;
1117b97ee269SEmmanuel Vadot			drive-strength = <10>;
1118b97ee269SEmmanuel Vadot		};
1119b97ee269SEmmanuel Vadot
1120b97ee269SEmmanuel Vadot		pins-clk {
1121b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO25__FUNC_SPINOR_CK>;
1122b97ee269SEmmanuel Vadot			input-enable;
1123b97ee269SEmmanuel Vadot			bias-pull-up;
1124b97ee269SEmmanuel Vadot			drive-strength = <10>;
1125b97ee269SEmmanuel Vadot		};
1126b97ee269SEmmanuel Vadot	};
1127b97ee269SEmmanuel Vadot
1128b97ee269SEmmanuel Vadot	pcie_pins: pcie-default-pins {
1129b97ee269SEmmanuel Vadot		pins-pcie-wake {
1130b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO63__FUNC_PCIE_WAKE_N>;
1131b97ee269SEmmanuel Vadot			bias-pull-up;
1132b97ee269SEmmanuel Vadot		};
1133b97ee269SEmmanuel Vadot
1134b97ee269SEmmanuel Vadot		pins-pcie-pereset {
1135b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO64__FUNC_PCIE_PERESET_N>;
1136b97ee269SEmmanuel Vadot		};
1137b97ee269SEmmanuel Vadot
1138b97ee269SEmmanuel Vadot		pins-pcie-clkreq {
1139b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO65__FUNC_PCIE_CLKREQ_N>;
1140b97ee269SEmmanuel Vadot			bias-pull-up;
1141b97ee269SEmmanuel Vadot		};
1142b97ee269SEmmanuel Vadot
1143b97ee269SEmmanuel Vadot		pins-wifi-kill {
1144b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO145__FUNC_GPIO145>; /* WIFI_KILL_L */
1145b97ee269SEmmanuel Vadot			output-high;
1146b97ee269SEmmanuel Vadot		};
1147b97ee269SEmmanuel Vadot	};
1148b97ee269SEmmanuel Vadot
1149cb7aa33aSEmmanuel Vadot	pp1000_dpbrdg_en_pins: pp1000-dpbrdg-en-pins {
1150cb7aa33aSEmmanuel Vadot		pins-en {
1151cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO19__FUNC_GPIO19>;
1152cb7aa33aSEmmanuel Vadot			output-low;
1153cb7aa33aSEmmanuel Vadot		};
1154cb7aa33aSEmmanuel Vadot	};
1155cb7aa33aSEmmanuel Vadot
1156cb7aa33aSEmmanuel Vadot	pp1000_mipibrdg_en_pins: pp1000-mipibrdg-en-pins {
1157cb7aa33aSEmmanuel Vadot		pins-en {
1158cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO129__FUNC_GPIO129>;
1159cb7aa33aSEmmanuel Vadot			output-low;
1160cb7aa33aSEmmanuel Vadot		};
1161cb7aa33aSEmmanuel Vadot	};
1162cb7aa33aSEmmanuel Vadot
1163cb7aa33aSEmmanuel Vadot	pp1800_dpbrdg_en_pins: pp1800-dpbrdg-en-pins {
1164cb7aa33aSEmmanuel Vadot		pins-en {
1165cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO126__FUNC_GPIO126>;
1166cb7aa33aSEmmanuel Vadot			output-low;
1167cb7aa33aSEmmanuel Vadot		};
1168cb7aa33aSEmmanuel Vadot	};
1169cb7aa33aSEmmanuel Vadot
1170cb7aa33aSEmmanuel Vadot	pp1800_mipibrdg_en_pins: pp1800-mipibrd-en-pins {
1171cb7aa33aSEmmanuel Vadot		pins-en {
1172cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO128__FUNC_GPIO128>;
1173cb7aa33aSEmmanuel Vadot			output-low;
1174cb7aa33aSEmmanuel Vadot		};
1175cb7aa33aSEmmanuel Vadot	};
1176cb7aa33aSEmmanuel Vadot
1177cb7aa33aSEmmanuel Vadot	pp3300_dpbrdg_en_pins: pp3300-dpbrdg-en-pins {
1178cb7aa33aSEmmanuel Vadot		pins-en {
1179cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO26__FUNC_GPIO26>;
1180cb7aa33aSEmmanuel Vadot			output-low;
1181cb7aa33aSEmmanuel Vadot		};
1182cb7aa33aSEmmanuel Vadot	};
1183cb7aa33aSEmmanuel Vadot
1184cb7aa33aSEmmanuel Vadot	pp3300_mipibrdg_en_pins: pp3300-mipibrdg-en-pins {
1185cb7aa33aSEmmanuel Vadot		pins-en {
1186cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO127__FUNC_GPIO127>;
1187cb7aa33aSEmmanuel Vadot			output-low;
1188cb7aa33aSEmmanuel Vadot		};
1189cb7aa33aSEmmanuel Vadot	};
1190cb7aa33aSEmmanuel Vadot
1191b97ee269SEmmanuel Vadot	pp3300_wlan_pins: pp3300-wlan-pins {
1192b97ee269SEmmanuel Vadot		pins-pcie-en-pp3300-wlan {
1193b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO143__FUNC_GPIO143>;
1194b97ee269SEmmanuel Vadot			output-high;
1195b97ee269SEmmanuel Vadot		};
1196b97ee269SEmmanuel Vadot	};
1197b97ee269SEmmanuel Vadot
1198cb7aa33aSEmmanuel Vadot	pwm0_pins: pwm0-default-pins {
1199cb7aa33aSEmmanuel Vadot		pins-pwm {
1200cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO40__FUNC_DISP_PWM>;
1201cb7aa33aSEmmanuel Vadot		};
1202cb7aa33aSEmmanuel Vadot
1203cb7aa33aSEmmanuel Vadot		pins-inhibit {
1204cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO152__FUNC_GPIO152>;
1205cb7aa33aSEmmanuel Vadot			output-high;
1206cb7aa33aSEmmanuel Vadot		};
1207cb7aa33aSEmmanuel Vadot	};
1208cb7aa33aSEmmanuel Vadot
120984943d6fSEmmanuel Vadot	rt1015p_pins: rt1015p-default-pins {
121084943d6fSEmmanuel Vadot		pins {
121184943d6fSEmmanuel Vadot			pinmux = <PINMUX_GPIO147__FUNC_GPIO147>;
121284943d6fSEmmanuel Vadot			output-low;
121384943d6fSEmmanuel Vadot		};
121484943d6fSEmmanuel Vadot	};
121584943d6fSEmmanuel Vadot
1216b97ee269SEmmanuel Vadot	scp_pins: scp-pins {
1217b97ee269SEmmanuel Vadot		pins-vreq-vao {
1218b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO195__FUNC_SCP_VREQ_VAO>;
1219b97ee269SEmmanuel Vadot		};
1220b97ee269SEmmanuel Vadot	};
1221b97ee269SEmmanuel Vadot
1222b97ee269SEmmanuel Vadot	spi1_pins: spi1-default-pins {
1223b97ee269SEmmanuel Vadot		pins-cs-mosi-clk {
1224b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO157__FUNC_SPI1_A_CSB>,
1225b97ee269SEmmanuel Vadot				 <PINMUX_GPIO159__FUNC_SPI1_A_MO>,
1226b97ee269SEmmanuel Vadot				 <PINMUX_GPIO156__FUNC_SPI1_A_CLK>;
1227b97ee269SEmmanuel Vadot			bias-disable;
1228b97ee269SEmmanuel Vadot		};
1229b97ee269SEmmanuel Vadot
1230b97ee269SEmmanuel Vadot		pins-miso {
1231b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO158__FUNC_SPI1_A_MI>;
1232b97ee269SEmmanuel Vadot			bias-pull-down;
1233b97ee269SEmmanuel Vadot		};
1234b97ee269SEmmanuel Vadot	};
1235b97ee269SEmmanuel Vadot
1236b97ee269SEmmanuel Vadot	spi5_pins: spi5-default-pins {
1237b97ee269SEmmanuel Vadot		pins-bus {
1238b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO38__FUNC_SPI5_A_MI>,
1239b97ee269SEmmanuel Vadot				 <PINMUX_GPIO37__FUNC_GPIO37>,
1240b97ee269SEmmanuel Vadot				 <PINMUX_GPIO39__FUNC_SPI5_A_MO>,
1241b97ee269SEmmanuel Vadot				 <PINMUX_GPIO36__FUNC_SPI5_A_CLK>;
1242b97ee269SEmmanuel Vadot			bias-disable;
1243b97ee269SEmmanuel Vadot		};
1244b97ee269SEmmanuel Vadot	};
1245b97ee269SEmmanuel Vadot
1246b97ee269SEmmanuel Vadot	trackpad_pins: trackpad-default-pins {
1247b97ee269SEmmanuel Vadot		pins-int-n {
1248b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO15__FUNC_GPIO15>;
1249b97ee269SEmmanuel Vadot			input-enable;
1250b97ee269SEmmanuel Vadot			bias-pull-up = <MTK_PUPD_SET_R1R0_11>;
1251b97ee269SEmmanuel Vadot		};
1252b97ee269SEmmanuel Vadot	};
1253b97ee269SEmmanuel Vadot
1254b97ee269SEmmanuel Vadot	touchscreen_pins: touchscreen-default-pins {
1255b97ee269SEmmanuel Vadot		pins-irq {
1256b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO21__FUNC_GPIO21>;
1257b97ee269SEmmanuel Vadot			input-enable;
1258b97ee269SEmmanuel Vadot			bias-pull-up;
1259b97ee269SEmmanuel Vadot		};
1260b97ee269SEmmanuel Vadot
1261b97ee269SEmmanuel Vadot		pins-reset {
1262b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO137__FUNC_GPIO137>;
1263b97ee269SEmmanuel Vadot			output-high;
1264b97ee269SEmmanuel Vadot		};
1265b97ee269SEmmanuel Vadot
1266b97ee269SEmmanuel Vadot		pins-report-sw {
1267b97ee269SEmmanuel Vadot			pinmux = <PINMUX_GPIO138__FUNC_GPIO138>;
1268b97ee269SEmmanuel Vadot			output-low;
1269b97ee269SEmmanuel Vadot		};
1270b97ee269SEmmanuel Vadot	};
1271cb7aa33aSEmmanuel Vadot
1272cb7aa33aSEmmanuel Vadot	vow_clk_miso_off_pins: vow-clk-miso-off-pins {
1273cb7aa33aSEmmanuel Vadot		pins-miso-off {
1274cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO219__FUNC_GPIO219>;
1275cb7aa33aSEmmanuel Vadot		};
1276cb7aa33aSEmmanuel Vadot	};
1277cb7aa33aSEmmanuel Vadot
1278cb7aa33aSEmmanuel Vadot	vow_clk_miso_on_pins: vow-clk-miso-on-pins {
1279cb7aa33aSEmmanuel Vadot		pins-miso-on {
1280cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO219__FUNC_VOW_CLK_MISO>;
1281cb7aa33aSEmmanuel Vadot		};
1282cb7aa33aSEmmanuel Vadot	};
1283cb7aa33aSEmmanuel Vadot
1284cb7aa33aSEmmanuel Vadot	vow_dat_miso_off_pins: vow-dat-miso-off-pins {
1285cb7aa33aSEmmanuel Vadot		pins-miso-off {
1286cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO218__FUNC_GPIO218>;
1287cb7aa33aSEmmanuel Vadot		};
1288cb7aa33aSEmmanuel Vadot	};
1289cb7aa33aSEmmanuel Vadot
1290cb7aa33aSEmmanuel Vadot	vow_dat_miso_on_pins: vow-dat-miso-on-pins {
1291cb7aa33aSEmmanuel Vadot		pins-miso-on {
1292cb7aa33aSEmmanuel Vadot			pinmux = <PINMUX_GPIO218__FUNC_VOW_DAT_MISO>;
1293cb7aa33aSEmmanuel Vadot		};
1294cb7aa33aSEmmanuel Vadot	};
1295b97ee269SEmmanuel Vadot};
1296b97ee269SEmmanuel Vadot
1297b97ee269SEmmanuel Vadot&pmic {
1298b97ee269SEmmanuel Vadot	interrupts-extended = <&pio 214 IRQ_TYPE_LEVEL_HIGH>;
1299b97ee269SEmmanuel Vadot};
1300b97ee269SEmmanuel Vadot
1301cb7aa33aSEmmanuel Vadot&pwm0 {
1302cb7aa33aSEmmanuel Vadot	status = "okay";
1303cb7aa33aSEmmanuel Vadot
1304cb7aa33aSEmmanuel Vadot	pinctrl-names = "default";
1305cb7aa33aSEmmanuel Vadot	pinctrl-0 = <&pwm0_pins>;
1306cb7aa33aSEmmanuel Vadot};
1307cb7aa33aSEmmanuel Vadot
1308b97ee269SEmmanuel Vadot&scp {
1309b97ee269SEmmanuel Vadot	status = "okay";
1310b97ee269SEmmanuel Vadot
1311b97ee269SEmmanuel Vadot	firmware-name = "mediatek/mt8192/scp.img";
1312b97ee269SEmmanuel Vadot	memory-region = <&scp_mem_reserved>;
1313b97ee269SEmmanuel Vadot	pinctrl-names = "default";
1314b97ee269SEmmanuel Vadot	pinctrl-0 = <&scp_pins>;
1315b97ee269SEmmanuel Vadot
131684943d6fSEmmanuel Vadot	cros-ec-rpmsg {
1317b97ee269SEmmanuel Vadot		compatible = "google,cros-ec-rpmsg";
1318b97ee269SEmmanuel Vadot		mediatek,rpmsg-name = "cros-ec-rpmsg";
1319b97ee269SEmmanuel Vadot	};
1320b97ee269SEmmanuel Vadot};
1321b97ee269SEmmanuel Vadot
1322b97ee269SEmmanuel Vadot&spi1 {
1323b97ee269SEmmanuel Vadot	status = "okay";
1324b97ee269SEmmanuel Vadot
1325b97ee269SEmmanuel Vadot	mediatek,pad-select = <0>;
1326b97ee269SEmmanuel Vadot	pinctrl-names = "default";
1327b97ee269SEmmanuel Vadot	pinctrl-0 = <&spi1_pins>;
1328b97ee269SEmmanuel Vadot
1329b97ee269SEmmanuel Vadot	cros_ec: ec@0 {
1330b97ee269SEmmanuel Vadot		compatible = "google,cros-ec-spi";
1331b97ee269SEmmanuel Vadot		reg = <0>;
1332b97ee269SEmmanuel Vadot		interrupts-extended = <&pio 5 IRQ_TYPE_LEVEL_LOW>;
1333b97ee269SEmmanuel Vadot		spi-max-frequency = <3000000>;
1334b97ee269SEmmanuel Vadot		pinctrl-names = "default";
1335b97ee269SEmmanuel Vadot		pinctrl-0 = <&cros_ec_int>;
133601950c46SEmmanuel Vadot		wakeup-source;
1337b97ee269SEmmanuel Vadot
1338b97ee269SEmmanuel Vadot		#address-cells = <1>;
1339b97ee269SEmmanuel Vadot		#size-cells = <0>;
1340b97ee269SEmmanuel Vadot
1341b97ee269SEmmanuel Vadot		cros_ec_pwm: pwm {
1342b97ee269SEmmanuel Vadot			compatible = "google,cros-ec-pwm";
1343b97ee269SEmmanuel Vadot			#pwm-cells = <1>;
1344b97ee269SEmmanuel Vadot
1345b97ee269SEmmanuel Vadot			status = "disabled";
1346b97ee269SEmmanuel Vadot		};
1347b97ee269SEmmanuel Vadot
1348b97ee269SEmmanuel Vadot		i2c_tunnel: i2c-tunnel {
1349b97ee269SEmmanuel Vadot			compatible = "google,cros-ec-i2c-tunnel";
1350b97ee269SEmmanuel Vadot			google,remote-bus = <0>;
1351b97ee269SEmmanuel Vadot			#address-cells = <1>;
1352b97ee269SEmmanuel Vadot			#size-cells = <0>;
1353b97ee269SEmmanuel Vadot		};
1354b97ee269SEmmanuel Vadot
1355b97ee269SEmmanuel Vadot		mt6360_ldo3_reg: regulator@0 {
1356b97ee269SEmmanuel Vadot			compatible = "google,cros-ec-regulator";
1357b97ee269SEmmanuel Vadot			reg = <0>;
1358b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
1359b97ee269SEmmanuel Vadot			regulator-max-microvolt = <3300000>;
1360b97ee269SEmmanuel Vadot		};
1361b97ee269SEmmanuel Vadot
1362b97ee269SEmmanuel Vadot		mt6360_ldo5_reg: regulator@1 {
1363b97ee269SEmmanuel Vadot			compatible = "google,cros-ec-regulator";
1364b97ee269SEmmanuel Vadot			reg = <1>;
1365b97ee269SEmmanuel Vadot			regulator-min-microvolt = <3300000>;
1366b97ee269SEmmanuel Vadot			regulator-max-microvolt = <3300000>;
1367b97ee269SEmmanuel Vadot		};
1368b97ee269SEmmanuel Vadot
1369b97ee269SEmmanuel Vadot		typec {
1370b97ee269SEmmanuel Vadot			compatible = "google,cros-ec-typec";
1371b97ee269SEmmanuel Vadot			#address-cells = <1>;
1372b97ee269SEmmanuel Vadot			#size-cells = <0>;
1373b97ee269SEmmanuel Vadot
1374b97ee269SEmmanuel Vadot			usb_c0: connector@0 {
1375b97ee269SEmmanuel Vadot				compatible = "usb-c-connector";
1376b97ee269SEmmanuel Vadot				reg = <0>;
1377b97ee269SEmmanuel Vadot				label = "left";
1378b97ee269SEmmanuel Vadot				power-role = "dual";
1379b97ee269SEmmanuel Vadot				data-role = "host";
1380b97ee269SEmmanuel Vadot				try-power-role = "source";
1381b97ee269SEmmanuel Vadot			};
1382b97ee269SEmmanuel Vadot
1383b97ee269SEmmanuel Vadot			usb_c1: connector@1 {
1384b97ee269SEmmanuel Vadot				compatible = "usb-c-connector";
1385b97ee269SEmmanuel Vadot				reg = <1>;
1386b97ee269SEmmanuel Vadot				label = "right";
1387b97ee269SEmmanuel Vadot				power-role = "dual";
1388b97ee269SEmmanuel Vadot				data-role = "host";
1389b97ee269SEmmanuel Vadot				try-power-role = "source";
1390b97ee269SEmmanuel Vadot			};
1391b97ee269SEmmanuel Vadot		};
1392b97ee269SEmmanuel Vadot	};
1393b97ee269SEmmanuel Vadot};
1394b97ee269SEmmanuel Vadot
1395b97ee269SEmmanuel Vadot&spi5 {
1396b97ee269SEmmanuel Vadot	status = "okay";
1397b97ee269SEmmanuel Vadot
1398b97ee269SEmmanuel Vadot	cs-gpios = <&pio 37 GPIO_ACTIVE_LOW>;
1399b97ee269SEmmanuel Vadot	mediatek,pad-select = <0>;
1400b97ee269SEmmanuel Vadot	pinctrl-names = "default";
1401b97ee269SEmmanuel Vadot	pinctrl-0 = <&spi5_pins>;
1402b97ee269SEmmanuel Vadot
14038d13bc63SEmmanuel Vadot	tpm@0 {
1404b97ee269SEmmanuel Vadot		compatible = "google,cr50";
1405b97ee269SEmmanuel Vadot		reg = <0>;
1406b97ee269SEmmanuel Vadot		interrupts-extended = <&pio 171 IRQ_TYPE_EDGE_RISING>;
1407b97ee269SEmmanuel Vadot		spi-max-frequency = <1000000>;
1408b97ee269SEmmanuel Vadot		pinctrl-names = "default";
1409b97ee269SEmmanuel Vadot		pinctrl-0 = <&cr50_int>;
1410b97ee269SEmmanuel Vadot	};
1411b97ee269SEmmanuel Vadot};
1412b97ee269SEmmanuel Vadot
1413b97ee269SEmmanuel Vadot&spmi {
1414b97ee269SEmmanuel Vadot	#address-cells = <2>;
1415b97ee269SEmmanuel Vadot	#size-cells = <0>;
1416b97ee269SEmmanuel Vadot
1417b97ee269SEmmanuel Vadot	mt6315_6: pmic@6 {
1418b97ee269SEmmanuel Vadot		compatible = "mediatek,mt6315-regulator";
1419b97ee269SEmmanuel Vadot		reg = <0x6 SPMI_USID>;
1420b97ee269SEmmanuel Vadot
1421b97ee269SEmmanuel Vadot		regulators {
1422b97ee269SEmmanuel Vadot			mt6315_6_vbuck1: vbuck1 {
1423b97ee269SEmmanuel Vadot				regulator-compatible = "vbuck1";
1424b97ee269SEmmanuel Vadot				regulator-name = "Vbcpu";
142501950c46SEmmanuel Vadot				regulator-min-microvolt = <400000>;
1426b97ee269SEmmanuel Vadot				regulator-max-microvolt = <1193750>;
1427b97ee269SEmmanuel Vadot				regulator-enable-ramp-delay = <256>;
1428b97ee269SEmmanuel Vadot				regulator-allowed-modes = <0 1 2>;
1429b97ee269SEmmanuel Vadot				regulator-always-on;
1430b97ee269SEmmanuel Vadot			};
1431b97ee269SEmmanuel Vadot
1432b97ee269SEmmanuel Vadot			mt6315_6_vbuck3: vbuck3 {
1433b97ee269SEmmanuel Vadot				regulator-compatible = "vbuck3";
1434b97ee269SEmmanuel Vadot				regulator-name = "Vlcpu";
143501950c46SEmmanuel Vadot				regulator-min-microvolt = <400000>;
1436b97ee269SEmmanuel Vadot				regulator-max-microvolt = <1193750>;
1437b97ee269SEmmanuel Vadot				regulator-enable-ramp-delay = <256>;
1438b97ee269SEmmanuel Vadot				regulator-allowed-modes = <0 1 2>;
1439b97ee269SEmmanuel Vadot				regulator-always-on;
1440b97ee269SEmmanuel Vadot			};
1441b97ee269SEmmanuel Vadot		};
1442b97ee269SEmmanuel Vadot	};
1443b97ee269SEmmanuel Vadot
1444b97ee269SEmmanuel Vadot	mt6315_7: pmic@7 {
1445b97ee269SEmmanuel Vadot		compatible = "mediatek,mt6315-regulator";
1446b97ee269SEmmanuel Vadot		reg = <0x7 SPMI_USID>;
1447b97ee269SEmmanuel Vadot
1448b97ee269SEmmanuel Vadot		regulators {
1449b97ee269SEmmanuel Vadot			mt6315_7_vbuck1: vbuck1 {
1450b97ee269SEmmanuel Vadot				regulator-compatible = "vbuck1";
1451b97ee269SEmmanuel Vadot				regulator-name = "Vgpu";
145201950c46SEmmanuel Vadot				regulator-min-microvolt = <400000>;
1453fac71e4eSEmmanuel Vadot				regulator-max-microvolt = <800000>;
1454b97ee269SEmmanuel Vadot				regulator-enable-ramp-delay = <256>;
1455b97ee269SEmmanuel Vadot				regulator-allowed-modes = <0 1 2>;
1456fac71e4eSEmmanuel Vadot				regulator-coupled-with = <&mt6359_vsram_others_ldo_reg>;
1457fac71e4eSEmmanuel Vadot				regulator-coupled-max-spread = <10000>;
1458b97ee269SEmmanuel Vadot			};
1459b97ee269SEmmanuel Vadot		};
1460b97ee269SEmmanuel Vadot	};
1461b97ee269SEmmanuel Vadot};
1462b97ee269SEmmanuel Vadot
1463b97ee269SEmmanuel Vadot&uart0 {
1464b97ee269SEmmanuel Vadot	status = "okay";
1465b97ee269SEmmanuel Vadot};
1466b97ee269SEmmanuel Vadot
1467b97ee269SEmmanuel Vadot&xhci {
1468b97ee269SEmmanuel Vadot	status = "okay";
1469b97ee269SEmmanuel Vadot
1470b97ee269SEmmanuel Vadot	wakeup-source;
1471b97ee269SEmmanuel Vadot	vusb33-supply = <&pp3300_g>;
1472b97ee269SEmmanuel Vadot	vbus-supply = <&pp5000_a>;
1473b97ee269SEmmanuel Vadot};
1474b97ee269SEmmanuel Vadot
1475b97ee269SEmmanuel Vadot#include <arm/cros-ec-keyboard.dtsi>
1476b97ee269SEmmanuel Vadot#include <arm/cros-ec-sbs.dtsi>
1477