16331bddcSMarek Vasut// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 26331bddcSMarek Vasut/* 36331bddcSMarek Vasut * Copyright (C) 2024 Marek Vasut <marex@denx.de> 46331bddcSMarek Vasut * 56331bddcSMarek Vasut * DHCOR STM32MP13 variant: 66331bddcSMarek Vasut * DHCR-STM32MP135F-C100-R051-EE-F0409-SPI4-RTC-WBT-I-01LG 76331bddcSMarek Vasut * DHCOR PCB number: 718-100 or newer 86331bddcSMarek Vasut * DHSBC PCB number: 719-100 or newer 96331bddcSMarek Vasut */ 106331bddcSMarek Vasut 116331bddcSMarek Vasut/dts-v1/; 126331bddcSMarek Vasut 136331bddcSMarek Vasut#include <dt-bindings/regulator/st,stm32mp13-regulator.h> 146331bddcSMarek Vasut#include "stm32mp135.dtsi" 156331bddcSMarek Vasut#include "stm32mp13xf.dtsi" 166331bddcSMarek Vasut#include "stm32mp13xx-dhcor-som.dtsi" 176331bddcSMarek Vasut 186331bddcSMarek Vasut/ { 196331bddcSMarek Vasut model = "DH electronics STM32MP135F DHCOR DHSBC"; 206331bddcSMarek Vasut compatible = "dh,stm32mp135f-dhcor-dhsbc", 216331bddcSMarek Vasut "dh,stm32mp135f-dhcor-som", 226331bddcSMarek Vasut "st,stm32mp135"; 236331bddcSMarek Vasut 246331bddcSMarek Vasut aliases { 251b02383cSMarek Vasut ethernet0 = ðernet1; 261b02383cSMarek Vasut ethernet1 = ðernet2; 276331bddcSMarek Vasut serial2 = &usart1; 286331bddcSMarek Vasut serial3 = &usart2; 296331bddcSMarek Vasut }; 306331bddcSMarek Vasut 316331bddcSMarek Vasut chosen { 326331bddcSMarek Vasut stdout-path = "serial0:115200n8"; 336331bddcSMarek Vasut }; 346331bddcSMarek Vasut}; 356331bddcSMarek Vasut 366331bddcSMarek Vasut&adc_1 { 376331bddcSMarek Vasut pinctrl-names = "default"; 386331bddcSMarek Vasut pinctrl-0 = <&adc1_pins_a &adc1_usb_cc_pins_b>; 396331bddcSMarek Vasut vdda-supply = <&vdd_adc>; 406331bddcSMarek Vasut vref-supply = <&vdd_adc>; 416331bddcSMarek Vasut status = "okay"; 426331bddcSMarek Vasut 436331bddcSMarek Vasut adc1: adc@0 { 446331bddcSMarek Vasut status = "okay"; 456331bddcSMarek Vasut 466331bddcSMarek Vasut /* 476331bddcSMarek Vasut * Type-C USB_PWR_CC1 & USB_PWR_CC2 on in2 & in11. 486331bddcSMarek Vasut * Use at least 5 * RC time, e.g. 5 * (Rp + Rd) * C: 496331bddcSMarek Vasut * 5 * (5.1 + 47kOhms) * 5pF => 1.3us. 506331bddcSMarek Vasut * Use arbitrary margin here (e.g. 5us). 516331bddcSMarek Vasut * 526331bddcSMarek Vasut * The pinmux pins must be set as ANALOG, use datasheet 536331bddcSMarek Vasut * DS13483 Table 7. STM32MP135C/F ball definitions to 546331bddcSMarek Vasut * find out which 'pin name' maps to which 'additional 556331bddcSMarek Vasut * functions', which lists the mapping between pin and 566331bddcSMarek Vasut * ADC channel. In this case, PA5 maps to ADC1_INP2 and 576331bddcSMarek Vasut * PF13 maps to ADC1_INP11 . 586331bddcSMarek Vasut */ 596331bddcSMarek Vasut channel@2 { 606331bddcSMarek Vasut reg = <2>; 616331bddcSMarek Vasut st,min-sample-time-ns = <5000>; 626331bddcSMarek Vasut }; 636331bddcSMarek Vasut 646331bddcSMarek Vasut channel@11 { 656331bddcSMarek Vasut reg = <11>; 666331bddcSMarek Vasut st,min-sample-time-ns = <5000>; 676331bddcSMarek Vasut }; 686331bddcSMarek Vasut 696331bddcSMarek Vasut /* Expansion connector: INP12:pin29 */ 706331bddcSMarek Vasut channel@12 { 716331bddcSMarek Vasut reg = <12>; 726331bddcSMarek Vasut st,min-sample-time-ns = <5000>; 736331bddcSMarek Vasut }; 746331bddcSMarek Vasut }; 756331bddcSMarek Vasut}; 766331bddcSMarek Vasut 771b02383cSMarek Vasutðernet1 { 785d1ff2ddSMarek Vasut nvmem-cell-names = "mac-address"; 795d1ff2ddSMarek Vasut nvmem-cells = <ðernet_mac1_address>; 801b02383cSMarek Vasut phy-handle = <ðphy1>; 811b02383cSMarek Vasut phy-mode = "rgmii-id"; 821b02383cSMarek Vasut pinctrl-0 = <ð1_rgmii_pins_a>; 831b02383cSMarek Vasut pinctrl-1 = <ð1_rgmii_sleep_pins_a>; 841b02383cSMarek Vasut pinctrl-names = "default", "sleep"; 851b02383cSMarek Vasut st,ext-phyclk; 861b02383cSMarek Vasut status = "okay"; 871b02383cSMarek Vasut 881b02383cSMarek Vasut mdio { 891b02383cSMarek Vasut #address-cells = <1>; 901b02383cSMarek Vasut #size-cells = <0>; 911b02383cSMarek Vasut compatible = "snps,dwmac-mdio"; 921b02383cSMarek Vasut 931b02383cSMarek Vasut ethphy1: ethernet-phy@1 { 941b02383cSMarek Vasut /* RTL8211F */ 951b02383cSMarek Vasut compatible = "ethernet-phy-id001c.c916"; 961b02383cSMarek Vasut interrupt-parent = <&gpiog>; 971b02383cSMarek Vasut interrupts = <12 IRQ_TYPE_LEVEL_LOW>; 981b02383cSMarek Vasut reg = <1>; 9944791c0fSMarek Vasut realtek,clkout-disable; 1001b02383cSMarek Vasut reset-assert-us = <15000>; 1011b02383cSMarek Vasut reset-deassert-us = <55000>; 1021b02383cSMarek Vasut reset-gpios = <&gpioa 11 GPIO_ACTIVE_LOW>; 103*9d4de04fSMarek Vasut 104*9d4de04fSMarek Vasut leds { 105*9d4de04fSMarek Vasut #address-cells = <1>; 106*9d4de04fSMarek Vasut #size-cells = <0>; 107*9d4de04fSMarek Vasut 108*9d4de04fSMarek Vasut led@0 { 109*9d4de04fSMarek Vasut reg = <0>; 110*9d4de04fSMarek Vasut color = <LED_COLOR_ID_GREEN>; 111*9d4de04fSMarek Vasut function = LED_FUNCTION_WAN; 112*9d4de04fSMarek Vasut linux,default-trigger = "netdev"; 113*9d4de04fSMarek Vasut }; 114*9d4de04fSMarek Vasut 115*9d4de04fSMarek Vasut led@1 { 116*9d4de04fSMarek Vasut reg = <1>; 117*9d4de04fSMarek Vasut color = <LED_COLOR_ID_YELLOW>; 118*9d4de04fSMarek Vasut function = LED_FUNCTION_WAN; 119*9d4de04fSMarek Vasut linux,default-trigger = "netdev"; 120*9d4de04fSMarek Vasut }; 121*9d4de04fSMarek Vasut }; 1221b02383cSMarek Vasut }; 1231b02383cSMarek Vasut }; 1241b02383cSMarek Vasut}; 1251b02383cSMarek Vasut 1261b02383cSMarek Vasutðernet2 { 1275d1ff2ddSMarek Vasut nvmem-cell-names = "mac-address"; 1285d1ff2ddSMarek Vasut nvmem-cells = <ðernet_mac2_address>; 1291b02383cSMarek Vasut phy-handle = <ðphy2>; 1301b02383cSMarek Vasut phy-mode = "rgmii-id"; 1311b02383cSMarek Vasut pinctrl-0 = <ð2_rgmii_pins_a>; 1321b02383cSMarek Vasut pinctrl-1 = <ð2_rgmii_sleep_pins_a>; 1331b02383cSMarek Vasut pinctrl-names = "default", "sleep"; 1341b02383cSMarek Vasut st,ext-phyclk; 1351b02383cSMarek Vasut status = "okay"; 1361b02383cSMarek Vasut 1371b02383cSMarek Vasut mdio { 1381b02383cSMarek Vasut #address-cells = <1>; 1391b02383cSMarek Vasut #size-cells = <0>; 1401b02383cSMarek Vasut compatible = "snps,dwmac-mdio"; 1411b02383cSMarek Vasut 1421b02383cSMarek Vasut ethphy2: ethernet-phy@1 { 1431b02383cSMarek Vasut /* RTL8211F */ 1441b02383cSMarek Vasut compatible = "ethernet-phy-id001c.c916"; 1451b02383cSMarek Vasut interrupt-parent = <&gpiog>; 1461b02383cSMarek Vasut interrupts = <15 IRQ_TYPE_LEVEL_LOW>; 1471b02383cSMarek Vasut reg = <1>; 14844791c0fSMarek Vasut realtek,clkout-disable; 1491b02383cSMarek Vasut reset-assert-us = <15000>; 1501b02383cSMarek Vasut reset-deassert-us = <55000>; 1511b02383cSMarek Vasut reset-gpios = <&gpiog 8 GPIO_ACTIVE_LOW>; 152*9d4de04fSMarek Vasut 153*9d4de04fSMarek Vasut leds { 154*9d4de04fSMarek Vasut #address-cells = <1>; 155*9d4de04fSMarek Vasut #size-cells = <0>; 156*9d4de04fSMarek Vasut 157*9d4de04fSMarek Vasut led@0 { 158*9d4de04fSMarek Vasut reg = <0>; 159*9d4de04fSMarek Vasut color = <LED_COLOR_ID_GREEN>; 160*9d4de04fSMarek Vasut function = LED_FUNCTION_LAN; 161*9d4de04fSMarek Vasut linux,default-trigger = "netdev"; 162*9d4de04fSMarek Vasut }; 163*9d4de04fSMarek Vasut 164*9d4de04fSMarek Vasut led@1 { 165*9d4de04fSMarek Vasut reg = <1>; 166*9d4de04fSMarek Vasut color = <LED_COLOR_ID_YELLOW>; 167*9d4de04fSMarek Vasut function = LED_FUNCTION_LAN; 168*9d4de04fSMarek Vasut linux,default-trigger = "netdev"; 169*9d4de04fSMarek Vasut }; 170*9d4de04fSMarek Vasut }; 1711b02383cSMarek Vasut }; 1721b02383cSMarek Vasut }; 1731b02383cSMarek Vasut}; 1741b02383cSMarek Vasut 1756331bddcSMarek Vasut&gpioa { 1766331bddcSMarek Vasut gpio-line-names = "", "", "", "", 1776331bddcSMarek Vasut "", "DHSBC_USB_PWR_CC1", "", "", 1786331bddcSMarek Vasut "", "", "", "DHSBC_nETH1_RST", 1796331bddcSMarek Vasut "", "DHCOR_HW-CODING_0", "", ""; 1806331bddcSMarek Vasut}; 1816331bddcSMarek Vasut 1826331bddcSMarek Vasut&gpiob { 1836331bddcSMarek Vasut gpio-line-names = "", "", "", "", 1846331bddcSMarek Vasut "", "", "", "DHCOR_BT_HOST_WAKE", 1856331bddcSMarek Vasut "", "", "", "", 1866331bddcSMarek Vasut "", "DHSBC_nTPM_CS", "", ""; 1876331bddcSMarek Vasut}; 1886331bddcSMarek Vasut 1896331bddcSMarek Vasut&gpioc { 1906331bddcSMarek Vasut gpio-line-names = "", "", "", "DHSBC_USB_5V_MEAS", 1916331bddcSMarek Vasut "", "", "", "", 1926331bddcSMarek Vasut "", "", "", "", 1936331bddcSMarek Vasut "", "", "", ""; 1946331bddcSMarek Vasut}; 1956331bddcSMarek Vasut 1966331bddcSMarek Vasut&gpiod { 1976331bddcSMarek Vasut gpio-line-names = "", "", "", "", 1986331bddcSMarek Vasut "", "DHCOR_RAM-CODING_0", "", "", 1996331bddcSMarek Vasut "", "DHCOR_RAM-CODING_1", "", "", 2006331bddcSMarek Vasut "", "", "", ""; 2016331bddcSMarek Vasut}; 2026331bddcSMarek Vasut 2036331bddcSMarek Vasut&gpioe { 2046331bddcSMarek Vasut gpio-line-names = "", "", "", "", 2056331bddcSMarek Vasut "", "", "", "", 2066331bddcSMarek Vasut "", "DHSBC_nTPM_RST", "", "", 2076331bddcSMarek Vasut "DHSBC_nTPM_PIRQ", "", "DHCOR_WL_HOST_WAKE", ""; 2086331bddcSMarek Vasut}; 2096331bddcSMarek Vasut 2106331bddcSMarek Vasut&gpiof { 2116331bddcSMarek Vasut gpio-line-names = "", "", "DHSBC_USB_PWR_nFLT", "", 2126331bddcSMarek Vasut "", "", "", "", 2136331bddcSMarek Vasut "", "", "", "", 2146331bddcSMarek Vasut "DHCOR_WL_REG_ON", "DHSBC_USB_PWR_CC2", "", ""; 2156331bddcSMarek Vasut}; 2166331bddcSMarek Vasut 2176331bddcSMarek Vasut&gpiog { 2186331bddcSMarek Vasut gpio-line-names = "", "", "", "", 2196331bddcSMarek Vasut "", "", "", "", 2206331bddcSMarek Vasut "DHSBC_nETH2_RST", "DHCOR_BT_DEV_WAKE", "", "", 2216331bddcSMarek Vasut "DHSBC_ETH1_INTB", "", "", "DHSBC_ETH2_INTB"; 2226331bddcSMarek Vasut}; 2236331bddcSMarek Vasut 2246331bddcSMarek Vasut&gpioi { 2256331bddcSMarek Vasut gpio-line-names = "DHCOR_RTC_nINT", "DHCOR_HW-CODING_1", 2266331bddcSMarek Vasut "DHCOR_BT_REG_ON", "DHCOR_PMIC_nINT", 2276331bddcSMarek Vasut "DHSBC_BOOT0", "DHSBC_BOOT1", 2286331bddcSMarek Vasut "DHSBC_BOOT2", "DHSBC_USB-C_DATA_VBUS"; 2296331bddcSMarek Vasut}; 2306331bddcSMarek Vasut 2316331bddcSMarek Vasut&i2c1 { /* Expansion connector: SDA:pin27 SCL:pin28 */ 2326331bddcSMarek Vasut pinctrl-names = "default", "sleep"; 2336331bddcSMarek Vasut pinctrl-0 = <&i2c1_pins_a>; 2346331bddcSMarek Vasut pinctrl-1 = <&i2c1_sleep_pins_a>; 2356331bddcSMarek Vasut i2c-scl-rising-time-ns = <96>; 2366331bddcSMarek Vasut i2c-scl-falling-time-ns = <3>; 2376331bddcSMarek Vasut clock-frequency = <400000>; 2386331bddcSMarek Vasut status = "okay"; 2396331bddcSMarek Vasut /* spare dmas for other usage */ 2406331bddcSMarek Vasut /delete-property/dmas; 2416331bddcSMarek Vasut /delete-property/dma-names; 2426331bddcSMarek Vasut}; 2436331bddcSMarek Vasut 2446331bddcSMarek Vasut&i2c5 { /* Expansion connector: SDA:pin3 SCL:pin5 */ 2456331bddcSMarek Vasut pinctrl-names = "default", "sleep"; 2466331bddcSMarek Vasut pinctrl-0 = <&i2c5_pins_b>; 2476331bddcSMarek Vasut pinctrl-1 = <&i2c5_sleep_pins_b>; 2486331bddcSMarek Vasut i2c-scl-rising-time-ns = <96>; 2496331bddcSMarek Vasut i2c-scl-falling-time-ns = <3>; 2506331bddcSMarek Vasut clock-frequency = <400000>; 2516331bddcSMarek Vasut status = "okay"; 2526331bddcSMarek Vasut /* spare dmas for other usage */ 2536331bddcSMarek Vasut /delete-property/dmas; 2546331bddcSMarek Vasut /delete-property/dma-names; 2556331bddcSMarek Vasut}; 2566331bddcSMarek Vasut 2576331bddcSMarek Vasut&m_can1 { /* Expansion connector: TX:pin16 RX:pin18 */ 2586331bddcSMarek Vasut pinctrl-names = "default", "sleep"; 2596331bddcSMarek Vasut pinctrl-0 = <&m_can1_pins_a>; 2606331bddcSMarek Vasut pinctrl-1 = <&m_can1_sleep_pins_a>; 2616331bddcSMarek Vasut status = "okay"; 2626331bddcSMarek Vasut}; 2636331bddcSMarek Vasut 2646331bddcSMarek Vasut&m_can2 { /* Expansion connector: TX:pin22 RX:pin26 */ 2656331bddcSMarek Vasut pinctrl-names = "default", "sleep"; 2666331bddcSMarek Vasut pinctrl-0 = <&m_can2_pins_a>; 2676331bddcSMarek Vasut pinctrl-1 = <&m_can2_sleep_pins_a>; 2686331bddcSMarek Vasut status = "okay"; 2696331bddcSMarek Vasut}; 2706331bddcSMarek Vasut 2716331bddcSMarek Vasut&pwr_regulators { 2726331bddcSMarek Vasut vdd-supply = <&vdd>; 2736331bddcSMarek Vasut vdd_3v3_usbfs-supply = <&vdd_usb>; 2746331bddcSMarek Vasut status = "okay"; 2756331bddcSMarek Vasut}; 2766331bddcSMarek Vasut 2776331bddcSMarek Vasut&sai1 { /* Expansion connector: SCK-A:pin12 FS-A:pin35 SD-A:pin38 SD-B:pin40 */ 2786331bddcSMarek Vasut clocks = <&rcc SAI1>, <&rcc PLL3_Q>, <&rcc PLL3_R>; 2796331bddcSMarek Vasut clock-names = "pclk", "x8k", "x11k"; 2806331bddcSMarek Vasut pinctrl-names = "default", "sleep"; 2816331bddcSMarek Vasut pinctrl-0 = <&sai1a_pins_a &sai1b_pins_a>; 2826331bddcSMarek Vasut pinctrl-1 = <&sai1a_sleep_pins_a &sai1b_sleep_pins_a>; 2836331bddcSMarek Vasut}; 2846331bddcSMarek Vasut 2856331bddcSMarek Vasut&scmi_voltd { 2866331bddcSMarek Vasut status = "disabled"; 2876331bddcSMarek Vasut}; 2886331bddcSMarek Vasut 2896331bddcSMarek Vasut&spi2 { 2906331bddcSMarek Vasut pinctrl-names = "default", "sleep"; 2916331bddcSMarek Vasut pinctrl-0 = <&spi2_pins_a>; 2926331bddcSMarek Vasut pinctrl-1 = <&spi2_sleep_pins_a>; 2936331bddcSMarek Vasut cs-gpios = <&gpiob 13 0>; 2946331bddcSMarek Vasut status = "okay"; 2956331bddcSMarek Vasut 2966331bddcSMarek Vasut st33htph: tpm@0 { 2976331bddcSMarek Vasut compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi"; 2986331bddcSMarek Vasut reg = <0>; 2996331bddcSMarek Vasut spi-max-frequency = <24000000>; 3006331bddcSMarek Vasut }; 3016331bddcSMarek Vasut}; 3026331bddcSMarek Vasut 3036331bddcSMarek Vasut&spi3 { /* Expansion connector: MOSI:pin19 MISO:pin21 SCK:pin22 nCS:pin24 */ 3046331bddcSMarek Vasut pinctrl-names = "default", "sleep"; 3056331bddcSMarek Vasut pinctrl-0 = <&spi3_pins_a>; 3066331bddcSMarek Vasut pinctrl-1 = <&spi3_sleep_pins_a>; 3076331bddcSMarek Vasut cs-gpios = <&gpiof 3 0>; 3086331bddcSMarek Vasut status = "disabled"; 3096331bddcSMarek Vasut}; 3106331bddcSMarek Vasut 3116331bddcSMarek Vasut&timers5 { /* Expansion connector: CH3:pin31 */ 3126331bddcSMarek Vasut /delete-property/dmas; 3136331bddcSMarek Vasut /delete-property/dma-names; 3146331bddcSMarek Vasut status = "okay"; 3156331bddcSMarek Vasut 3166331bddcSMarek Vasut pwm { 3176331bddcSMarek Vasut pinctrl-0 = <&pwm5_pins_a>; 3186331bddcSMarek Vasut pinctrl-1 = <&pwm5_sleep_pins_a>; 3196331bddcSMarek Vasut pinctrl-names = "default", "sleep"; 3206331bddcSMarek Vasut status = "okay"; 3216331bddcSMarek Vasut }; 3226331bddcSMarek Vasut timer@4 { 3236331bddcSMarek Vasut status = "okay"; 3246331bddcSMarek Vasut }; 3256331bddcSMarek Vasut}; 3266331bddcSMarek Vasut 3276331bddcSMarek Vasut&timers13 { /* Expansion connector: CH1:pin32 */ 3286331bddcSMarek Vasut /delete-property/dmas; 3296331bddcSMarek Vasut /delete-property/dma-names; 3306331bddcSMarek Vasut status = "okay"; 3316331bddcSMarek Vasut 3326331bddcSMarek Vasut pwm { 3336331bddcSMarek Vasut pinctrl-0 = <&pwm13_pins_a>; 3346331bddcSMarek Vasut pinctrl-1 = <&pwm13_sleep_pins_a>; 3356331bddcSMarek Vasut pinctrl-names = "default", "sleep"; 3366331bddcSMarek Vasut status = "okay"; 3376331bddcSMarek Vasut }; 3386331bddcSMarek Vasut timer@12 { 3396331bddcSMarek Vasut status = "okay"; 3406331bddcSMarek Vasut }; 3416331bddcSMarek Vasut}; 3426331bddcSMarek Vasut 3436331bddcSMarek Vasut&usart1 { /* Expansion connector: RX:pin33 TX:pin37 */ 3446331bddcSMarek Vasut pinctrl-names = "default", "sleep", "idle"; 3456331bddcSMarek Vasut pinctrl-0 = <&usart1_pins_b>; 3466331bddcSMarek Vasut pinctrl-1 = <&usart1_sleep_pins_b>; 3476331bddcSMarek Vasut pinctrl-2 = <&usart1_idle_pins_b>; 3486331bddcSMarek Vasut status = "okay"; 3496331bddcSMarek Vasut}; 3506331bddcSMarek Vasut 3516331bddcSMarek Vasut&usart2 { /* Expansion connector: RX:pin10 TX:pin8 RTS:pin11 CTS:pin36 */ 3526331bddcSMarek Vasut pinctrl-names = "default", "sleep", "idle"; 3536331bddcSMarek Vasut pinctrl-0 = <&usart2_pins_b>; 3546331bddcSMarek Vasut pinctrl-1 = <&usart2_sleep_pins_b>; 3556331bddcSMarek Vasut pinctrl-2 = <&usart2_idle_pins_b>; 3566331bddcSMarek Vasut uart-has-rtscts; 3576331bddcSMarek Vasut status = "okay"; 3586331bddcSMarek Vasut}; 3596331bddcSMarek Vasut 3606331bddcSMarek Vasut&usbh_ehci { 3616331bddcSMarek Vasut phys = <&usbphyc_port0>; 3626331bddcSMarek Vasut status = "okay"; 3636331bddcSMarek Vasut}; 3646331bddcSMarek Vasut 3656331bddcSMarek Vasut&usbh_ohci { 3666331bddcSMarek Vasut phys = <&usbphyc_port0>; 3676331bddcSMarek Vasut status = "okay"; 3686331bddcSMarek Vasut}; 3696331bddcSMarek Vasut 3706331bddcSMarek Vasut&usbotg_hs { 3716331bddcSMarek Vasut dr_mode = "peripheral"; 3726331bddcSMarek Vasut phys = <&usbphyc_port1 0>; 3736331bddcSMarek Vasut phy-names = "usb2-phy"; 3746331bddcSMarek Vasut usb33d-supply = <&usb33>; 3756331bddcSMarek Vasut status = "okay"; 3766331bddcSMarek Vasut}; 3776331bddcSMarek Vasut 3786331bddcSMarek Vasut&usbphyc { 3796331bddcSMarek Vasut status = "okay"; 3806331bddcSMarek Vasut vdda1v1-supply = <®11>; 3816331bddcSMarek Vasut vdda1v8-supply = <®18>; 3826331bddcSMarek Vasut}; 3836331bddcSMarek Vasut 3846331bddcSMarek Vasut&usbphyc_port0 { 3856331bddcSMarek Vasut phy-supply = <&vdd_usb>; 3866331bddcSMarek Vasut st,current-boost-microamp = <1000>; 3876331bddcSMarek Vasut st,decrease-hs-slew-rate; 3886331bddcSMarek Vasut st,tune-hs-dc-level = <2>; 3896331bddcSMarek Vasut st,enable-hs-rftime-reduction; 3906331bddcSMarek Vasut st,trim-hs-current = <11>; 3916331bddcSMarek Vasut st,trim-hs-impedance = <2>; 3926331bddcSMarek Vasut st,tune-squelch-level = <1>; 3936331bddcSMarek Vasut st,enable-hs-rx-gain-eq; 3946331bddcSMarek Vasut st,no-hs-ftime-ctrl; 3956331bddcSMarek Vasut st,no-lsfs-sc; 3966331bddcSMarek Vasut connector { 3976331bddcSMarek Vasut compatible = "usb-a-connector"; 3986331bddcSMarek Vasut vbus-supply = <&vbus_sw>; 3996331bddcSMarek Vasut }; 4006331bddcSMarek Vasut}; 4016331bddcSMarek Vasut 4026331bddcSMarek Vasut&usbphyc_port1 { 4036331bddcSMarek Vasut phy-supply = <&vdd_usb>; 4046331bddcSMarek Vasut st,current-boost-microamp = <1000>; 4056331bddcSMarek Vasut st,decrease-hs-slew-rate; 4066331bddcSMarek Vasut st,tune-hs-dc-level = <2>; 4076331bddcSMarek Vasut st,enable-hs-rftime-reduction; 4086331bddcSMarek Vasut st,trim-hs-current = <11>; 4096331bddcSMarek Vasut st,trim-hs-impedance = <2>; 4106331bddcSMarek Vasut st,tune-squelch-level = <1>; 4116331bddcSMarek Vasut st,enable-hs-rx-gain-eq; 4126331bddcSMarek Vasut st,no-hs-ftime-ctrl; 4136331bddcSMarek Vasut st,no-lsfs-sc; 4146331bddcSMarek Vasut connector { 4156331bddcSMarek Vasut compatible = "gpio-usb-b-connector", "usb-b-connector"; 4166331bddcSMarek Vasut vbus-gpios = <&gpioi 7 GPIO_ACTIVE_HIGH>; 4176331bddcSMarek Vasut label = "Type-C"; 4186331bddcSMarek Vasut self-powered; 4196331bddcSMarek Vasut type = "micro"; 4206331bddcSMarek Vasut }; 4216331bddcSMarek Vasut}; 422