xref: /linux/arch/arm64/boot/dts/mediatek/mt8183-evb.dts (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
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;
3419cba9a6SAngeloGioacchino Del Regno		scp_mem_reserved: memory@50000000 {
351652dbf7SEddie Huang			compatible = "shared-dma-pool";
361652dbf7SEddie Huang			reg = <0 0x50000000 0 0x2900000>;
371652dbf7SEddie Huang			no-map;
381652dbf7SEddie Huang		};
391652dbf7SEddie Huang	};
40ff9ea5c6SFabien Parent
419dea1c72SAngeloGioacchino Del Regno	thermal-sensor {
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		};
164251137b8SQii Wang	};
165251137b8SQii Wang
166251137b8SQii Wang	i2c_pins_1: i2c1 {
167251137b8SQii Wang		pins_i2c {
168251137b8SQii Wang			pinmux = <PINMUX_GPIO81__FUNC_SDA1>,
169251137b8SQii Wang				 <PINMUX_GPIO84__FUNC_SCL1>;
170251137b8SQii Wang			mediatek,pull-up-adv = <3>;
171251137b8SQii Wang		};
172251137b8SQii Wang	};
173251137b8SQii Wang
174251137b8SQii Wang	i2c_pins_2: i2c2 {
175251137b8SQii Wang		pins_i2c {
176251137b8SQii Wang			pinmux = <PINMUX_GPIO103__FUNC_SCL2>,
177251137b8SQii Wang				 <PINMUX_GPIO104__FUNC_SDA2>;
178251137b8SQii Wang			mediatek,pull-up-adv = <3>;
179251137b8SQii Wang		};
180251137b8SQii Wang	};
181251137b8SQii Wang
182251137b8SQii Wang	i2c_pins_3: i2c3 {
183251137b8SQii Wang		pins_i2c {
184251137b8SQii Wang			pinmux = <PINMUX_GPIO50__FUNC_SCL3>,
185251137b8SQii Wang				 <PINMUX_GPIO51__FUNC_SDA3>;
186251137b8SQii Wang			mediatek,pull-up-adv = <3>;
187251137b8SQii Wang		};
188251137b8SQii Wang	};
189251137b8SQii Wang
190251137b8SQii Wang	i2c_pins_4: i2c4 {
191251137b8SQii Wang		pins_i2c {
192251137b8SQii Wang			pinmux = <PINMUX_GPIO105__FUNC_SCL4>,
193251137b8SQii Wang				 <PINMUX_GPIO106__FUNC_SDA4>;
194251137b8SQii Wang			mediatek,pull-up-adv = <3>;
195251137b8SQii Wang		};
196251137b8SQii Wang	};
197251137b8SQii Wang
198251137b8SQii Wang	i2c_pins_5: i2c5 {
199251137b8SQii Wang		pins_i2c {
200251137b8SQii Wang			pinmux = <PINMUX_GPIO48__FUNC_SCL5>,
201251137b8SQii Wang				 <PINMUX_GPIO49__FUNC_SDA5>;
202251137b8SQii Wang			mediatek,pull-up-adv = <3>;
203251137b8SQii Wang		};
204251137b8SQii Wang	};
205251137b8SQii Wang
2068e2dd0f9SErin Lo	spi_pins_0: spi0 {
2078e2dd0f9SErin Lo		pins_spi {
2088e2dd0f9SErin Lo			pinmux = <PINMUX_GPIO85__FUNC_SPI0_MI>,
2098e2dd0f9SErin Lo				 <PINMUX_GPIO86__FUNC_SPI0_CSB>,
2108e2dd0f9SErin Lo				 <PINMUX_GPIO87__FUNC_SPI0_MO>,
2118e2dd0f9SErin Lo				 <PINMUX_GPIO88__FUNC_SPI0_CLK>;
2128e2dd0f9SErin Lo			bias-disable;
2138e2dd0f9SErin Lo		};
2148e2dd0f9SErin Lo	};
2158e2dd0f9SErin Lo
2165e6cdf00Sjjian zhou	mmc0_pins_default: mmc0default {
2175e6cdf00Sjjian zhou		pins_cmd_dat {
2185e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO123__FUNC_MSDC0_DAT0>,
2195e6cdf00Sjjian zhou				 <PINMUX_GPIO128__FUNC_MSDC0_DAT1>,
2205e6cdf00Sjjian zhou				 <PINMUX_GPIO125__FUNC_MSDC0_DAT2>,
2215e6cdf00Sjjian zhou				 <PINMUX_GPIO132__FUNC_MSDC0_DAT3>,
2225e6cdf00Sjjian zhou				 <PINMUX_GPIO126__FUNC_MSDC0_DAT4>,
2235e6cdf00Sjjian zhou				 <PINMUX_GPIO129__FUNC_MSDC0_DAT5>,
2245e6cdf00Sjjian zhou				 <PINMUX_GPIO127__FUNC_MSDC0_DAT6>,
2255e6cdf00Sjjian zhou				 <PINMUX_GPIO130__FUNC_MSDC0_DAT7>,
2265e6cdf00Sjjian zhou				 <PINMUX_GPIO122__FUNC_MSDC0_CMD>;
2275e6cdf00Sjjian zhou			input-enable;
2285e6cdf00Sjjian zhou			bias-pull-up;
2295e6cdf00Sjjian zhou		};
2305e6cdf00Sjjian zhou
2315e6cdf00Sjjian zhou		pins_clk {
2325e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>;
2335e6cdf00Sjjian zhou			bias-pull-down;
2345e6cdf00Sjjian zhou		};
2355e6cdf00Sjjian zhou
2365e6cdf00Sjjian zhou		pins_rst {
2375e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO133__FUNC_MSDC0_RSTB>;
2385e6cdf00Sjjian zhou			bias-pull-up;
2395e6cdf00Sjjian zhou		};
2405e6cdf00Sjjian zhou	};
2415e6cdf00Sjjian zhou
2424b1b8fd8SEnric Balletbo i Serra	mmc0_pins_uhs: mmc0 {
2435e6cdf00Sjjian zhou		pins_cmd_dat {
2445e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO123__FUNC_MSDC0_DAT0>,
2455e6cdf00Sjjian zhou				 <PINMUX_GPIO128__FUNC_MSDC0_DAT1>,
2465e6cdf00Sjjian zhou				 <PINMUX_GPIO125__FUNC_MSDC0_DAT2>,
2475e6cdf00Sjjian zhou				 <PINMUX_GPIO132__FUNC_MSDC0_DAT3>,
2485e6cdf00Sjjian zhou				 <PINMUX_GPIO126__FUNC_MSDC0_DAT4>,
2495e6cdf00Sjjian zhou				 <PINMUX_GPIO129__FUNC_MSDC0_DAT5>,
2505e6cdf00Sjjian zhou				 <PINMUX_GPIO127__FUNC_MSDC0_DAT6>,
2515e6cdf00Sjjian zhou				 <PINMUX_GPIO130__FUNC_MSDC0_DAT7>,
2525e6cdf00Sjjian zhou				 <PINMUX_GPIO122__FUNC_MSDC0_CMD>;
2535e6cdf00Sjjian zhou			input-enable;
2545e6cdf00Sjjian zhou			drive-strength = <MTK_DRIVE_10mA>;
2555e6cdf00Sjjian zhou			bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
2565e6cdf00Sjjian zhou		};
2575e6cdf00Sjjian zhou
2585e6cdf00Sjjian zhou		pins_clk {
2595e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>;
2605e6cdf00Sjjian zhou			drive-strength = <MTK_DRIVE_10mA>;
2615e6cdf00Sjjian zhou			bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
2625e6cdf00Sjjian zhou		};
2635e6cdf00Sjjian zhou
2645e6cdf00Sjjian zhou		pins_ds {
2655e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO131__FUNC_MSDC0_DSL>;
2665e6cdf00Sjjian zhou			drive-strength = <MTK_DRIVE_10mA>;
2675e6cdf00Sjjian zhou			bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
2685e6cdf00Sjjian zhou		};
2695e6cdf00Sjjian zhou
2705e6cdf00Sjjian zhou		pins_rst {
2715e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO133__FUNC_MSDC0_RSTB>;
2725e6cdf00Sjjian zhou			drive-strength = <MTK_DRIVE_10mA>;
2735e6cdf00Sjjian zhou			bias-pull-up;
2745e6cdf00Sjjian zhou		};
2755e6cdf00Sjjian zhou	};
2765e6cdf00Sjjian zhou
2775e6cdf00Sjjian zhou	mmc1_pins_default: mmc1default {
2785e6cdf00Sjjian zhou		pins_cmd_dat {
2795e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO31__FUNC_MSDC1_CMD>,
2805e6cdf00Sjjian zhou				   <PINMUX_GPIO32__FUNC_MSDC1_DAT0>,
2815e6cdf00Sjjian zhou				   <PINMUX_GPIO34__FUNC_MSDC1_DAT1>,
2825e6cdf00Sjjian zhou				   <PINMUX_GPIO33__FUNC_MSDC1_DAT2>,
2835e6cdf00Sjjian zhou				   <PINMUX_GPIO30__FUNC_MSDC1_DAT3>;
2845e6cdf00Sjjian zhou			input-enable;
2855e6cdf00Sjjian zhou			bias-pull-up;
2865e6cdf00Sjjian zhou		};
2875e6cdf00Sjjian zhou
2885e6cdf00Sjjian zhou		pins_clk {
2895e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>;
2905e6cdf00Sjjian zhou			input-enable;
2915e6cdf00Sjjian zhou			bias-pull-down;
2925e6cdf00Sjjian zhou		};
2935e6cdf00Sjjian zhou
2945e6cdf00Sjjian zhou		pins_pmu {
2955e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO178__FUNC_GPIO178>,
2965e6cdf00Sjjian zhou				   <PINMUX_GPIO166__FUNC_GPIO166>;
2975e6cdf00Sjjian zhou			output-high;
2985e6cdf00Sjjian zhou		};
2995e6cdf00Sjjian zhou	};
3005e6cdf00Sjjian zhou
3014b1b8fd8SEnric Balletbo i Serra	mmc1_pins_uhs: mmc1 {
3025e6cdf00Sjjian zhou		pins_cmd_dat {
3035e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO31__FUNC_MSDC1_CMD>,
3045e6cdf00Sjjian zhou				   <PINMUX_GPIO32__FUNC_MSDC1_DAT0>,
3055e6cdf00Sjjian zhou				   <PINMUX_GPIO34__FUNC_MSDC1_DAT1>,
3065e6cdf00Sjjian zhou				   <PINMUX_GPIO33__FUNC_MSDC1_DAT2>,
3075e6cdf00Sjjian zhou				   <PINMUX_GPIO30__FUNC_MSDC1_DAT3>;
3085e6cdf00Sjjian zhou			drive-strength = <MTK_DRIVE_6mA>;
3095e6cdf00Sjjian zhou			input-enable;
3105e6cdf00Sjjian zhou			bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
3115e6cdf00Sjjian zhou		};
3125e6cdf00Sjjian zhou
3135e6cdf00Sjjian zhou		pins_clk {
3145e6cdf00Sjjian zhou			pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>;
3155e6cdf00Sjjian zhou			drive-strength = <MTK_DRIVE_6mA>;
3165e6cdf00Sjjian zhou			bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
3175e6cdf00Sjjian zhou			input-enable;
3185e6cdf00Sjjian zhou		};
3195e6cdf00Sjjian zhou	};
3205e6cdf00Sjjian zhou
3218e2dd0f9SErin Lo	spi_pins_1: spi1 {
3228e2dd0f9SErin Lo		pins_spi {
3238e2dd0f9SErin Lo			pinmux = <PINMUX_GPIO161__FUNC_SPI1_A_MI>,
3248e2dd0f9SErin Lo				 <PINMUX_GPIO162__FUNC_SPI1_A_CSB>,
3258e2dd0f9SErin Lo				 <PINMUX_GPIO163__FUNC_SPI1_A_MO>,
3268e2dd0f9SErin Lo				 <PINMUX_GPIO164__FUNC_SPI1_A_CLK>;
3278e2dd0f9SErin Lo			bias-disable;
3288e2dd0f9SErin Lo		};
3298e2dd0f9SErin Lo	};
3308e2dd0f9SErin Lo
3318e2dd0f9SErin Lo	spi_pins_2: spi2 {
3328e2dd0f9SErin Lo		pins_spi {
3338e2dd0f9SErin Lo			pinmux = <PINMUX_GPIO0__FUNC_SPI2_CSB>,
3348e2dd0f9SErin Lo				 <PINMUX_GPIO1__FUNC_SPI2_MO>,
3358e2dd0f9SErin Lo				 <PINMUX_GPIO2__FUNC_SPI2_CLK>,
3368e2dd0f9SErin Lo				 <PINMUX_GPIO94__FUNC_SPI2_MI>;
3378e2dd0f9SErin Lo			bias-disable;
3388e2dd0f9SErin Lo		};
3398e2dd0f9SErin Lo	};
3408e2dd0f9SErin Lo
3418e2dd0f9SErin Lo	spi_pins_3: spi3 {
3428e2dd0f9SErin Lo		pins_spi {
3438e2dd0f9SErin Lo			pinmux = <PINMUX_GPIO21__FUNC_SPI3_MI>,
3448e2dd0f9SErin Lo				 <PINMUX_GPIO22__FUNC_SPI3_CSB>,
3458e2dd0f9SErin Lo				 <PINMUX_GPIO23__FUNC_SPI3_MO>,
3468e2dd0f9SErin Lo				 <PINMUX_GPIO24__FUNC_SPI3_CLK>;
3478e2dd0f9SErin Lo			bias-disable;
3488e2dd0f9SErin Lo		};
3498e2dd0f9SErin Lo	};
3508e2dd0f9SErin Lo
3518e2dd0f9SErin Lo	spi_pins_4: spi4 {
3528e2dd0f9SErin Lo		pins_spi {
3538e2dd0f9SErin Lo			pinmux = <PINMUX_GPIO17__FUNC_SPI4_MI>,
3548e2dd0f9SErin Lo				 <PINMUX_GPIO18__FUNC_SPI4_CSB>,
3558e2dd0f9SErin Lo				 <PINMUX_GPIO19__FUNC_SPI4_MO>,
3568e2dd0f9SErin Lo				 <PINMUX_GPIO20__FUNC_SPI4_CLK>;
3578e2dd0f9SErin Lo			bias-disable;
3588e2dd0f9SErin Lo		};
3598e2dd0f9SErin Lo	};
3608e2dd0f9SErin Lo
3618e2dd0f9SErin Lo	spi_pins_5: spi5 {
3628e2dd0f9SErin Lo		pins_spi {
3638e2dd0f9SErin Lo			pinmux = <PINMUX_GPIO13__FUNC_SPI5_MI>,
3648e2dd0f9SErin Lo				 <PINMUX_GPIO14__FUNC_SPI5_CSB>,
3658e2dd0f9SErin Lo				 <PINMUX_GPIO15__FUNC_SPI5_MO>,
3668e2dd0f9SErin Lo				 <PINMUX_GPIO16__FUNC_SPI5_CLK>;
3678e2dd0f9SErin Lo			bias-disable;
3688e2dd0f9SErin Lo		};
3698e2dd0f9SErin Lo	};
37006ec50ecSFabien Parent
37106ec50ecSFabien Parent	pwm_pins_1: pwm1 {
37206ec50ecSFabien Parent		pins_pwm {
37306ec50ecSFabien Parent			pinmux = <PINMUX_GPIO90__FUNC_PWM_A>;
37406ec50ecSFabien Parent		};
37506ec50ecSFabien Parent	};
3768e2dd0f9SErin Lo};
3778e2dd0f9SErin Lo
378*b924b738SAngeloGioacchino Del Regno&pmic {
379*b924b738SAngeloGioacchino Del Regno	interrupts-extended = <&pio 182 IRQ_TYPE_LEVEL_HIGH>;
380*b924b738SAngeloGioacchino Del Regno};
381*b924b738SAngeloGioacchino Del Regno
3822d7ee698SHsin-Yi Wang&mfg {
3832d7ee698SHsin-Yi Wang	domain-supply = <&mt6358_vgpu_reg>;
3842d7ee698SHsin-Yi Wang};
3852d7ee698SHsin-Yi Wang
3868e2dd0f9SErin Lo&spi0 {
3878e2dd0f9SErin Lo	pinctrl-names = "default";
3888e2dd0f9SErin Lo	pinctrl-0 = <&spi_pins_0>;
3898e2dd0f9SErin Lo	mediatek,pad-select = <0>;
3908e2dd0f9SErin Lo	status = "okay";
3918e2dd0f9SErin Lo};
3928e2dd0f9SErin Lo
3938e2dd0f9SErin Lo&spi1 {
3948e2dd0f9SErin Lo	pinctrl-names = "default";
3958e2dd0f9SErin Lo	pinctrl-0 = <&spi_pins_1>;
3968e2dd0f9SErin Lo	mediatek,pad-select = <0>;
3978e2dd0f9SErin Lo	status = "okay";
3988e2dd0f9SErin Lo};
3998e2dd0f9SErin Lo
4008e2dd0f9SErin Lo&spi2 {
4018e2dd0f9SErin Lo	pinctrl-names = "default";
4028e2dd0f9SErin Lo	pinctrl-0 = <&spi_pins_2>;
4038e2dd0f9SErin Lo	mediatek,pad-select = <0>;
4048e2dd0f9SErin Lo	status = "okay";
4058e2dd0f9SErin Lo};
4068e2dd0f9SErin Lo
4078e2dd0f9SErin Lo&spi3 {
4088e2dd0f9SErin Lo	pinctrl-names = "default";
4098e2dd0f9SErin Lo	pinctrl-0 = <&spi_pins_3>;
4108e2dd0f9SErin Lo	mediatek,pad-select = <0>;
4118e2dd0f9SErin Lo	status = "okay";
4128e2dd0f9SErin Lo};
4138e2dd0f9SErin Lo
4148e2dd0f9SErin Lo&spi4 {
4158e2dd0f9SErin Lo	pinctrl-names = "default";
4168e2dd0f9SErin Lo	pinctrl-0 = <&spi_pins_4>;
4178e2dd0f9SErin Lo	mediatek,pad-select = <0>;
4188e2dd0f9SErin Lo	status = "okay";
4198e2dd0f9SErin Lo};
4208e2dd0f9SErin Lo
4218e2dd0f9SErin Lo&spi5 {
4228e2dd0f9SErin Lo	pinctrl-names = "default";
4238e2dd0f9SErin Lo	pinctrl-0 = <&spi_pins_5>;
4248e2dd0f9SErin Lo	mediatek,pad-select = <0>;
4258e2dd0f9SErin Lo	status = "okay";
4268e2dd0f9SErin Lo
4278e2dd0f9SErin Lo};
4288e2dd0f9SErin Lo
429f3ceebebSRex-BC Chen&cci {
430f3ceebebSRex-BC Chen	proc-supply = <&mt6358_vproc12_reg>;
431f3ceebebSRex-BC Chen};
432f3ceebebSRex-BC Chen
43395eacb24SRex-BC Chen&cpu0 {
43495eacb24SRex-BC Chen	proc-supply = <&mt6358_vproc12_reg>;
43595eacb24SRex-BC Chen};
43695eacb24SRex-BC Chen
43795eacb24SRex-BC Chen&cpu1 {
43895eacb24SRex-BC Chen	proc-supply = <&mt6358_vproc12_reg>;
43995eacb24SRex-BC Chen};
44095eacb24SRex-BC Chen
44195eacb24SRex-BC Chen&cpu2 {
44295eacb24SRex-BC Chen	proc-supply = <&mt6358_vproc12_reg>;
44395eacb24SRex-BC Chen};
44495eacb24SRex-BC Chen
44595eacb24SRex-BC Chen&cpu3 {
44695eacb24SRex-BC Chen	proc-supply = <&mt6358_vproc12_reg>;
44795eacb24SRex-BC Chen};
44895eacb24SRex-BC Chen
44995eacb24SRex-BC Chen&cpu4 {
45095eacb24SRex-BC Chen	proc-supply = <&mt6358_vproc11_reg>;
45195eacb24SRex-BC Chen};
45295eacb24SRex-BC Chen
45395eacb24SRex-BC Chen&cpu5 {
45495eacb24SRex-BC Chen	proc-supply = <&mt6358_vproc11_reg>;
45595eacb24SRex-BC Chen};
45695eacb24SRex-BC Chen
45795eacb24SRex-BC Chen&cpu6 {
45895eacb24SRex-BC Chen	proc-supply = <&mt6358_vproc11_reg>;
45995eacb24SRex-BC Chen};
46095eacb24SRex-BC Chen
46195eacb24SRex-BC Chen&cpu7 {
46295eacb24SRex-BC Chen	proc-supply = <&mt6358_vproc11_reg>;
46395eacb24SRex-BC Chen};
46495eacb24SRex-BC Chen
465e526c9bcSBen Ho&uart0 {
466e526c9bcSBen Ho	status = "okay";
467e526c9bcSBen Ho};
46806ec50ecSFabien Parent
46906ec50ecSFabien Parent&pwm1 {
47006ec50ecSFabien Parent	status = "okay";
47106ec50ecSFabien Parent	pinctrl-0 = <&pwm_pins_1>;
47206ec50ecSFabien Parent	pinctrl-names = "default";
47306ec50ecSFabien Parent};
474