1cb7aa33aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2cb7aa33aSEmmanuel Vadot/* 3cb7aa33aSEmmanuel Vadot * Copyright (c) 2019 BayLibre, SAS 4cb7aa33aSEmmanuel Vadot * Author: Neil Armstrong <narmstrong@baylibre.com> 5cb7aa33aSEmmanuel Vadot */ 6cb7aa33aSEmmanuel Vadot 7cb7aa33aSEmmanuel Vadot#include <dt-bindings/input/input.h> 8cb7aa33aSEmmanuel Vadot#include <dt-bindings/gpio/meson-g12a-gpio.h> 9cb7aa33aSEmmanuel Vadot#include <dt-bindings/sound/meson-g12a-toacodec.h> 10cb7aa33aSEmmanuel Vadot#include <dt-bindings/sound/meson-g12a-tohdmitx.h> 11cb7aa33aSEmmanuel Vadot 12cb7aa33aSEmmanuel Vadot/ { 13cb7aa33aSEmmanuel Vadot aliases { 14cb7aa33aSEmmanuel Vadot serial0 = &uart_AO; 15cb7aa33aSEmmanuel Vadot ethernet0 = ðmac; 16cb7aa33aSEmmanuel Vadot rtc1 = &vrtc; 17cb7aa33aSEmmanuel Vadot }; 18cb7aa33aSEmmanuel Vadot 19cb7aa33aSEmmanuel Vadot chosen { 20cb7aa33aSEmmanuel Vadot stdout-path = "serial0:115200n8"; 21cb7aa33aSEmmanuel Vadot }; 22cb7aa33aSEmmanuel Vadot 23cb7aa33aSEmmanuel Vadot memory@0 { 24cb7aa33aSEmmanuel Vadot device_type = "memory"; 25cb7aa33aSEmmanuel Vadot reg = <0x0 0x0 0x0 0x40000000>; 26cb7aa33aSEmmanuel Vadot }; 27cb7aa33aSEmmanuel Vadot 28cb7aa33aSEmmanuel Vadot emmc_pwrseq: emmc-pwrseq { 29cb7aa33aSEmmanuel Vadot compatible = "mmc-pwrseq-emmc"; 30cb7aa33aSEmmanuel Vadot reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>; 31cb7aa33aSEmmanuel Vadot }; 32cb7aa33aSEmmanuel Vadot 33cb7aa33aSEmmanuel Vadot fan: gpio-fan { 34cb7aa33aSEmmanuel Vadot compatible = "gpio-fan"; 35cb7aa33aSEmmanuel Vadot gpios = <&gpio_ao GPIOAO_10 GPIO_ACTIVE_HIGH>; 36cb7aa33aSEmmanuel Vadot /* Using Dummy Speed */ 37cb7aa33aSEmmanuel Vadot gpio-fan,speed-map = <0 0>, <1 1>; 38cb7aa33aSEmmanuel Vadot #cooling-cells = <2>; 39cb7aa33aSEmmanuel Vadot }; 40cb7aa33aSEmmanuel Vadot 41cb7aa33aSEmmanuel Vadot leds { 42cb7aa33aSEmmanuel Vadot compatible = "gpio-leds"; 43cb7aa33aSEmmanuel Vadot 44cb7aa33aSEmmanuel Vadot led-blue { 45cb7aa33aSEmmanuel Vadot label = "n2:blue"; 46cb7aa33aSEmmanuel Vadot gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>; 47cb7aa33aSEmmanuel Vadot linux,default-trigger = "heartbeat"; 48cb7aa33aSEmmanuel Vadot }; 49cb7aa33aSEmmanuel Vadot }; 50cb7aa33aSEmmanuel Vadot 51*01950c46SEmmanuel Vadot tflash_vdd: regulator-tflash-vdd { 52cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 53cb7aa33aSEmmanuel Vadot 54cb7aa33aSEmmanuel Vadot regulator-name = "TFLASH_VDD"; 55cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 56cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 57cb7aa33aSEmmanuel Vadot 58cb7aa33aSEmmanuel Vadot gpio = <&gpio_ao GPIOAO_8 GPIO_ACTIVE_HIGH>; 59cb7aa33aSEmmanuel Vadot enable-active-high; 60cb7aa33aSEmmanuel Vadot regulator-always-on; 61cb7aa33aSEmmanuel Vadot }; 62cb7aa33aSEmmanuel Vadot 63*01950c46SEmmanuel Vadot tf_io: gpio-regulator-tf-io { 64cb7aa33aSEmmanuel Vadot compatible = "regulator-gpio"; 65cb7aa33aSEmmanuel Vadot 66cb7aa33aSEmmanuel Vadot regulator-name = "TF_IO"; 67cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 68cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 69cb7aa33aSEmmanuel Vadot 70cb7aa33aSEmmanuel Vadot gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>; 71cb7aa33aSEmmanuel Vadot gpios-states = <0>; 72cb7aa33aSEmmanuel Vadot 73cb7aa33aSEmmanuel Vadot states = <3300000 0>, 74cb7aa33aSEmmanuel Vadot <1800000 1>; 75cb7aa33aSEmmanuel Vadot }; 76cb7aa33aSEmmanuel Vadot 77*01950c46SEmmanuel Vadot flash_1v8: regulator-flash-1v8 { 78cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 79cb7aa33aSEmmanuel Vadot regulator-name = "FLASH_1V8"; 80cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 81cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 82cb7aa33aSEmmanuel Vadot vin-supply = <&vcc_3v3>; 83cb7aa33aSEmmanuel Vadot regulator-always-on; 84cb7aa33aSEmmanuel Vadot }; 85cb7aa33aSEmmanuel Vadot 86*01950c46SEmmanuel Vadot main_12v: regulator-main-12v { 87cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 88cb7aa33aSEmmanuel Vadot regulator-name = "12V"; 89cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <12000000>; 90cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <12000000>; 91cb7aa33aSEmmanuel Vadot regulator-always-on; 92cb7aa33aSEmmanuel Vadot }; 93cb7aa33aSEmmanuel Vadot 94*01950c46SEmmanuel Vadot usb_pwr_en: regulator-usb-pwr-en { 95cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 96cb7aa33aSEmmanuel Vadot regulator-name = "USB_PWR_EN"; 97cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 98cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 99cb7aa33aSEmmanuel Vadot vin-supply = <&vcc_5v>; 100cb7aa33aSEmmanuel Vadot 101cb7aa33aSEmmanuel Vadot /* Connected to the microUSB port power enable */ 102cb7aa33aSEmmanuel Vadot gpio = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>; 103cb7aa33aSEmmanuel Vadot enable-active-high; 104cb7aa33aSEmmanuel Vadot }; 105cb7aa33aSEmmanuel Vadot 106*01950c46SEmmanuel Vadot vcc_5v: regulator-vcc-5v { 107cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 108cb7aa33aSEmmanuel Vadot regulator-name = "5V"; 109cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 110cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 111cb7aa33aSEmmanuel Vadot regulator-always-on; 112cb7aa33aSEmmanuel Vadot vin-supply = <&main_12v>; 113cb7aa33aSEmmanuel Vadot gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>; 114cb7aa33aSEmmanuel Vadot enable-active-high; 115cb7aa33aSEmmanuel Vadot }; 116cb7aa33aSEmmanuel Vadot 117*01950c46SEmmanuel Vadot vcc_1v8: regulator-vcc-1v8 { 118cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 119cb7aa33aSEmmanuel Vadot regulator-name = "VCC_1V8"; 120cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 121cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 122cb7aa33aSEmmanuel Vadot vin-supply = <&vcc_3v3>; 123cb7aa33aSEmmanuel Vadot regulator-always-on; 124cb7aa33aSEmmanuel Vadot }; 125cb7aa33aSEmmanuel Vadot 126*01950c46SEmmanuel Vadot vcc_3v3: regulator-vcc-3v3 { 127cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 128cb7aa33aSEmmanuel Vadot regulator-name = "VCC_3V3"; 129cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 130cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 131cb7aa33aSEmmanuel Vadot vin-supply = <&vddao_3v3>; 132cb7aa33aSEmmanuel Vadot regulator-always-on; 133cb7aa33aSEmmanuel Vadot /* FIXME: actually controlled by VDDCPU_B_EN */ 134cb7aa33aSEmmanuel Vadot }; 135cb7aa33aSEmmanuel Vadot 136cb7aa33aSEmmanuel Vadot vddcpu_a: regulator-vddcpu-a { 137cb7aa33aSEmmanuel Vadot /* 138cb7aa33aSEmmanuel Vadot * MP8756GD Regulator. 139cb7aa33aSEmmanuel Vadot */ 140cb7aa33aSEmmanuel Vadot compatible = "pwm-regulator"; 141cb7aa33aSEmmanuel Vadot 142cb7aa33aSEmmanuel Vadot regulator-name = "VDDCPU_A"; 143cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <721000>; 144cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1022000>; 145cb7aa33aSEmmanuel Vadot 146cb7aa33aSEmmanuel Vadot pwm-supply = <&main_12v>; 147cb7aa33aSEmmanuel Vadot 148cb7aa33aSEmmanuel Vadot pwms = <&pwm_ab 0 1250 0>; 149cb7aa33aSEmmanuel Vadot pwm-dutycycle-range = <100 0>; 150cb7aa33aSEmmanuel Vadot 151cb7aa33aSEmmanuel Vadot regulator-boot-on; 152cb7aa33aSEmmanuel Vadot regulator-always-on; 153cb7aa33aSEmmanuel Vadot }; 154cb7aa33aSEmmanuel Vadot 155cb7aa33aSEmmanuel Vadot vddcpu_b: regulator-vddcpu-b { 156cb7aa33aSEmmanuel Vadot /* 157cb7aa33aSEmmanuel Vadot * Silergy SY8120B1ABC Regulator. 158cb7aa33aSEmmanuel Vadot */ 159cb7aa33aSEmmanuel Vadot compatible = "pwm-regulator"; 160cb7aa33aSEmmanuel Vadot 161cb7aa33aSEmmanuel Vadot regulator-name = "VDDCPU_B"; 162cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <721000>; 163cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1022000>; 164cb7aa33aSEmmanuel Vadot 165cb7aa33aSEmmanuel Vadot pwm-supply = <&main_12v>; 166cb7aa33aSEmmanuel Vadot 167cb7aa33aSEmmanuel Vadot pwms = <&pwm_AO_cd 1 1250 0>; 168cb7aa33aSEmmanuel Vadot pwm-dutycycle-range = <100 0>; 169cb7aa33aSEmmanuel Vadot 170cb7aa33aSEmmanuel Vadot regulator-boot-on; 171cb7aa33aSEmmanuel Vadot regulator-always-on; 172cb7aa33aSEmmanuel Vadot }; 173cb7aa33aSEmmanuel Vadot 174*01950c46SEmmanuel Vadot vddao_1v8: regulator-vddao-1v8 { 175cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 176cb7aa33aSEmmanuel Vadot regulator-name = "VDDAO_1V8"; 177cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 178cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 179cb7aa33aSEmmanuel Vadot vin-supply = <&vddao_3v3>; 180cb7aa33aSEmmanuel Vadot regulator-always-on; 181cb7aa33aSEmmanuel Vadot }; 182cb7aa33aSEmmanuel Vadot 183*01950c46SEmmanuel Vadot vddao_3v3: regulator-vddao-3v3 { 184cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 185cb7aa33aSEmmanuel Vadot regulator-name = "VDDAO_3V3"; 186cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 187cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 188cb7aa33aSEmmanuel Vadot vin-supply = <&main_12v>; 189cb7aa33aSEmmanuel Vadot regulator-always-on; 190cb7aa33aSEmmanuel Vadot }; 191cb7aa33aSEmmanuel Vadot 192cb7aa33aSEmmanuel Vadot hdmi-connector { 193cb7aa33aSEmmanuel Vadot compatible = "hdmi-connector"; 194cb7aa33aSEmmanuel Vadot type = "a"; 195cb7aa33aSEmmanuel Vadot 196cb7aa33aSEmmanuel Vadot port { 197cb7aa33aSEmmanuel Vadot hdmi_connector_in: endpoint { 198cb7aa33aSEmmanuel Vadot remote-endpoint = <&hdmi_tx_tmds_out>; 199cb7aa33aSEmmanuel Vadot }; 200cb7aa33aSEmmanuel Vadot }; 201cb7aa33aSEmmanuel Vadot }; 202cb7aa33aSEmmanuel Vadot}; 203cb7aa33aSEmmanuel Vadot 204cb7aa33aSEmmanuel Vadot&arb { 205cb7aa33aSEmmanuel Vadot status = "okay"; 206cb7aa33aSEmmanuel Vadot}; 207cb7aa33aSEmmanuel Vadot 208cb7aa33aSEmmanuel Vadot&cec_AO { 209cb7aa33aSEmmanuel Vadot pinctrl-0 = <&cec_ao_a_h_pins>; 210cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 211cb7aa33aSEmmanuel Vadot status = "disabled"; 212cb7aa33aSEmmanuel Vadot hdmi-phandle = <&hdmi_tx>; 213cb7aa33aSEmmanuel Vadot}; 214cb7aa33aSEmmanuel Vadot 215cb7aa33aSEmmanuel Vadot&cecb_AO { 216cb7aa33aSEmmanuel Vadot pinctrl-0 = <&cec_ao_b_h_pins>; 217cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 218cb7aa33aSEmmanuel Vadot status = "okay"; 219cb7aa33aSEmmanuel Vadot hdmi-phandle = <&hdmi_tx>; 220cb7aa33aSEmmanuel Vadot}; 221cb7aa33aSEmmanuel Vadot 222cb7aa33aSEmmanuel Vadot&clkc_audio { 223cb7aa33aSEmmanuel Vadot status = "okay"; 224cb7aa33aSEmmanuel Vadot}; 225cb7aa33aSEmmanuel Vadot 226cb7aa33aSEmmanuel Vadot&cpu0 { 227cb7aa33aSEmmanuel Vadot cpu-supply = <&vddcpu_b>; 228cb7aa33aSEmmanuel Vadot operating-points-v2 = <&cpu_opp_table_0>; 229cb7aa33aSEmmanuel Vadot clocks = <&clkc CLKID_CPU_CLK>; 230cb7aa33aSEmmanuel Vadot clock-latency = <50000>; 231cb7aa33aSEmmanuel Vadot}; 232cb7aa33aSEmmanuel Vadot 233cb7aa33aSEmmanuel Vadot&cpu1 { 234cb7aa33aSEmmanuel Vadot cpu-supply = <&vddcpu_b>; 235cb7aa33aSEmmanuel Vadot operating-points-v2 = <&cpu_opp_table_0>; 236cb7aa33aSEmmanuel Vadot clocks = <&clkc CLKID_CPU_CLK>; 237cb7aa33aSEmmanuel Vadot clock-latency = <50000>; 238cb7aa33aSEmmanuel Vadot}; 239cb7aa33aSEmmanuel Vadot 240cb7aa33aSEmmanuel Vadot&cpu100 { 241cb7aa33aSEmmanuel Vadot cpu-supply = <&vddcpu_a>; 242cb7aa33aSEmmanuel Vadot operating-points-v2 = <&cpub_opp_table_1>; 243cb7aa33aSEmmanuel Vadot clocks = <&clkc CLKID_CPUB_CLK>; 244cb7aa33aSEmmanuel Vadot clock-latency = <50000>; 245cb7aa33aSEmmanuel Vadot}; 246cb7aa33aSEmmanuel Vadot 247cb7aa33aSEmmanuel Vadot&cpu101 { 248cb7aa33aSEmmanuel Vadot cpu-supply = <&vddcpu_a>; 249cb7aa33aSEmmanuel Vadot operating-points-v2 = <&cpub_opp_table_1>; 250cb7aa33aSEmmanuel Vadot clocks = <&clkc CLKID_CPUB_CLK>; 251cb7aa33aSEmmanuel Vadot clock-latency = <50000>; 252cb7aa33aSEmmanuel Vadot}; 253cb7aa33aSEmmanuel Vadot 254cb7aa33aSEmmanuel Vadot&cpu102 { 255cb7aa33aSEmmanuel Vadot cpu-supply = <&vddcpu_a>; 256cb7aa33aSEmmanuel Vadot operating-points-v2 = <&cpub_opp_table_1>; 257cb7aa33aSEmmanuel Vadot clocks = <&clkc CLKID_CPUB_CLK>; 258cb7aa33aSEmmanuel Vadot clock-latency = <50000>; 259cb7aa33aSEmmanuel Vadot}; 260cb7aa33aSEmmanuel Vadot 261cb7aa33aSEmmanuel Vadot&cpu103 { 262cb7aa33aSEmmanuel Vadot cpu-supply = <&vddcpu_a>; 263cb7aa33aSEmmanuel Vadot operating-points-v2 = <&cpub_opp_table_1>; 264cb7aa33aSEmmanuel Vadot clocks = <&clkc CLKID_CPUB_CLK>; 265cb7aa33aSEmmanuel Vadot clock-latency = <50000>; 266cb7aa33aSEmmanuel Vadot}; 267cb7aa33aSEmmanuel Vadot 268cb7aa33aSEmmanuel Vadot&cpu_thermal { 269cb7aa33aSEmmanuel Vadot trips { 270cb7aa33aSEmmanuel Vadot cpu_active: cpu-active { 271cb7aa33aSEmmanuel Vadot temperature = <60000>; /* millicelsius */ 272cb7aa33aSEmmanuel Vadot hysteresis = <2000>; /* millicelsius */ 273cb7aa33aSEmmanuel Vadot type = "active"; 274cb7aa33aSEmmanuel Vadot }; 275cb7aa33aSEmmanuel Vadot }; 276cb7aa33aSEmmanuel Vadot 277cb7aa33aSEmmanuel Vadot cooling-maps { 278cb7aa33aSEmmanuel Vadot map { 279cb7aa33aSEmmanuel Vadot trip = <&cpu_active>; 280cb7aa33aSEmmanuel Vadot cooling-device = <&fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 281cb7aa33aSEmmanuel Vadot }; 282cb7aa33aSEmmanuel Vadot }; 283cb7aa33aSEmmanuel Vadot}; 284cb7aa33aSEmmanuel Vadot 285cb7aa33aSEmmanuel Vadot&ddr_thermal { 286cb7aa33aSEmmanuel Vadot trips { 287cb7aa33aSEmmanuel Vadot ddr_active: ddr-active { 288cb7aa33aSEmmanuel Vadot temperature = <60000>; /* millicelsius */ 289cb7aa33aSEmmanuel Vadot hysteresis = <2000>; /* millicelsius */ 290cb7aa33aSEmmanuel Vadot type = "active"; 291cb7aa33aSEmmanuel Vadot }; 292cb7aa33aSEmmanuel Vadot }; 293cb7aa33aSEmmanuel Vadot 294cb7aa33aSEmmanuel Vadot cooling-maps { 295cb7aa33aSEmmanuel Vadot map { 296cb7aa33aSEmmanuel Vadot trip = <&ddr_active>; 297cb7aa33aSEmmanuel Vadot cooling-device = <&fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 298cb7aa33aSEmmanuel Vadot }; 299cb7aa33aSEmmanuel Vadot }; 300cb7aa33aSEmmanuel Vadot}; 301cb7aa33aSEmmanuel Vadot 302cb7aa33aSEmmanuel Vadot&frddr_a { 303cb7aa33aSEmmanuel Vadot status = "okay"; 304cb7aa33aSEmmanuel Vadot}; 305cb7aa33aSEmmanuel Vadot 306cb7aa33aSEmmanuel Vadot&frddr_b { 307cb7aa33aSEmmanuel Vadot status = "okay"; 308cb7aa33aSEmmanuel Vadot}; 309cb7aa33aSEmmanuel Vadot 310cb7aa33aSEmmanuel Vadot&frddr_c { 311cb7aa33aSEmmanuel Vadot status = "okay"; 312cb7aa33aSEmmanuel Vadot}; 313cb7aa33aSEmmanuel Vadot 314cb7aa33aSEmmanuel Vadot&hdmi_tx { 315cb7aa33aSEmmanuel Vadot status = "okay"; 316cb7aa33aSEmmanuel Vadot pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>; 317cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 318cb7aa33aSEmmanuel Vadot hdmi-supply = <&vcc_5v>; 319cb7aa33aSEmmanuel Vadot}; 320cb7aa33aSEmmanuel Vadot 321cb7aa33aSEmmanuel Vadot&hdmi_tx_tmds_port { 322cb7aa33aSEmmanuel Vadot hdmi_tx_tmds_out: endpoint { 323cb7aa33aSEmmanuel Vadot remote-endpoint = <&hdmi_connector_in>; 324cb7aa33aSEmmanuel Vadot }; 325cb7aa33aSEmmanuel Vadot}; 326cb7aa33aSEmmanuel Vadot 327cb7aa33aSEmmanuel Vadot&pwm_ab { 328cb7aa33aSEmmanuel Vadot pinctrl-0 = <&pwm_a_e_pins>; 329cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 330cb7aa33aSEmmanuel Vadot clocks = <&xtal>; 331cb7aa33aSEmmanuel Vadot clock-names = "clkin0"; 332cb7aa33aSEmmanuel Vadot status = "okay"; 333cb7aa33aSEmmanuel Vadot}; 334cb7aa33aSEmmanuel Vadot 335cb7aa33aSEmmanuel Vadot&pwm_AO_cd { 336cb7aa33aSEmmanuel Vadot pinctrl-0 = <&pwm_ao_d_e_pins>; 337cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 338cb7aa33aSEmmanuel Vadot clocks = <&xtal>; 339cb7aa33aSEmmanuel Vadot clock-names = "clkin1"; 340cb7aa33aSEmmanuel Vadot status = "okay"; 341cb7aa33aSEmmanuel Vadot}; 342cb7aa33aSEmmanuel Vadot 343cb7aa33aSEmmanuel Vadot&saradc { 344cb7aa33aSEmmanuel Vadot status = "okay"; 345cb7aa33aSEmmanuel Vadot vref-supply = <&vddao_1v8>; 346cb7aa33aSEmmanuel Vadot}; 347cb7aa33aSEmmanuel Vadot 348cb7aa33aSEmmanuel Vadot/* SD card */ 349cb7aa33aSEmmanuel Vadot&sd_emmc_b { 350cb7aa33aSEmmanuel Vadot status = "okay"; 351cb7aa33aSEmmanuel Vadot pinctrl-0 = <&sdcard_c_pins>; 352cb7aa33aSEmmanuel Vadot pinctrl-1 = <&sdcard_clk_gate_c_pins>; 353cb7aa33aSEmmanuel Vadot pinctrl-names = "default", "clk-gate"; 354cb7aa33aSEmmanuel Vadot 355cb7aa33aSEmmanuel Vadot bus-width = <4>; 356cb7aa33aSEmmanuel Vadot cap-sd-highspeed; 357cb7aa33aSEmmanuel Vadot max-frequency = <50000000>; 358cb7aa33aSEmmanuel Vadot disable-wp; 359cb7aa33aSEmmanuel Vadot 360cb7aa33aSEmmanuel Vadot cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>; 361cb7aa33aSEmmanuel Vadot vmmc-supply = <&tflash_vdd>; 362cb7aa33aSEmmanuel Vadot vqmmc-supply = <&tf_io>; 363cb7aa33aSEmmanuel Vadot 364cb7aa33aSEmmanuel Vadot}; 365cb7aa33aSEmmanuel Vadot 366cb7aa33aSEmmanuel Vadot/* eMMC */ 367cb7aa33aSEmmanuel Vadot&sd_emmc_c { 368cb7aa33aSEmmanuel Vadot status = "okay"; 369cb7aa33aSEmmanuel Vadot pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>; 370cb7aa33aSEmmanuel Vadot pinctrl-1 = <&emmc_clk_gate_pins>; 371cb7aa33aSEmmanuel Vadot pinctrl-names = "default", "clk-gate"; 372cb7aa33aSEmmanuel Vadot 373cb7aa33aSEmmanuel Vadot bus-width = <8>; 374cb7aa33aSEmmanuel Vadot cap-mmc-highspeed; 375cb7aa33aSEmmanuel Vadot mmc-ddr-1_8v; 376cb7aa33aSEmmanuel Vadot mmc-hs200-1_8v; 377cb7aa33aSEmmanuel Vadot max-frequency = <200000000>; 378cb7aa33aSEmmanuel Vadot disable-wp; 379cb7aa33aSEmmanuel Vadot 380cb7aa33aSEmmanuel Vadot mmc-pwrseq = <&emmc_pwrseq>; 381cb7aa33aSEmmanuel Vadot vmmc-supply = <&vcc_3v3>; 382cb7aa33aSEmmanuel Vadot vqmmc-supply = <&flash_1v8>; 383cb7aa33aSEmmanuel Vadot}; 384cb7aa33aSEmmanuel Vadot 385cb7aa33aSEmmanuel Vadot&tdmif_b { 386cb7aa33aSEmmanuel Vadot status = "okay"; 387cb7aa33aSEmmanuel Vadot}; 388cb7aa33aSEmmanuel Vadot 389cb7aa33aSEmmanuel Vadot&tdmif_c { 390cb7aa33aSEmmanuel Vadot status = "okay"; 391cb7aa33aSEmmanuel Vadot}; 392cb7aa33aSEmmanuel Vadot 393cb7aa33aSEmmanuel Vadot&tdmin_a { 394cb7aa33aSEmmanuel Vadot status = "okay"; 395cb7aa33aSEmmanuel Vadot}; 396cb7aa33aSEmmanuel Vadot 397cb7aa33aSEmmanuel Vadot&tdmin_b { 398cb7aa33aSEmmanuel Vadot status = "okay"; 399cb7aa33aSEmmanuel Vadot}; 400cb7aa33aSEmmanuel Vadot 401cb7aa33aSEmmanuel Vadot&tdmin_c { 402cb7aa33aSEmmanuel Vadot status = "okay"; 403cb7aa33aSEmmanuel Vadot}; 404cb7aa33aSEmmanuel Vadot 405cb7aa33aSEmmanuel Vadot&tdmin_lb { 406cb7aa33aSEmmanuel Vadot status = "okay"; 407cb7aa33aSEmmanuel Vadot}; 408cb7aa33aSEmmanuel Vadot 409cb7aa33aSEmmanuel Vadot&tdmout_b { 410cb7aa33aSEmmanuel Vadot status = "okay"; 411cb7aa33aSEmmanuel Vadot}; 412cb7aa33aSEmmanuel Vadot 413cb7aa33aSEmmanuel Vadot&tdmout_c { 414cb7aa33aSEmmanuel Vadot status = "okay"; 415cb7aa33aSEmmanuel Vadot}; 416cb7aa33aSEmmanuel Vadot 417cb7aa33aSEmmanuel Vadot&tohdmitx { 418cb7aa33aSEmmanuel Vadot status = "okay"; 419cb7aa33aSEmmanuel Vadot}; 420cb7aa33aSEmmanuel Vadot 421cb7aa33aSEmmanuel Vadot&toddr_a { 422cb7aa33aSEmmanuel Vadot status = "okay"; 423cb7aa33aSEmmanuel Vadot}; 424cb7aa33aSEmmanuel Vadot 425cb7aa33aSEmmanuel Vadot&toddr_b { 426cb7aa33aSEmmanuel Vadot status = "okay"; 427cb7aa33aSEmmanuel Vadot}; 428cb7aa33aSEmmanuel Vadot 429cb7aa33aSEmmanuel Vadot&toddr_c { 430cb7aa33aSEmmanuel Vadot status = "okay"; 431cb7aa33aSEmmanuel Vadot}; 432cb7aa33aSEmmanuel Vadot 433cb7aa33aSEmmanuel Vadot&uart_AO { 434cb7aa33aSEmmanuel Vadot status = "okay"; 435cb7aa33aSEmmanuel Vadot pinctrl-0 = <&uart_ao_a_pins>; 436cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 437cb7aa33aSEmmanuel Vadot}; 438cb7aa33aSEmmanuel Vadot 439cb7aa33aSEmmanuel Vadot&usb { 440cb7aa33aSEmmanuel Vadot status = "okay"; 441cb7aa33aSEmmanuel Vadot}; 442cb7aa33aSEmmanuel Vadot 443cb7aa33aSEmmanuel Vadot&usb2_phy0 { 444cb7aa33aSEmmanuel Vadot phy-supply = <&vcc_5v>; 445cb7aa33aSEmmanuel Vadot}; 446