1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2c66ec88fSEmmanuel Vadot/* 3c66ec88fSEmmanuel Vadot * Copyright (c) 2018 MediaTek Inc. 4c66ec88fSEmmanuel Vadot * Author: Ben Ho <ben.ho@mediatek.com> 5c66ec88fSEmmanuel Vadot * Erin Lo <erin.lo@mediatek.com> 6c66ec88fSEmmanuel Vadot */ 7c66ec88fSEmmanuel Vadot 8c66ec88fSEmmanuel Vadot/dts-v1/; 9c66ec88fSEmmanuel Vadot#include "mt8183.dtsi" 10c66ec88fSEmmanuel Vadot#include "mt6358.dtsi" 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadot/ { 13c66ec88fSEmmanuel Vadot model = "MediaTek MT8183 evaluation board"; 14f126890aSEmmanuel Vadot chassis-type = "embedded"; 15c66ec88fSEmmanuel Vadot compatible = "mediatek,mt8183-evb", "mediatek,mt8183"; 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel Vadot aliases { 18c66ec88fSEmmanuel Vadot serial0 = &uart0; 19c66ec88fSEmmanuel Vadot }; 20c66ec88fSEmmanuel Vadot 21c66ec88fSEmmanuel Vadot memory@40000000 { 22c66ec88fSEmmanuel Vadot device_type = "memory"; 23c66ec88fSEmmanuel Vadot reg = <0 0x40000000 0 0x80000000>; 24c66ec88fSEmmanuel Vadot }; 25c66ec88fSEmmanuel Vadot 26c66ec88fSEmmanuel Vadot chosen { 27c66ec88fSEmmanuel Vadot stdout-path = "serial0:921600n8"; 28c66ec88fSEmmanuel Vadot }; 296be33864SEmmanuel Vadot 306be33864SEmmanuel Vadot reserved-memory { 316be33864SEmmanuel Vadot #address-cells = <2>; 326be33864SEmmanuel Vadot #size-cells = <2>; 336be33864SEmmanuel Vadot ranges; 3484943d6fSEmmanuel Vadot scp_mem_reserved: memory@50000000 { 356be33864SEmmanuel Vadot compatible = "shared-dma-pool"; 366be33864SEmmanuel Vadot reg = <0 0x50000000 0 0x2900000>; 376be33864SEmmanuel Vadot no-map; 386be33864SEmmanuel Vadot }; 396be33864SEmmanuel Vadot }; 40e67e8565SEmmanuel Vadot 4184943d6fSEmmanuel Vadot thermal-sensor { 42e67e8565SEmmanuel Vadot compatible = "murata,ncp03wf104"; 43e67e8565SEmmanuel Vadot pullup-uv = <1800000>; 44e67e8565SEmmanuel Vadot pullup-ohm = <390000>; 45e67e8565SEmmanuel Vadot pulldown-ohm = <0>; 46e67e8565SEmmanuel Vadot io-channels = <&auxadc 0>; 47e67e8565SEmmanuel Vadot }; 48c66ec88fSEmmanuel Vadot}; 49c66ec88fSEmmanuel Vadot 50c66ec88fSEmmanuel Vadot&auxadc { 51c66ec88fSEmmanuel Vadot status = "okay"; 52c66ec88fSEmmanuel Vadot}; 53c66ec88fSEmmanuel Vadot 545956d97fSEmmanuel Vadot&gpu { 555956d97fSEmmanuel Vadot mali-supply = <&mt6358_vgpu_reg>; 565956d97fSEmmanuel Vadot}; 575956d97fSEmmanuel Vadot 58c66ec88fSEmmanuel Vadot&i2c0 { 59c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 60c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c_pins_0>; 61c66ec88fSEmmanuel Vadot status = "okay"; 62c66ec88fSEmmanuel Vadot clock-frequency = <100000>; 63c66ec88fSEmmanuel Vadot}; 64c66ec88fSEmmanuel Vadot 65c66ec88fSEmmanuel Vadot&i2c1 { 66c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 67c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c_pins_1>; 68c66ec88fSEmmanuel Vadot status = "okay"; 69c66ec88fSEmmanuel Vadot clock-frequency = <100000>; 70c66ec88fSEmmanuel Vadot}; 71c66ec88fSEmmanuel Vadot 72c66ec88fSEmmanuel Vadot&i2c2 { 73c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 74c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c_pins_2>; 75c66ec88fSEmmanuel Vadot status = "okay"; 76c66ec88fSEmmanuel Vadot clock-frequency = <100000>; 77c66ec88fSEmmanuel Vadot}; 78c66ec88fSEmmanuel Vadot 79c66ec88fSEmmanuel Vadot&i2c3 { 80c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 81c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c_pins_3>; 82c66ec88fSEmmanuel Vadot status = "okay"; 83c66ec88fSEmmanuel Vadot clock-frequency = <100000>; 84c66ec88fSEmmanuel Vadot}; 85c66ec88fSEmmanuel Vadot 86c66ec88fSEmmanuel Vadot&i2c4 { 87c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 88c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c_pins_4>; 89c66ec88fSEmmanuel Vadot status = "okay"; 90c66ec88fSEmmanuel Vadot clock-frequency = <1000000>; 91c66ec88fSEmmanuel Vadot}; 92c66ec88fSEmmanuel Vadot 93c66ec88fSEmmanuel Vadot&i2c5 { 94c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 95c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c_pins_5>; 96c66ec88fSEmmanuel Vadot status = "okay"; 97c66ec88fSEmmanuel Vadot clock-frequency = <1000000>; 98c66ec88fSEmmanuel Vadot}; 99c66ec88fSEmmanuel Vadot 100c66ec88fSEmmanuel Vadot&mmc0 { 101c66ec88fSEmmanuel Vadot status = "okay"; 102c66ec88fSEmmanuel Vadot pinctrl-names = "default", "state_uhs"; 103c66ec88fSEmmanuel Vadot pinctrl-0 = <&mmc0_pins_default>; 104c66ec88fSEmmanuel Vadot pinctrl-1 = <&mmc0_pins_uhs>; 105c66ec88fSEmmanuel Vadot bus-width = <8>; 106c66ec88fSEmmanuel Vadot max-frequency = <200000000>; 107c66ec88fSEmmanuel Vadot cap-mmc-highspeed; 108c66ec88fSEmmanuel Vadot mmc-hs200-1_8v; 109c66ec88fSEmmanuel Vadot mmc-hs400-1_8v; 110c66ec88fSEmmanuel Vadot cap-mmc-hw-reset; 111c66ec88fSEmmanuel Vadot no-sdio; 112c66ec88fSEmmanuel Vadot no-sd; 113c66ec88fSEmmanuel Vadot hs400-ds-delay = <0x12814>; 114c66ec88fSEmmanuel Vadot vmmc-supply = <&mt6358_vemc_reg>; 115c66ec88fSEmmanuel Vadot vqmmc-supply = <&mt6358_vio18_reg>; 116c66ec88fSEmmanuel Vadot assigned-clocks = <&topckgen CLK_TOP_MUX_MSDC50_0>; 117c66ec88fSEmmanuel Vadot assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_CK>; 118c66ec88fSEmmanuel Vadot non-removable; 119c66ec88fSEmmanuel Vadot}; 120c66ec88fSEmmanuel Vadot 121c66ec88fSEmmanuel Vadot&mmc1 { 122c66ec88fSEmmanuel Vadot status = "okay"; 123c66ec88fSEmmanuel Vadot pinctrl-names = "default", "state_uhs"; 124c66ec88fSEmmanuel Vadot pinctrl-0 = <&mmc1_pins_default>; 125c66ec88fSEmmanuel Vadot pinctrl-1 = <&mmc1_pins_uhs>; 126c66ec88fSEmmanuel Vadot bus-width = <4>; 127c66ec88fSEmmanuel Vadot max-frequency = <200000000>; 128c66ec88fSEmmanuel Vadot cap-sd-highspeed; 129c66ec88fSEmmanuel Vadot sd-uhs-sdr50; 130c66ec88fSEmmanuel Vadot sd-uhs-sdr104; 131c66ec88fSEmmanuel Vadot cap-sdio-irq; 132c66ec88fSEmmanuel Vadot no-mmc; 133c66ec88fSEmmanuel Vadot no-sd; 134c66ec88fSEmmanuel Vadot vmmc-supply = <&mt6358_vmch_reg>; 135c66ec88fSEmmanuel Vadot vqmmc-supply = <&mt6358_vmc_reg>; 136c66ec88fSEmmanuel Vadot keep-power-in-suspend; 137b97ee269SEmmanuel Vadot wakeup-source; 138c66ec88fSEmmanuel Vadot non-removable; 139c66ec88fSEmmanuel Vadot}; 140c66ec88fSEmmanuel Vadot 141fac71e4eSEmmanuel Vadot&mt6358_vgpu_reg { 142fac71e4eSEmmanuel Vadot regulator-min-microvolt = <625000>; 143fac71e4eSEmmanuel Vadot regulator-max-microvolt = <900000>; 144fac71e4eSEmmanuel Vadot 145fac71e4eSEmmanuel Vadot regulator-coupled-with = <&mt6358_vsram_gpu_reg>; 146fac71e4eSEmmanuel Vadot regulator-coupled-max-spread = <100000>; 147fac71e4eSEmmanuel Vadot}; 148fac71e4eSEmmanuel Vadot 149fac71e4eSEmmanuel Vadot&mt6358_vsram_gpu_reg { 150fac71e4eSEmmanuel Vadot regulator-min-microvolt = <850000>; 151fac71e4eSEmmanuel Vadot regulator-max-microvolt = <1000000>; 152fac71e4eSEmmanuel Vadot 153fac71e4eSEmmanuel Vadot regulator-coupled-with = <&mt6358_vgpu_reg>; 154fac71e4eSEmmanuel Vadot regulator-coupled-max-spread = <100000>; 155fac71e4eSEmmanuel Vadot}; 156fac71e4eSEmmanuel Vadot 157c66ec88fSEmmanuel Vadot&pio { 158c66ec88fSEmmanuel Vadot i2c_pins_0: i2c0 { 159c66ec88fSEmmanuel Vadot pins_i2c { 160c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO82__FUNC_SDA0>, 161c66ec88fSEmmanuel Vadot <PINMUX_GPIO83__FUNC_SCL0>; 162c66ec88fSEmmanuel Vadot mediatek,pull-up-adv = <3>; 163c66ec88fSEmmanuel Vadot }; 164c66ec88fSEmmanuel Vadot }; 165c66ec88fSEmmanuel Vadot 166c66ec88fSEmmanuel Vadot i2c_pins_1: i2c1 { 167c66ec88fSEmmanuel Vadot pins_i2c { 168c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO81__FUNC_SDA1>, 169c66ec88fSEmmanuel Vadot <PINMUX_GPIO84__FUNC_SCL1>; 170c66ec88fSEmmanuel Vadot mediatek,pull-up-adv = <3>; 171c66ec88fSEmmanuel Vadot }; 172c66ec88fSEmmanuel Vadot }; 173c66ec88fSEmmanuel Vadot 174c66ec88fSEmmanuel Vadot i2c_pins_2: i2c2 { 175c66ec88fSEmmanuel Vadot pins_i2c { 176c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO103__FUNC_SCL2>, 177c66ec88fSEmmanuel Vadot <PINMUX_GPIO104__FUNC_SDA2>; 178c66ec88fSEmmanuel Vadot mediatek,pull-up-adv = <3>; 179c66ec88fSEmmanuel Vadot }; 180c66ec88fSEmmanuel Vadot }; 181c66ec88fSEmmanuel Vadot 182c66ec88fSEmmanuel Vadot i2c_pins_3: i2c3 { 183c66ec88fSEmmanuel Vadot pins_i2c { 184c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO50__FUNC_SCL3>, 185c66ec88fSEmmanuel Vadot <PINMUX_GPIO51__FUNC_SDA3>; 186c66ec88fSEmmanuel Vadot mediatek,pull-up-adv = <3>; 187c66ec88fSEmmanuel Vadot }; 188c66ec88fSEmmanuel Vadot }; 189c66ec88fSEmmanuel Vadot 190c66ec88fSEmmanuel Vadot i2c_pins_4: i2c4 { 191c66ec88fSEmmanuel Vadot pins_i2c { 192c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO105__FUNC_SCL4>, 193c66ec88fSEmmanuel Vadot <PINMUX_GPIO106__FUNC_SDA4>; 194c66ec88fSEmmanuel Vadot mediatek,pull-up-adv = <3>; 195c66ec88fSEmmanuel Vadot }; 196c66ec88fSEmmanuel Vadot }; 197c66ec88fSEmmanuel Vadot 198c66ec88fSEmmanuel Vadot i2c_pins_5: i2c5 { 199c66ec88fSEmmanuel Vadot pins_i2c { 200c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO48__FUNC_SCL5>, 201c66ec88fSEmmanuel Vadot <PINMUX_GPIO49__FUNC_SDA5>; 202c66ec88fSEmmanuel Vadot mediatek,pull-up-adv = <3>; 203c66ec88fSEmmanuel Vadot }; 204c66ec88fSEmmanuel Vadot }; 205c66ec88fSEmmanuel Vadot 206c66ec88fSEmmanuel Vadot spi_pins_0: spi0 { 207c66ec88fSEmmanuel Vadot pins_spi { 208c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO85__FUNC_SPI0_MI>, 209c66ec88fSEmmanuel Vadot <PINMUX_GPIO86__FUNC_SPI0_CSB>, 210c66ec88fSEmmanuel Vadot <PINMUX_GPIO87__FUNC_SPI0_MO>, 211c66ec88fSEmmanuel Vadot <PINMUX_GPIO88__FUNC_SPI0_CLK>; 212c66ec88fSEmmanuel Vadot bias-disable; 213c66ec88fSEmmanuel Vadot }; 214c66ec88fSEmmanuel Vadot }; 215c66ec88fSEmmanuel Vadot 216c66ec88fSEmmanuel Vadot mmc0_pins_default: mmc0default { 217c66ec88fSEmmanuel Vadot pins_cmd_dat { 218c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO123__FUNC_MSDC0_DAT0>, 219c66ec88fSEmmanuel Vadot <PINMUX_GPIO128__FUNC_MSDC0_DAT1>, 220c66ec88fSEmmanuel Vadot <PINMUX_GPIO125__FUNC_MSDC0_DAT2>, 221c66ec88fSEmmanuel Vadot <PINMUX_GPIO132__FUNC_MSDC0_DAT3>, 222c66ec88fSEmmanuel Vadot <PINMUX_GPIO126__FUNC_MSDC0_DAT4>, 223c66ec88fSEmmanuel Vadot <PINMUX_GPIO129__FUNC_MSDC0_DAT5>, 224c66ec88fSEmmanuel Vadot <PINMUX_GPIO127__FUNC_MSDC0_DAT6>, 225c66ec88fSEmmanuel Vadot <PINMUX_GPIO130__FUNC_MSDC0_DAT7>, 226c66ec88fSEmmanuel Vadot <PINMUX_GPIO122__FUNC_MSDC0_CMD>; 227c66ec88fSEmmanuel Vadot input-enable; 228c66ec88fSEmmanuel Vadot bias-pull-up; 229c66ec88fSEmmanuel Vadot }; 230c66ec88fSEmmanuel Vadot 231c66ec88fSEmmanuel Vadot pins_clk { 232c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>; 233c66ec88fSEmmanuel Vadot bias-pull-down; 234c66ec88fSEmmanuel Vadot }; 235c66ec88fSEmmanuel Vadot 236c66ec88fSEmmanuel Vadot pins_rst { 237c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO133__FUNC_MSDC0_RSTB>; 238c66ec88fSEmmanuel Vadot bias-pull-up; 239c66ec88fSEmmanuel Vadot }; 240c66ec88fSEmmanuel Vadot }; 241c66ec88fSEmmanuel Vadot 242c66ec88fSEmmanuel Vadot mmc0_pins_uhs: mmc0 { 243c66ec88fSEmmanuel Vadot pins_cmd_dat { 244c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO123__FUNC_MSDC0_DAT0>, 245c66ec88fSEmmanuel Vadot <PINMUX_GPIO128__FUNC_MSDC0_DAT1>, 246c66ec88fSEmmanuel Vadot <PINMUX_GPIO125__FUNC_MSDC0_DAT2>, 247c66ec88fSEmmanuel Vadot <PINMUX_GPIO132__FUNC_MSDC0_DAT3>, 248c66ec88fSEmmanuel Vadot <PINMUX_GPIO126__FUNC_MSDC0_DAT4>, 249c66ec88fSEmmanuel Vadot <PINMUX_GPIO129__FUNC_MSDC0_DAT5>, 250c66ec88fSEmmanuel Vadot <PINMUX_GPIO127__FUNC_MSDC0_DAT6>, 251c66ec88fSEmmanuel Vadot <PINMUX_GPIO130__FUNC_MSDC0_DAT7>, 252c66ec88fSEmmanuel Vadot <PINMUX_GPIO122__FUNC_MSDC0_CMD>; 253c66ec88fSEmmanuel Vadot input-enable; 254c66ec88fSEmmanuel Vadot drive-strength = <MTK_DRIVE_10mA>; 255c66ec88fSEmmanuel Vadot bias-pull-up = <MTK_PUPD_SET_R1R0_01>; 256c66ec88fSEmmanuel Vadot }; 257c66ec88fSEmmanuel Vadot 258c66ec88fSEmmanuel Vadot pins_clk { 259c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>; 260c66ec88fSEmmanuel Vadot drive-strength = <MTK_DRIVE_10mA>; 261c66ec88fSEmmanuel Vadot bias-pull-down = <MTK_PUPD_SET_R1R0_10>; 262c66ec88fSEmmanuel Vadot }; 263c66ec88fSEmmanuel Vadot 264c66ec88fSEmmanuel Vadot pins_ds { 265c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO131__FUNC_MSDC0_DSL>; 266c66ec88fSEmmanuel Vadot drive-strength = <MTK_DRIVE_10mA>; 267c66ec88fSEmmanuel Vadot bias-pull-down = <MTK_PUPD_SET_R1R0_10>; 268c66ec88fSEmmanuel Vadot }; 269c66ec88fSEmmanuel Vadot 270c66ec88fSEmmanuel Vadot pins_rst { 271c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO133__FUNC_MSDC0_RSTB>; 272c66ec88fSEmmanuel Vadot drive-strength = <MTK_DRIVE_10mA>; 273c66ec88fSEmmanuel Vadot bias-pull-up; 274c66ec88fSEmmanuel Vadot }; 275c66ec88fSEmmanuel Vadot }; 276c66ec88fSEmmanuel Vadot 277c66ec88fSEmmanuel Vadot mmc1_pins_default: mmc1default { 278c66ec88fSEmmanuel Vadot pins_cmd_dat { 279c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO31__FUNC_MSDC1_CMD>, 280c66ec88fSEmmanuel Vadot <PINMUX_GPIO32__FUNC_MSDC1_DAT0>, 281c66ec88fSEmmanuel Vadot <PINMUX_GPIO34__FUNC_MSDC1_DAT1>, 282c66ec88fSEmmanuel Vadot <PINMUX_GPIO33__FUNC_MSDC1_DAT2>, 283c66ec88fSEmmanuel Vadot <PINMUX_GPIO30__FUNC_MSDC1_DAT3>; 284c66ec88fSEmmanuel Vadot input-enable; 285c66ec88fSEmmanuel Vadot bias-pull-up; 286c66ec88fSEmmanuel Vadot }; 287c66ec88fSEmmanuel Vadot 288c66ec88fSEmmanuel Vadot pins_clk { 289c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>; 290c66ec88fSEmmanuel Vadot input-enable; 291c66ec88fSEmmanuel Vadot bias-pull-down; 292c66ec88fSEmmanuel Vadot }; 293c66ec88fSEmmanuel Vadot 294c66ec88fSEmmanuel Vadot pins_pmu { 295c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO178__FUNC_GPIO178>, 296c66ec88fSEmmanuel Vadot <PINMUX_GPIO166__FUNC_GPIO166>; 297c66ec88fSEmmanuel Vadot output-high; 298c66ec88fSEmmanuel Vadot }; 299c66ec88fSEmmanuel Vadot }; 300c66ec88fSEmmanuel Vadot 301c66ec88fSEmmanuel Vadot mmc1_pins_uhs: mmc1 { 302c66ec88fSEmmanuel Vadot pins_cmd_dat { 303c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO31__FUNC_MSDC1_CMD>, 304c66ec88fSEmmanuel Vadot <PINMUX_GPIO32__FUNC_MSDC1_DAT0>, 305c66ec88fSEmmanuel Vadot <PINMUX_GPIO34__FUNC_MSDC1_DAT1>, 306c66ec88fSEmmanuel Vadot <PINMUX_GPIO33__FUNC_MSDC1_DAT2>, 307c66ec88fSEmmanuel Vadot <PINMUX_GPIO30__FUNC_MSDC1_DAT3>; 308c66ec88fSEmmanuel Vadot drive-strength = <MTK_DRIVE_6mA>; 309c66ec88fSEmmanuel Vadot input-enable; 310c66ec88fSEmmanuel Vadot bias-pull-up = <MTK_PUPD_SET_R1R0_01>; 311c66ec88fSEmmanuel Vadot }; 312c66ec88fSEmmanuel Vadot 313c66ec88fSEmmanuel Vadot pins_clk { 314c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>; 315c66ec88fSEmmanuel Vadot drive-strength = <MTK_DRIVE_6mA>; 316c66ec88fSEmmanuel Vadot bias-pull-down = <MTK_PUPD_SET_R1R0_10>; 317c66ec88fSEmmanuel Vadot input-enable; 318c66ec88fSEmmanuel Vadot }; 319c66ec88fSEmmanuel Vadot }; 320c66ec88fSEmmanuel Vadot 321c66ec88fSEmmanuel Vadot spi_pins_1: spi1 { 322c66ec88fSEmmanuel Vadot pins_spi { 323c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO161__FUNC_SPI1_A_MI>, 324c66ec88fSEmmanuel Vadot <PINMUX_GPIO162__FUNC_SPI1_A_CSB>, 325c66ec88fSEmmanuel Vadot <PINMUX_GPIO163__FUNC_SPI1_A_MO>, 326c66ec88fSEmmanuel Vadot <PINMUX_GPIO164__FUNC_SPI1_A_CLK>; 327c66ec88fSEmmanuel Vadot bias-disable; 328c66ec88fSEmmanuel Vadot }; 329c66ec88fSEmmanuel Vadot }; 330c66ec88fSEmmanuel Vadot 331c66ec88fSEmmanuel Vadot spi_pins_2: spi2 { 332c66ec88fSEmmanuel Vadot pins_spi { 333c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO0__FUNC_SPI2_CSB>, 334c66ec88fSEmmanuel Vadot <PINMUX_GPIO1__FUNC_SPI2_MO>, 335c66ec88fSEmmanuel Vadot <PINMUX_GPIO2__FUNC_SPI2_CLK>, 336c66ec88fSEmmanuel Vadot <PINMUX_GPIO94__FUNC_SPI2_MI>; 337c66ec88fSEmmanuel Vadot bias-disable; 338c66ec88fSEmmanuel Vadot }; 339c66ec88fSEmmanuel Vadot }; 340c66ec88fSEmmanuel Vadot 341c66ec88fSEmmanuel Vadot spi_pins_3: spi3 { 342c66ec88fSEmmanuel Vadot pins_spi { 343c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO21__FUNC_SPI3_MI>, 344c66ec88fSEmmanuel Vadot <PINMUX_GPIO22__FUNC_SPI3_CSB>, 345c66ec88fSEmmanuel Vadot <PINMUX_GPIO23__FUNC_SPI3_MO>, 346c66ec88fSEmmanuel Vadot <PINMUX_GPIO24__FUNC_SPI3_CLK>; 347c66ec88fSEmmanuel Vadot bias-disable; 348c66ec88fSEmmanuel Vadot }; 349c66ec88fSEmmanuel Vadot }; 350c66ec88fSEmmanuel Vadot 351c66ec88fSEmmanuel Vadot spi_pins_4: spi4 { 352c66ec88fSEmmanuel Vadot pins_spi { 353c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO17__FUNC_SPI4_MI>, 354c66ec88fSEmmanuel Vadot <PINMUX_GPIO18__FUNC_SPI4_CSB>, 355c66ec88fSEmmanuel Vadot <PINMUX_GPIO19__FUNC_SPI4_MO>, 356c66ec88fSEmmanuel Vadot <PINMUX_GPIO20__FUNC_SPI4_CLK>; 357c66ec88fSEmmanuel Vadot bias-disable; 358c66ec88fSEmmanuel Vadot }; 359c66ec88fSEmmanuel Vadot }; 360c66ec88fSEmmanuel Vadot 361c66ec88fSEmmanuel Vadot spi_pins_5: spi5 { 362c66ec88fSEmmanuel Vadot pins_spi { 363c66ec88fSEmmanuel Vadot pinmux = <PINMUX_GPIO13__FUNC_SPI5_MI>, 364c66ec88fSEmmanuel Vadot <PINMUX_GPIO14__FUNC_SPI5_CSB>, 365c66ec88fSEmmanuel Vadot <PINMUX_GPIO15__FUNC_SPI5_MO>, 366c66ec88fSEmmanuel Vadot <PINMUX_GPIO16__FUNC_SPI5_CLK>; 367c66ec88fSEmmanuel Vadot bias-disable; 368c66ec88fSEmmanuel Vadot }; 369c66ec88fSEmmanuel Vadot }; 3705def4c47SEmmanuel Vadot 3715def4c47SEmmanuel Vadot pwm_pins_1: pwm1 { 3725def4c47SEmmanuel Vadot pins_pwm { 3735def4c47SEmmanuel Vadot pinmux = <PINMUX_GPIO90__FUNC_PWM_A>; 3745def4c47SEmmanuel Vadot }; 3755def4c47SEmmanuel Vadot }; 376c66ec88fSEmmanuel Vadot}; 377c66ec88fSEmmanuel Vadot 378*8d13bc63SEmmanuel Vadot&pmic { 379*8d13bc63SEmmanuel Vadot interrupts-extended = <&pio 182 IRQ_TYPE_LEVEL_HIGH>; 380*8d13bc63SEmmanuel Vadot}; 381*8d13bc63SEmmanuel Vadot 3822eb4d8dcSEmmanuel Vadot&mfg { 3832eb4d8dcSEmmanuel Vadot domain-supply = <&mt6358_vgpu_reg>; 3842eb4d8dcSEmmanuel Vadot}; 3852eb4d8dcSEmmanuel Vadot 386c66ec88fSEmmanuel Vadot&spi0 { 387c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 388c66ec88fSEmmanuel Vadot pinctrl-0 = <&spi_pins_0>; 389c66ec88fSEmmanuel Vadot mediatek,pad-select = <0>; 390c66ec88fSEmmanuel Vadot status = "okay"; 391c66ec88fSEmmanuel Vadot}; 392c66ec88fSEmmanuel Vadot 393c66ec88fSEmmanuel Vadot&spi1 { 394c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 395c66ec88fSEmmanuel Vadot pinctrl-0 = <&spi_pins_1>; 396c66ec88fSEmmanuel Vadot mediatek,pad-select = <0>; 397c66ec88fSEmmanuel Vadot status = "okay"; 398c66ec88fSEmmanuel Vadot}; 399c66ec88fSEmmanuel Vadot 400c66ec88fSEmmanuel Vadot&spi2 { 401c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 402c66ec88fSEmmanuel Vadot pinctrl-0 = <&spi_pins_2>; 403c66ec88fSEmmanuel Vadot mediatek,pad-select = <0>; 404c66ec88fSEmmanuel Vadot status = "okay"; 405c66ec88fSEmmanuel Vadot}; 406c66ec88fSEmmanuel Vadot 407c66ec88fSEmmanuel Vadot&spi3 { 408c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 409c66ec88fSEmmanuel Vadot pinctrl-0 = <&spi_pins_3>; 410c66ec88fSEmmanuel Vadot mediatek,pad-select = <0>; 411c66ec88fSEmmanuel Vadot status = "okay"; 412c66ec88fSEmmanuel Vadot}; 413c66ec88fSEmmanuel Vadot 414c66ec88fSEmmanuel Vadot&spi4 { 415c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 416c66ec88fSEmmanuel Vadot pinctrl-0 = <&spi_pins_4>; 417c66ec88fSEmmanuel Vadot mediatek,pad-select = <0>; 418c66ec88fSEmmanuel Vadot status = "okay"; 419c66ec88fSEmmanuel Vadot}; 420c66ec88fSEmmanuel Vadot 421c66ec88fSEmmanuel Vadot&spi5 { 422c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 423c66ec88fSEmmanuel Vadot pinctrl-0 = <&spi_pins_5>; 424c66ec88fSEmmanuel Vadot mediatek,pad-select = <0>; 425c66ec88fSEmmanuel Vadot status = "okay"; 426c66ec88fSEmmanuel Vadot 427c66ec88fSEmmanuel Vadot}; 428c66ec88fSEmmanuel Vadot 429b97ee269SEmmanuel Vadot&cci { 430b97ee269SEmmanuel Vadot proc-supply = <&mt6358_vproc12_reg>; 431b97ee269SEmmanuel Vadot}; 432b97ee269SEmmanuel Vadot 433b97ee269SEmmanuel Vadot&cpu0 { 434b97ee269SEmmanuel Vadot proc-supply = <&mt6358_vproc12_reg>; 435b97ee269SEmmanuel Vadot}; 436b97ee269SEmmanuel Vadot 437b97ee269SEmmanuel Vadot&cpu1 { 438b97ee269SEmmanuel Vadot proc-supply = <&mt6358_vproc12_reg>; 439b97ee269SEmmanuel Vadot}; 440b97ee269SEmmanuel Vadot 441b97ee269SEmmanuel Vadot&cpu2 { 442b97ee269SEmmanuel Vadot proc-supply = <&mt6358_vproc12_reg>; 443b97ee269SEmmanuel Vadot}; 444b97ee269SEmmanuel Vadot 445b97ee269SEmmanuel Vadot&cpu3 { 446b97ee269SEmmanuel Vadot proc-supply = <&mt6358_vproc12_reg>; 447b97ee269SEmmanuel Vadot}; 448b97ee269SEmmanuel Vadot 449b97ee269SEmmanuel Vadot&cpu4 { 450b97ee269SEmmanuel Vadot proc-supply = <&mt6358_vproc11_reg>; 451b97ee269SEmmanuel Vadot}; 452b97ee269SEmmanuel Vadot 453b97ee269SEmmanuel Vadot&cpu5 { 454b97ee269SEmmanuel Vadot proc-supply = <&mt6358_vproc11_reg>; 455b97ee269SEmmanuel Vadot}; 456b97ee269SEmmanuel Vadot 457b97ee269SEmmanuel Vadot&cpu6 { 458b97ee269SEmmanuel Vadot proc-supply = <&mt6358_vproc11_reg>; 459b97ee269SEmmanuel Vadot}; 460b97ee269SEmmanuel Vadot 461b97ee269SEmmanuel Vadot&cpu7 { 462b97ee269SEmmanuel Vadot proc-supply = <&mt6358_vproc11_reg>; 463b97ee269SEmmanuel Vadot}; 464b97ee269SEmmanuel Vadot 465c66ec88fSEmmanuel Vadot&uart0 { 466c66ec88fSEmmanuel Vadot status = "okay"; 467c66ec88fSEmmanuel Vadot}; 4685def4c47SEmmanuel Vadot 4695def4c47SEmmanuel Vadot&pwm1 { 4705def4c47SEmmanuel Vadot status = "okay"; 4715def4c47SEmmanuel Vadot pinctrl-0 = <&pwm_pins_1>; 4725def4c47SEmmanuel Vadot pinctrl-names = "default"; 4735def4c47SEmmanuel Vadot}; 474