xref: /linux/arch/arm64/boot/dts/mediatek/mt8183-evb.dts (revision b924b73835c17206c419a64706346b9f71aaf007)
1e526c9bcSBen Ho// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2e526c9bcSBen Ho/*
3e526c9bcSBen Ho * Copyright (c) 2018 MediaTek Inc.
4e526c9bcSBen Ho * Author: Ben Ho <ben.ho@mediatek.com>
5e526c9bcSBen Ho *	   Erin Lo <erin.lo@mediatek.com>
6e526c9bcSBen Ho */
7e526c9bcSBen Ho
8e526c9bcSBen Ho/dts-v1/;
9e526c9bcSBen Ho#include "mt8183.dtsi"
109f887222SHsin-Hsiung Wang#include "mt6358.dtsi"
11e526c9bcSBen Ho
12e526c9bcSBen Ho/ {
13e526c9bcSBen Ho	model = "MediaTek MT8183 evaluation board";
14380d18fbSAngeloGioacchino Del Regno	chassis-type = "embedded";
15e526c9bcSBen Ho	compatible = "mediatek,mt8183-evb", "mediatek,mt8183";
16e526c9bcSBen Ho
17e526c9bcSBen Ho	aliases {
18e526c9bcSBen Ho		serial0 = &uart0;
19e526c9bcSBen Ho	};
20e526c9bcSBen Ho
21e526c9bcSBen Ho	memory@40000000 {
22e526c9bcSBen Ho		device_type = "memory";
23e526c9bcSBen Ho		reg = <0 0x40000000 0 0x80000000>;
24e526c9bcSBen Ho	};
25e526c9bcSBen Ho
26e526c9bcSBen Ho	chosen {
27e526c9bcSBen Ho		stdout-path = "serial0:921600n8";
28e526c9bcSBen Ho	};
291652dbf7SEddie Huang
301652dbf7SEddie Huang	reserved-memory {
311652dbf7SEddie Huang		#address-cells = <2>;
321652dbf7SEddie Huang		#size-cells = <2>;
331652dbf7SEddie Huang		ranges;
341652dbf7SEddie Huang		scp_mem_reserved: scp_mem_region {
351652dbf7SEddie Huang			compatible = "shared-dma-pool";
361652dbf7SEddie Huang			reg = <0 0x50000000 0 0x2900000>;
371652dbf7SEddie Huang			no-map;
381652dbf7SEddie Huang		};
391652dbf7SEddie Huang	};
40ff9ea5c6SFabien Parent
41ff9ea5c6SFabien Parent	ntc@0 {
42ff9ea5c6SFabien Parent		compatible = "murata,ncp03wf104";
43ff9ea5c6SFabien Parent		pullup-uv = <1800000>;
44ff9ea5c6SFabien Parent		pullup-ohm = <390000>;
45ff9ea5c6SFabien Parent		pulldown-ohm = <0>;
46ff9ea5c6SFabien Parent		io-channels = <&auxadc 0>;
47ff9ea5c6SFabien Parent	};
48e526c9bcSBen Ho};
49e526c9bcSBen Ho
50eb59b353SZhiyong Tao&auxadc {
51eb59b353SZhiyong Tao	status = "okay";
52eb59b353SZhiyong Tao};
53eb59b353SZhiyong Tao
54a8168cebSNicolas Boichat&gpu {
55a8168cebSNicolas Boichat	mali-supply = <&mt6358_vgpu_reg>;
56a8168cebSNicolas Boichat};
57a8168cebSNicolas Boichat
58251137b8SQii Wang&i2c0 {
59251137b8SQii Wang	pinctrl-names = "default";
60251137b8SQii Wang	pinctrl-0 = <&i2c_pins_0>;
61251137b8SQii Wang	status = "okay";
62251137b8SQii Wang	clock-frequency = <100000>;
63251137b8SQii Wang};
64251137b8SQii Wang
65251137b8SQii Wang&i2c1 {
66251137b8SQii Wang	pinctrl-names = "default";
67251137b8SQii Wang	pinctrl-0 = <&i2c_pins_1>;
68251137b8SQii Wang	status = "okay";
69251137b8SQii Wang	clock-frequency = <100000>;
70251137b8SQii Wang};
71251137b8SQii Wang
72251137b8SQii Wang&i2c2 {
73251137b8SQii Wang	pinctrl-names = "default";
74251137b8SQii Wang	pinctrl-0 = <&i2c_pins_2>;
75251137b8SQii Wang	status = "okay";
76251137b8SQii Wang	clock-frequency = <100000>;
77251137b8SQii Wang};
78251137b8SQii Wang
79251137b8SQii Wang&i2c3 {
80251137b8SQii Wang	pinctrl-names = "default";
81251137b8SQii Wang	pinctrl-0 = <&i2c_pins_3>;
82251137b8SQii Wang	status = "okay";
83251137b8SQii Wang	clock-frequency = <100000>;
84251137b8SQii Wang};
85251137b8SQii Wang
86251137b8SQii Wang&i2c4 {
87251137b8SQii Wang	pinctrl-names = "default";
88251137b8SQii Wang	pinctrl-0 = <&i2c_pins_4>;
89251137b8SQii Wang	status = "okay";
90251137b8SQii Wang	clock-frequency = <1000000>;
91251137b8SQii Wang};
92251137b8SQii Wang
93251137b8SQii Wang&i2c5 {
94251137b8SQii Wang	pinctrl-names = "default";
95251137b8SQii Wang	pinctrl-0 = <&i2c_pins_5>;
96251137b8SQii Wang	status = "okay";
97251137b8SQii Wang	clock-frequency = <1000000>;
98251137b8SQii Wang};
99251137b8SQii Wang
1005e6cdf00Sjjian zhou&mmc0 {
1015e6cdf00Sjjian zhou	status = "okay";
1025e6cdf00Sjjian zhou	pinctrl-names = "default", "state_uhs";
1035e6cdf00Sjjian zhou	pinctrl-0 = <&mmc0_pins_default>;
1045e6cdf00Sjjian zhou	pinctrl-1 = <&mmc0_pins_uhs>;
1055e6cdf00Sjjian zhou	bus-width = <8>;
1065e6cdf00Sjjian zhou	max-frequency = <200000000>;
1075e6cdf00Sjjian zhou	cap-mmc-highspeed;
1085e6cdf00Sjjian zhou	mmc-hs200-1_8v;
1095e6cdf00Sjjian zhou	mmc-hs400-1_8v;
1105e6cdf00Sjjian zhou	cap-mmc-hw-reset;
1115e6cdf00Sjjian zhou	no-sdio;
1125e6cdf00Sjjian zhou	no-sd;
1135e6cdf00Sjjian zhou	hs400-ds-delay = <0x12814>;
1145e6cdf00Sjjian zhou	vmmc-supply = <&mt6358_vemc_reg>;
1155e6cdf00Sjjian zhou	vqmmc-supply = <&mt6358_vio18_reg>;
1165e6cdf00Sjjian zhou	assigned-clocks = <&topckgen CLK_TOP_MUX_MSDC50_0>;
1175e6cdf00Sjjian zhou	assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_CK>;
1185e6cdf00Sjjian zhou	non-removable;
1195e6cdf00Sjjian zhou};
1205e6cdf00Sjjian zhou
1215e6cdf00Sjjian zhou&mmc1 {
1225e6cdf00Sjjian zhou	status = "okay";
1235e6cdf00Sjjian zhou	pinctrl-names = "default", "state_uhs";
1245e6cdf00Sjjian zhou	pinctrl-0 = <&mmc1_pins_default>;
1255e6cdf00Sjjian zhou	pinctrl-1 = <&mmc1_pins_uhs>;
1265e6cdf00Sjjian zhou	bus-width = <4>;
1275e6cdf00Sjjian zhou	max-frequency = <200000000>;
1285e6cdf00Sjjian zhou	cap-sd-highspeed;
1295e6cdf00Sjjian zhou	sd-uhs-sdr50;
1305e6cdf00Sjjian zhou	sd-uhs-sdr104;
1315e6cdf00Sjjian zhou	cap-sdio-irq;
1325e6cdf00Sjjian zhou	no-mmc;
1335e6cdf00Sjjian zhou	no-sd;
1345e6cdf00Sjjian zhou	vmmc-supply = <&mt6358_vmch_reg>;
1355e6cdf00Sjjian zhou	vqmmc-supply = <&mt6358_vmc_reg>;
1365e6cdf00Sjjian zhou	keep-power-in-suspend;
137a5b87cdcSFabio Estevam	wakeup-source;
1385e6cdf00Sjjian zhou	non-removable;
1395e6cdf00Sjjian zhou};
1405e6cdf00Sjjian zhou
14185ae8a51SAngeloGioacchino Del Regno&mt6358_vgpu_reg {
14261ac25e5SAngeloGioacchino Del Regno	regulator-min-microvolt = <625000>;
14361ac25e5SAngeloGioacchino Del Regno	regulator-max-microvolt = <900000>;
14461ac25e5SAngeloGioacchino Del Regno
14585ae8a51SAngeloGioacchino Del Regno	regulator-coupled-with = <&mt6358_vsram_gpu_reg>;
14685ae8a51SAngeloGioacchino Del Regno	regulator-coupled-max-spread = <100000>;
14785ae8a51SAngeloGioacchino Del Regno};
14885ae8a51SAngeloGioacchino Del Regno
14985ae8a51SAngeloGioacchino Del Regno&mt6358_vsram_gpu_reg {
15061ac25e5SAngeloGioacchino Del Regno	regulator-min-microvolt = <850000>;
15161ac25e5SAngeloGioacchino Del Regno	regulator-max-microvolt = <1000000>;
15261ac25e5SAngeloGioacchino Del Regno
15385ae8a51SAngeloGioacchino Del Regno	regulator-coupled-with = <&mt6358_vgpu_reg>;
15485ae8a51SAngeloGioacchino Del Regno	regulator-coupled-max-spread = <100000>;
15585ae8a51SAngeloGioacchino Del Regno};
15685ae8a51SAngeloGioacchino Del Regno
1578e2dd0f9SErin Lo&pio {
158251137b8SQii Wang	i2c_pins_0: i2c0 {
159251137b8SQii Wang		pins_i2c {
160251137b8SQii Wang			pinmux = <PINMUX_GPIO82__FUNC_SDA0>,
161251137b8SQii Wang				 <PINMUX_GPIO83__FUNC_SCL0>;
162251137b8SQii Wang			mediatek,pull-up-adv = <3>;
163251137b8SQii Wang			mediatek,drive-strength-adv = <00>;
164251137b8SQii Wang		};
165251137b8SQii Wang	};
166251137b8SQii Wang
167251137b8SQii Wang	i2c_pins_1: i2c1 {
168251137b8SQii Wang		pins_i2c {
169251137b8SQii Wang			pinmux = <PINMUX_GPIO81__FUNC_SDA1>,
170251137b8SQii Wang				 <PINMUX_GPIO84__FUNC_SCL1>;
171251137b8SQii Wang			mediatek,pull-up-adv = <3>;
172251137b8SQii Wang			mediatek,drive-strength-adv = <00>;
173251137b8SQii Wang		};
174251137b8SQii Wang	};
175251137b8SQii Wang
176251137b8SQii Wang	i2c_pins_2: i2c2 {
177251137b8SQii Wang		pins_i2c {
178251137b8SQii Wang			pinmux = <PINMUX_GPIO103__FUNC_SCL2>,
179251137b8SQii Wang				 <PINMUX_GPIO104__FUNC_SDA2>;
180251137b8SQii Wang			mediatek,pull-up-adv = <3>;
181251137b8SQii Wang			mediatek,drive-strength-adv = <00>;
182251137b8SQii Wang		};
183251137b8SQii Wang	};
184251137b8SQii Wang
185251137b8SQii Wang	i2c_pins_3: i2c3 {
186251137b8SQii Wang		pins_i2c {
187251137b8SQii Wang			pinmux = <PINMUX_GPIO50__FUNC_SCL3>,
188251137b8SQii Wang				 <PINMUX_GPIO51__FUNC_SDA3>;
189251137b8SQii Wang			mediatek,pull-up-adv = <3>;
190251137b8SQii Wang			mediatek,drive-strength-adv = <00>;
191251137b8SQii Wang		};
192251137b8SQii Wang	};
193251137b8SQii Wang
194251137b8SQii Wang	i2c_pins_4: i2c4 {
195251137b8SQii Wang		pins_i2c {
196251137b8SQii Wang			pinmux = <PINMUX_GPIO105__FUNC_SCL4>,
197251137b8SQii Wang				 <PINMUX_GPIO106__FUNC_SDA4>;
198251137b8SQii Wang			mediatek,pull-up-adv = <3>;
199251137b8SQii Wang			mediatek,drive-strength-adv = <00>;
200251137b8SQii Wang		};
201251137b8SQii Wang	};
202251137b8SQii Wang
203251137b8SQii Wang	i2c_pins_5: i2c5 {
204251137b8SQii Wang		pins_i2c {
205251137b8SQii Wang			pinmux = <PINMUX_GPIO48__FUNC_SCL5>,
206251137b8SQii Wang				 <PINMUX_GPIO49__FUNC_SDA5>;
207251137b8SQii Wang			mediatek,pull-up-adv = <3>;
208251137b8SQii Wang			mediatek,drive-strength-adv = <00>;
209251137b8SQii Wang		};
210251137b8SQii Wang	};
211251137b8SQii Wang
2128e2dd0f9SErin Lo	spi_pins_0: spi0 {
2138e2dd0f9SErin Lo		pins_spi {
2148e2dd0f9SErin Lo			pinmux = <PINMUX_GPIO85__FUNC_SPI0_MI>,
2158e2dd0f9SErin Lo				 <PINMUX_GPIO86__FUNC_SPI0_CSB>,
2168e2dd0f9SErin Lo				 <PINMUX_GPIO87__FUNC_SPI0_MO>,
2178e2dd0f9SErin Lo				 <PINMUX_GPIO88__FUNC_SPI0_CLK>;
2188e2dd0f9SErin Lo			bias-disable;
2198e2dd0f9SErin Lo		};
2208e2dd0f9SErin Lo	};
2218e2dd0f9SErin Lo
2225e6cdf00Sjjian zhou	mmc0_pins_default: mmc0default {
2235e6cdf00Sjjian zhou		pins_cmd_dat {
2245e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO123__FUNC_MSDC0_DAT0>,
2255e6cdf00Sjjian zhou				 <PINMUX_GPIO128__FUNC_MSDC0_DAT1>,
2265e6cdf00Sjjian zhou				 <PINMUX_GPIO125__FUNC_MSDC0_DAT2>,
2275e6cdf00Sjjian zhou				 <PINMUX_GPIO132__FUNC_MSDC0_DAT3>,
2285e6cdf00Sjjian zhou				 <PINMUX_GPIO126__FUNC_MSDC0_DAT4>,
2295e6cdf00Sjjian zhou				 <PINMUX_GPIO129__FUNC_MSDC0_DAT5>,
2305e6cdf00Sjjian zhou				 <PINMUX_GPIO127__FUNC_MSDC0_DAT6>,
2315e6cdf00Sjjian zhou				 <PINMUX_GPIO130__FUNC_MSDC0_DAT7>,
2325e6cdf00Sjjian zhou				 <PINMUX_GPIO122__FUNC_MSDC0_CMD>;
2335e6cdf00Sjjian zhou			input-enable;
2345e6cdf00Sjjian zhou			bias-pull-up;
2355e6cdf00Sjjian zhou		};
2365e6cdf00Sjjian zhou
2375e6cdf00Sjjian zhou		pins_clk {
2385e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>;
2395e6cdf00Sjjian zhou			bias-pull-down;
2405e6cdf00Sjjian zhou		};
2415e6cdf00Sjjian zhou
2425e6cdf00Sjjian zhou		pins_rst {
2435e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO133__FUNC_MSDC0_RSTB>;
2445e6cdf00Sjjian zhou			bias-pull-up;
2455e6cdf00Sjjian zhou		};
2465e6cdf00Sjjian zhou	};
2475e6cdf00Sjjian zhou
2484b1b8fd8SEnric Balletbo i Serra	mmc0_pins_uhs: mmc0 {
2495e6cdf00Sjjian zhou		pins_cmd_dat {
2505e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO123__FUNC_MSDC0_DAT0>,
2515e6cdf00Sjjian zhou				 <PINMUX_GPIO128__FUNC_MSDC0_DAT1>,
2525e6cdf00Sjjian zhou				 <PINMUX_GPIO125__FUNC_MSDC0_DAT2>,
2535e6cdf00Sjjian zhou				 <PINMUX_GPIO132__FUNC_MSDC0_DAT3>,
2545e6cdf00Sjjian zhou				 <PINMUX_GPIO126__FUNC_MSDC0_DAT4>,
2555e6cdf00Sjjian zhou				 <PINMUX_GPIO129__FUNC_MSDC0_DAT5>,
2565e6cdf00Sjjian zhou				 <PINMUX_GPIO127__FUNC_MSDC0_DAT6>,
2575e6cdf00Sjjian zhou				 <PINMUX_GPIO130__FUNC_MSDC0_DAT7>,
2585e6cdf00Sjjian zhou				 <PINMUX_GPIO122__FUNC_MSDC0_CMD>;
2595e6cdf00Sjjian zhou			input-enable;
2605e6cdf00Sjjian zhou			drive-strength = <MTK_DRIVE_10mA>;
2615e6cdf00Sjjian zhou			bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
2625e6cdf00Sjjian zhou		};
2635e6cdf00Sjjian zhou
2645e6cdf00Sjjian zhou		pins_clk {
2655e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>;
2665e6cdf00Sjjian zhou			drive-strength = <MTK_DRIVE_10mA>;
2675e6cdf00Sjjian zhou			bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
2685e6cdf00Sjjian zhou		};
2695e6cdf00Sjjian zhou
2705e6cdf00Sjjian zhou		pins_ds {
2715e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO131__FUNC_MSDC0_DSL>;
2725e6cdf00Sjjian zhou			drive-strength = <MTK_DRIVE_10mA>;
2735e6cdf00Sjjian zhou			bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
2745e6cdf00Sjjian zhou		};
2755e6cdf00Sjjian zhou
2765e6cdf00Sjjian zhou		pins_rst {
2775e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO133__FUNC_MSDC0_RSTB>;
2785e6cdf00Sjjian zhou			drive-strength = <MTK_DRIVE_10mA>;
2795e6cdf00Sjjian zhou			bias-pull-up;
2805e6cdf00Sjjian zhou		};
2815e6cdf00Sjjian zhou	};
2825e6cdf00Sjjian zhou
2835e6cdf00Sjjian zhou	mmc1_pins_default: mmc1default {
2845e6cdf00Sjjian zhou		pins_cmd_dat {
2855e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO31__FUNC_MSDC1_CMD>,
2865e6cdf00Sjjian zhou				   <PINMUX_GPIO32__FUNC_MSDC1_DAT0>,
2875e6cdf00Sjjian zhou				   <PINMUX_GPIO34__FUNC_MSDC1_DAT1>,
2885e6cdf00Sjjian zhou				   <PINMUX_GPIO33__FUNC_MSDC1_DAT2>,
2895e6cdf00Sjjian zhou				   <PINMUX_GPIO30__FUNC_MSDC1_DAT3>;
2905e6cdf00Sjjian zhou			input-enable;
2915e6cdf00Sjjian zhou			bias-pull-up;
2925e6cdf00Sjjian zhou		};
2935e6cdf00Sjjian zhou
2945e6cdf00Sjjian zhou		pins_clk {
2955e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>;
2965e6cdf00Sjjian zhou			input-enable;
2975e6cdf00Sjjian zhou			bias-pull-down;
2985e6cdf00Sjjian zhou		};
2995e6cdf00Sjjian zhou
3005e6cdf00Sjjian zhou		pins_pmu {
3015e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO178__FUNC_GPIO178>,
3025e6cdf00Sjjian zhou				   <PINMUX_GPIO166__FUNC_GPIO166>;
3035e6cdf00Sjjian zhou			output-high;
3045e6cdf00Sjjian zhou		};
3055e6cdf00Sjjian zhou	};
3065e6cdf00Sjjian zhou
3074b1b8fd8SEnric Balletbo i Serra	mmc1_pins_uhs: mmc1 {
3085e6cdf00Sjjian zhou		pins_cmd_dat {
3095e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO31__FUNC_MSDC1_CMD>,
3105e6cdf00Sjjian zhou				   <PINMUX_GPIO32__FUNC_MSDC1_DAT0>,
3115e6cdf00Sjjian zhou				   <PINMUX_GPIO34__FUNC_MSDC1_DAT1>,
3125e6cdf00Sjjian zhou				   <PINMUX_GPIO33__FUNC_MSDC1_DAT2>,
3135e6cdf00Sjjian zhou				   <PINMUX_GPIO30__FUNC_MSDC1_DAT3>;
3145e6cdf00Sjjian zhou			drive-strength = <MTK_DRIVE_6mA>;
3155e6cdf00Sjjian zhou			input-enable;
3165e6cdf00Sjjian zhou			bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
3175e6cdf00Sjjian zhou		};
3185e6cdf00Sjjian zhou
3195e6cdf00Sjjian zhou		pins_clk {
3205e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>;
3215e6cdf00Sjjian zhou			drive-strength = <MTK_DRIVE_6mA>;
3225e6cdf00Sjjian zhou			bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
3235e6cdf00Sjjian zhou			input-enable;
3245e6cdf00Sjjian zhou		};
3255e6cdf00Sjjian zhou	};
3265e6cdf00Sjjian zhou
3278e2dd0f9SErin Lo	spi_pins_1: spi1 {
3288e2dd0f9SErin Lo		pins_spi {
3298e2dd0f9SErin Lo			pinmux = <PINMUX_GPIO161__FUNC_SPI1_A_MI>,
3308e2dd0f9SErin Lo				 <PINMUX_GPIO162__FUNC_SPI1_A_CSB>,
3318e2dd0f9SErin Lo				 <PINMUX_GPIO163__FUNC_SPI1_A_MO>,
3328e2dd0f9SErin Lo				 <PINMUX_GPIO164__FUNC_SPI1_A_CLK>;
3338e2dd0f9SErin Lo			bias-disable;
3348e2dd0f9SErin Lo		};
3358e2dd0f9SErin Lo	};
3368e2dd0f9SErin Lo
3378e2dd0f9SErin Lo	spi_pins_2: spi2 {
3388e2dd0f9SErin Lo		pins_spi {
3398e2dd0f9SErin Lo			pinmux = <PINMUX_GPIO0__FUNC_SPI2_CSB>,
3408e2dd0f9SErin Lo				 <PINMUX_GPIO1__FUNC_SPI2_MO>,
3418e2dd0f9SErin Lo				 <PINMUX_GPIO2__FUNC_SPI2_CLK>,
3428e2dd0f9SErin Lo				 <PINMUX_GPIO94__FUNC_SPI2_MI>;
3438e2dd0f9SErin Lo			bias-disable;
3448e2dd0f9SErin Lo		};
3458e2dd0f9SErin Lo	};
3468e2dd0f9SErin Lo
3478e2dd0f9SErin Lo	spi_pins_3: spi3 {
3488e2dd0f9SErin Lo		pins_spi {
3498e2dd0f9SErin Lo			pinmux = <PINMUX_GPIO21__FUNC_SPI3_MI>,
3508e2dd0f9SErin Lo				 <PINMUX_GPIO22__FUNC_SPI3_CSB>,
3518e2dd0f9SErin Lo				 <PINMUX_GPIO23__FUNC_SPI3_MO>,
3528e2dd0f9SErin Lo				 <PINMUX_GPIO24__FUNC_SPI3_CLK>;
3538e2dd0f9SErin Lo			bias-disable;
3548e2dd0f9SErin Lo		};
3558e2dd0f9SErin Lo	};
3568e2dd0f9SErin Lo
3578e2dd0f9SErin Lo	spi_pins_4: spi4 {
3588e2dd0f9SErin Lo		pins_spi {
3598e2dd0f9SErin Lo			pinmux = <PINMUX_GPIO17__FUNC_SPI4_MI>,
3608e2dd0f9SErin Lo				 <PINMUX_GPIO18__FUNC_SPI4_CSB>,
3618e2dd0f9SErin Lo				 <PINMUX_GPIO19__FUNC_SPI4_MO>,
3628e2dd0f9SErin Lo				 <PINMUX_GPIO20__FUNC_SPI4_CLK>;
3638e2dd0f9SErin Lo			bias-disable;
3648e2dd0f9SErin Lo		};
3658e2dd0f9SErin Lo	};
3668e2dd0f9SErin Lo
3678e2dd0f9SErin Lo	spi_pins_5: spi5 {
3688e2dd0f9SErin Lo		pins_spi {
3698e2dd0f9SErin Lo			pinmux = <PINMUX_GPIO13__FUNC_SPI5_MI>,
3708e2dd0f9SErin Lo				 <PINMUX_GPIO14__FUNC_SPI5_CSB>,
3718e2dd0f9SErin Lo				 <PINMUX_GPIO15__FUNC_SPI5_MO>,
3728e2dd0f9SErin Lo				 <PINMUX_GPIO16__FUNC_SPI5_CLK>;
3738e2dd0f9SErin Lo			bias-disable;
3748e2dd0f9SErin Lo		};
3758e2dd0f9SErin Lo	};
37606ec50ecSFabien Parent
37706ec50ecSFabien Parent	pwm_pins_1: pwm1 {
37806ec50ecSFabien Parent		pins_pwm {
37906ec50ecSFabien Parent			pinmux = <PINMUX_GPIO90__FUNC_PWM_A>;
38006ec50ecSFabien Parent		};
38106ec50ecSFabien Parent	};
3828e2dd0f9SErin Lo};
3838e2dd0f9SErin Lo
384*b924b738SAngeloGioacchino Del Regno&pmic {
385*b924b738SAngeloGioacchino Del Regno	interrupts-extended = <&pio 182 IRQ_TYPE_LEVEL_HIGH>;
386*b924b738SAngeloGioacchino Del Regno};
387*b924b738SAngeloGioacchino Del Regno
3882d7ee698SHsin-Yi Wang&mfg {
3892d7ee698SHsin-Yi Wang	domain-supply = <&mt6358_vgpu_reg>;
3902d7ee698SHsin-Yi Wang};
3912d7ee698SHsin-Yi Wang
3928e2dd0f9SErin Lo&spi0 {
3938e2dd0f9SErin Lo	pinctrl-names = "default";
3948e2dd0f9SErin Lo	pinctrl-0 = <&spi_pins_0>;
3958e2dd0f9SErin Lo	mediatek,pad-select = <0>;
3968e2dd0f9SErin Lo	status = "okay";
3978e2dd0f9SErin Lo};
3988e2dd0f9SErin Lo
3998e2dd0f9SErin Lo&spi1 {
4008e2dd0f9SErin Lo	pinctrl-names = "default";
4018e2dd0f9SErin Lo	pinctrl-0 = <&spi_pins_1>;
4028e2dd0f9SErin Lo	mediatek,pad-select = <0>;
4038e2dd0f9SErin Lo	status = "okay";
4048e2dd0f9SErin Lo};
4058e2dd0f9SErin Lo
4068e2dd0f9SErin Lo&spi2 {
4078e2dd0f9SErin Lo	pinctrl-names = "default";
4088e2dd0f9SErin Lo	pinctrl-0 = <&spi_pins_2>;
4098e2dd0f9SErin Lo	mediatek,pad-select = <0>;
4108e2dd0f9SErin Lo	status = "okay";
4118e2dd0f9SErin Lo};
4128e2dd0f9SErin Lo
4138e2dd0f9SErin Lo&spi3 {
4148e2dd0f9SErin Lo	pinctrl-names = "default";
4158e2dd0f9SErin Lo	pinctrl-0 = <&spi_pins_3>;
4168e2dd0f9SErin Lo	mediatek,pad-select = <0>;
4178e2dd0f9SErin Lo	status = "okay";
4188e2dd0f9SErin Lo};
4198e2dd0f9SErin Lo
4208e2dd0f9SErin Lo&spi4 {
4218e2dd0f9SErin Lo	pinctrl-names = "default";
4228e2dd0f9SErin Lo	pinctrl-0 = <&spi_pins_4>;
4238e2dd0f9SErin Lo	mediatek,pad-select = <0>;
4248e2dd0f9SErin Lo	status = "okay";
4258e2dd0f9SErin Lo};
4268e2dd0f9SErin Lo
4278e2dd0f9SErin Lo&spi5 {
4288e2dd0f9SErin Lo	pinctrl-names = "default";
4298e2dd0f9SErin Lo	pinctrl-0 = <&spi_pins_5>;
4308e2dd0f9SErin Lo	mediatek,pad-select = <0>;
4318e2dd0f9SErin Lo	status = "okay";
4328e2dd0f9SErin Lo
4338e2dd0f9SErin Lo};
4348e2dd0f9SErin Lo
435f3ceebebSRex-BC Chen&cci {
436f3ceebebSRex-BC Chen	proc-supply = <&mt6358_vproc12_reg>;
437f3ceebebSRex-BC Chen};
438f3ceebebSRex-BC Chen
43995eacb24SRex-BC Chen&cpu0 {
44095eacb24SRex-BC Chen	proc-supply = <&mt6358_vproc12_reg>;
44195eacb24SRex-BC Chen};
44295eacb24SRex-BC Chen
44395eacb24SRex-BC Chen&cpu1 {
44495eacb24SRex-BC Chen	proc-supply = <&mt6358_vproc12_reg>;
44595eacb24SRex-BC Chen};
44695eacb24SRex-BC Chen
44795eacb24SRex-BC Chen&cpu2 {
44895eacb24SRex-BC Chen	proc-supply = <&mt6358_vproc12_reg>;
44995eacb24SRex-BC Chen};
45095eacb24SRex-BC Chen
45195eacb24SRex-BC Chen&cpu3 {
45295eacb24SRex-BC Chen	proc-supply = <&mt6358_vproc12_reg>;
45395eacb24SRex-BC Chen};
45495eacb24SRex-BC Chen
45595eacb24SRex-BC Chen&cpu4 {
45695eacb24SRex-BC Chen	proc-supply = <&mt6358_vproc11_reg>;
45795eacb24SRex-BC Chen};
45895eacb24SRex-BC Chen
45995eacb24SRex-BC Chen&cpu5 {
46095eacb24SRex-BC Chen	proc-supply = <&mt6358_vproc11_reg>;
46195eacb24SRex-BC Chen};
46295eacb24SRex-BC Chen
46395eacb24SRex-BC Chen&cpu6 {
46495eacb24SRex-BC Chen	proc-supply = <&mt6358_vproc11_reg>;
46595eacb24SRex-BC Chen};
46695eacb24SRex-BC Chen
46795eacb24SRex-BC Chen&cpu7 {
46895eacb24SRex-BC Chen	proc-supply = <&mt6358_vproc11_reg>;
46995eacb24SRex-BC Chen};
47095eacb24SRex-BC Chen
471e526c9bcSBen Ho&uart0 {
472e526c9bcSBen Ho	status = "okay";
473e526c9bcSBen Ho};
47406ec50ecSFabien Parent
47506ec50ecSFabien Parent&pwm1 {
47606ec50ecSFabien Parent	status = "okay";
47706ec50ecSFabien Parent	pinctrl-0 = <&pwm_pins_1>;
47806ec50ecSFabien Parent	pinctrl-names = "default";
47906ec50ecSFabien Parent};
480