1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 4f126890aSEmmanuel Vadot * Author: Ludovic Barre <ludovic.barre@st.com> for STMicroelectronics. 5f126890aSEmmanuel Vadot */ 6f126890aSEmmanuel Vadot/dts-v1/; 7f126890aSEmmanuel Vadot 8f126890aSEmmanuel Vadot#include "stm32mp157c-ed1.dts" 9f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 10f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h> 11f126890aSEmmanuel Vadot#include <dt-bindings/media/video-interfaces.h> 12f126890aSEmmanuel Vadot 13f126890aSEmmanuel Vadot/ { 14f126890aSEmmanuel Vadot model = "STMicroelectronics STM32MP157C eval daughter on eval mother"; 15f126890aSEmmanuel Vadot compatible = "st,stm32mp157c-ev1", "st,stm32mp157c-ed1", "st,stm32mp157"; 16f126890aSEmmanuel Vadot 17f126890aSEmmanuel Vadot aliases { 18f126890aSEmmanuel Vadot serial1 = &usart3; 19f126890aSEmmanuel Vadot ethernet0 = ðernet0; 20f126890aSEmmanuel Vadot }; 21f126890aSEmmanuel Vadot 22f126890aSEmmanuel Vadot chosen { 23f126890aSEmmanuel Vadot stdout-path = "serial0:115200n8"; 24f126890aSEmmanuel Vadot }; 25f126890aSEmmanuel Vadot 26f126890aSEmmanuel Vadot clocks { 27f126890aSEmmanuel Vadot clk_ext_camera: clk-ext-camera { 28f126890aSEmmanuel Vadot #clock-cells = <0>; 29f126890aSEmmanuel Vadot compatible = "fixed-clock"; 30f126890aSEmmanuel Vadot clock-frequency = <24000000>; 31f126890aSEmmanuel Vadot }; 32f126890aSEmmanuel Vadot }; 33f126890aSEmmanuel Vadot 34f126890aSEmmanuel Vadot joystick { 35f126890aSEmmanuel Vadot compatible = "gpio-keys"; 36f126890aSEmmanuel Vadot pinctrl-0 = <&joystick_pins>; 37f126890aSEmmanuel Vadot pinctrl-names = "default"; 38f126890aSEmmanuel Vadot button-0 { 39f126890aSEmmanuel Vadot label = "JoySel"; 40f126890aSEmmanuel Vadot linux,code = <KEY_ENTER>; 41f126890aSEmmanuel Vadot interrupt-parent = <&stmfx_pinctrl>; 42f126890aSEmmanuel Vadot interrupts = <0 IRQ_TYPE_EDGE_RISING>; 43f126890aSEmmanuel Vadot }; 44f126890aSEmmanuel Vadot button-1 { 45f126890aSEmmanuel Vadot label = "JoyDown"; 46f126890aSEmmanuel Vadot linux,code = <KEY_DOWN>; 47f126890aSEmmanuel Vadot interrupt-parent = <&stmfx_pinctrl>; 48f126890aSEmmanuel Vadot interrupts = <1 IRQ_TYPE_EDGE_RISING>; 49f126890aSEmmanuel Vadot }; 50f126890aSEmmanuel Vadot button-2 { 51f126890aSEmmanuel Vadot label = "JoyLeft"; 52f126890aSEmmanuel Vadot linux,code = <KEY_LEFT>; 53f126890aSEmmanuel Vadot interrupt-parent = <&stmfx_pinctrl>; 54f126890aSEmmanuel Vadot interrupts = <2 IRQ_TYPE_EDGE_RISING>; 55f126890aSEmmanuel Vadot }; 56f126890aSEmmanuel Vadot button-3 { 57f126890aSEmmanuel Vadot label = "JoyRight"; 58f126890aSEmmanuel Vadot linux,code = <KEY_RIGHT>; 59f126890aSEmmanuel Vadot interrupt-parent = <&stmfx_pinctrl>; 60f126890aSEmmanuel Vadot interrupts = <3 IRQ_TYPE_EDGE_RISING>; 61f126890aSEmmanuel Vadot }; 62f126890aSEmmanuel Vadot button-4 { 63f126890aSEmmanuel Vadot label = "JoyUp"; 64f126890aSEmmanuel Vadot linux,code = <KEY_UP>; 65f126890aSEmmanuel Vadot interrupt-parent = <&stmfx_pinctrl>; 66f126890aSEmmanuel Vadot interrupts = <4 IRQ_TYPE_EDGE_RISING>; 67f126890aSEmmanuel Vadot }; 68f126890aSEmmanuel Vadot }; 69f126890aSEmmanuel Vadot 70f126890aSEmmanuel Vadot panel_backlight: panel-backlight { 71f126890aSEmmanuel Vadot compatible = "gpio-backlight"; 72f126890aSEmmanuel Vadot gpios = <&gpiod 13 GPIO_ACTIVE_LOW>; 73f126890aSEmmanuel Vadot default-on; 74f126890aSEmmanuel Vadot status = "okay"; 75f126890aSEmmanuel Vadot }; 76f126890aSEmmanuel Vadot}; 77f126890aSEmmanuel Vadot 78f126890aSEmmanuel Vadot&cec { 79f126890aSEmmanuel Vadot pinctrl-names = "default"; 80f126890aSEmmanuel Vadot pinctrl-0 = <&cec_pins_a>; 81f126890aSEmmanuel Vadot status = "okay"; 82f126890aSEmmanuel Vadot}; 83f126890aSEmmanuel Vadot 84f126890aSEmmanuel Vadot&dcmi { 85f126890aSEmmanuel Vadot status = "okay"; 86f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 87f126890aSEmmanuel Vadot pinctrl-0 = <&dcmi_pins_a>; 88f126890aSEmmanuel Vadot pinctrl-1 = <&dcmi_sleep_pins_a>; 89f126890aSEmmanuel Vadot 90f126890aSEmmanuel Vadot port { 91f126890aSEmmanuel Vadot dcmi_0: endpoint { 92f126890aSEmmanuel Vadot remote-endpoint = <&ov5640_0>; 93f126890aSEmmanuel Vadot bus-type = <MEDIA_BUS_TYPE_PARALLEL>; 94f126890aSEmmanuel Vadot bus-width = <8>; 95f126890aSEmmanuel Vadot hsync-active = <0>; 96f126890aSEmmanuel Vadot vsync-active = <0>; 97f126890aSEmmanuel Vadot pclk-sample = <1>; 98f126890aSEmmanuel Vadot }; 99f126890aSEmmanuel Vadot }; 100f126890aSEmmanuel Vadot}; 101f126890aSEmmanuel Vadot 102f126890aSEmmanuel Vadot&dsi { 103f126890aSEmmanuel Vadot #address-cells = <1>; 104f126890aSEmmanuel Vadot #size-cells = <0>; 105f126890aSEmmanuel Vadot status = "okay"; 106f126890aSEmmanuel Vadot 107f126890aSEmmanuel Vadot panel@0 { 108f126890aSEmmanuel Vadot compatible = "raydium,rm68200"; 109f126890aSEmmanuel Vadot reg = <0>; 110f126890aSEmmanuel Vadot reset-gpios = <&gpiof 15 GPIO_ACTIVE_LOW>; 111f126890aSEmmanuel Vadot backlight = <&panel_backlight>; 112f126890aSEmmanuel Vadot power-supply = <&v3v3>; 113f126890aSEmmanuel Vadot status = "okay"; 114f126890aSEmmanuel Vadot 115f126890aSEmmanuel Vadot port { 116f126890aSEmmanuel Vadot dsi_panel_in: endpoint { 117f126890aSEmmanuel Vadot remote-endpoint = <&dsi_out>; 118f126890aSEmmanuel Vadot }; 119f126890aSEmmanuel Vadot }; 120f126890aSEmmanuel Vadot }; 121f126890aSEmmanuel Vadot}; 122f126890aSEmmanuel Vadot 123*aa1a8ff2SEmmanuel Vadot&dsi_in { 124*aa1a8ff2SEmmanuel Vadot remote-endpoint = <<dc_ep0_out>; 125*aa1a8ff2SEmmanuel Vadot}; 126*aa1a8ff2SEmmanuel Vadot 127*aa1a8ff2SEmmanuel Vadot&dsi_out { 128*aa1a8ff2SEmmanuel Vadot remote-endpoint = <&dsi_panel_in>; 129*aa1a8ff2SEmmanuel Vadot}; 130*aa1a8ff2SEmmanuel Vadot 131f126890aSEmmanuel Vadotðernet0 { 132f126890aSEmmanuel Vadot status = "okay"; 133f126890aSEmmanuel Vadot pinctrl-0 = <ðernet0_rgmii_pins_a>; 134f126890aSEmmanuel Vadot pinctrl-1 = <ðernet0_rgmii_sleep_pins_a>; 135f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 136f126890aSEmmanuel Vadot phy-mode = "rgmii-id"; 137f126890aSEmmanuel Vadot max-speed = <1000>; 138f126890aSEmmanuel Vadot phy-handle = <&phy0>; 139f126890aSEmmanuel Vadot 140f126890aSEmmanuel Vadot mdio { 141f126890aSEmmanuel Vadot #address-cells = <1>; 142f126890aSEmmanuel Vadot #size-cells = <0>; 143f126890aSEmmanuel Vadot compatible = "snps,dwmac-mdio"; 144f126890aSEmmanuel Vadot phy0: ethernet-phy@0 { 145f126890aSEmmanuel Vadot reg = <0>; 146f126890aSEmmanuel Vadot }; 147f126890aSEmmanuel Vadot }; 148f126890aSEmmanuel Vadot}; 149f126890aSEmmanuel Vadot 150f126890aSEmmanuel Vadot&fmc { 151f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 152f126890aSEmmanuel Vadot pinctrl-0 = <&fmc_pins_a>; 153f126890aSEmmanuel Vadot pinctrl-1 = <&fmc_sleep_pins_a>; 154f126890aSEmmanuel Vadot status = "okay"; 155f126890aSEmmanuel Vadot 156f126890aSEmmanuel Vadot nand-controller@4,0 { 157f126890aSEmmanuel Vadot status = "okay"; 158f126890aSEmmanuel Vadot 159f126890aSEmmanuel Vadot nand@0 { 160f126890aSEmmanuel Vadot reg = <0>; 161f126890aSEmmanuel Vadot nand-on-flash-bbt; 162f126890aSEmmanuel Vadot #address-cells = <1>; 163f126890aSEmmanuel Vadot #size-cells = <1>; 164f126890aSEmmanuel Vadot }; 165f126890aSEmmanuel Vadot }; 166f126890aSEmmanuel Vadot}; 167f126890aSEmmanuel Vadot 168f126890aSEmmanuel Vadot&i2c2 { 169f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 170f126890aSEmmanuel Vadot pinctrl-0 = <&i2c2_pins_a>; 171f126890aSEmmanuel Vadot pinctrl-1 = <&i2c2_sleep_pins_a>; 172f126890aSEmmanuel Vadot i2c-scl-rising-time-ns = <185>; 173f126890aSEmmanuel Vadot i2c-scl-falling-time-ns = <20>; 174f126890aSEmmanuel Vadot status = "okay"; 175f126890aSEmmanuel Vadot 176f126890aSEmmanuel Vadot ov5640: camera@3c { 177f126890aSEmmanuel Vadot compatible = "ovti,ov5640"; 178f126890aSEmmanuel Vadot reg = <0x3c>; 179f126890aSEmmanuel Vadot clocks = <&clk_ext_camera>; 180f126890aSEmmanuel Vadot clock-names = "xclk"; 181f126890aSEmmanuel Vadot AVDD-supply = <&v2v8>; 182f126890aSEmmanuel Vadot DOVDD-supply = <&v2v8>; 183f126890aSEmmanuel Vadot DVDD-supply = <&v2v8>; 184f126890aSEmmanuel Vadot powerdown-gpios = <&stmfx_pinctrl 18 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL)>; 185f126890aSEmmanuel Vadot reset-gpios = <&stmfx_pinctrl 19 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>; 186f126890aSEmmanuel Vadot rotation = <180>; 187f126890aSEmmanuel Vadot status = "okay"; 188f126890aSEmmanuel Vadot 189f126890aSEmmanuel Vadot port { 190f126890aSEmmanuel Vadot ov5640_0: endpoint { 191f126890aSEmmanuel Vadot remote-endpoint = <&dcmi_0>; 192f126890aSEmmanuel Vadot bus-width = <8>; 193f126890aSEmmanuel Vadot data-shift = <2>; /* lines 9:2 are used */ 194f126890aSEmmanuel Vadot hsync-active = <0>; 195f126890aSEmmanuel Vadot vsync-active = <0>; 196f126890aSEmmanuel Vadot pclk-sample = <1>; 197f126890aSEmmanuel Vadot }; 198f126890aSEmmanuel Vadot }; 199f126890aSEmmanuel Vadot }; 200f126890aSEmmanuel Vadot 201f126890aSEmmanuel Vadot stmfx: stmfx@42 { 202f126890aSEmmanuel Vadot compatible = "st,stmfx-0300"; 203f126890aSEmmanuel Vadot reg = <0x42>; 204f126890aSEmmanuel Vadot interrupts = <8 IRQ_TYPE_EDGE_RISING>; 205f126890aSEmmanuel Vadot interrupt-parent = <&gpioi>; 206f126890aSEmmanuel Vadot vdd-supply = <&v3v3>; 207f126890aSEmmanuel Vadot 208f126890aSEmmanuel Vadot stmfx_pinctrl: pinctrl { 209f126890aSEmmanuel Vadot compatible = "st,stmfx-0300-pinctrl"; 210f126890aSEmmanuel Vadot gpio-controller; 211f126890aSEmmanuel Vadot #gpio-cells = <2>; 212f126890aSEmmanuel Vadot interrupt-controller; 213f126890aSEmmanuel Vadot #interrupt-cells = <2>; 214f126890aSEmmanuel Vadot gpio-ranges = <&stmfx_pinctrl 0 0 24>; 215f126890aSEmmanuel Vadot 216f126890aSEmmanuel Vadot joystick_pins: joystick-pins { 217f126890aSEmmanuel Vadot pins = "gpio0", "gpio1", "gpio2", "gpio3", "gpio4"; 218f126890aSEmmanuel Vadot bias-pull-down; 219f126890aSEmmanuel Vadot }; 220f126890aSEmmanuel Vadot }; 221f126890aSEmmanuel Vadot }; 222f126890aSEmmanuel Vadot}; 223f126890aSEmmanuel Vadot 224f126890aSEmmanuel Vadot&i2c5 { 225f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 226f126890aSEmmanuel Vadot pinctrl-0 = <&i2c5_pins_a>; 227f126890aSEmmanuel Vadot pinctrl-1 = <&i2c5_sleep_pins_a>; 228f126890aSEmmanuel Vadot i2c-scl-rising-time-ns = <185>; 229f126890aSEmmanuel Vadot i2c-scl-falling-time-ns = <20>; 230f126890aSEmmanuel Vadot status = "okay"; 231f126890aSEmmanuel Vadot}; 232f126890aSEmmanuel Vadot 233f126890aSEmmanuel Vadot<dc { 234f126890aSEmmanuel Vadot status = "okay"; 235f126890aSEmmanuel Vadot 236f126890aSEmmanuel Vadot port { 237f126890aSEmmanuel Vadot ltdc_ep0_out: endpoint { 238f126890aSEmmanuel Vadot remote-endpoint = <&dsi_in>; 239f126890aSEmmanuel Vadot }; 240f126890aSEmmanuel Vadot }; 241f126890aSEmmanuel Vadot}; 242f126890aSEmmanuel Vadot 243f126890aSEmmanuel Vadot&m_can1 { 244f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 245f126890aSEmmanuel Vadot pinctrl-0 = <&m_can1_pins_a>; 246f126890aSEmmanuel Vadot pinctrl-1 = <&m_can1_sleep_pins_a>; 247f126890aSEmmanuel Vadot status = "okay"; 248f126890aSEmmanuel Vadot}; 249f126890aSEmmanuel Vadot 250f126890aSEmmanuel Vadot&qspi { 251f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 252f126890aSEmmanuel Vadot pinctrl-0 = <&qspi_clk_pins_a 253f126890aSEmmanuel Vadot &qspi_bk1_pins_a 254f126890aSEmmanuel Vadot &qspi_cs1_pins_a 255f126890aSEmmanuel Vadot &qspi_bk2_pins_a 256f126890aSEmmanuel Vadot &qspi_cs2_pins_a>; 257f126890aSEmmanuel Vadot pinctrl-1 = <&qspi_clk_sleep_pins_a 258f126890aSEmmanuel Vadot &qspi_bk1_sleep_pins_a 259f126890aSEmmanuel Vadot &qspi_cs1_sleep_pins_a 260f126890aSEmmanuel Vadot &qspi_bk2_sleep_pins_a 261f126890aSEmmanuel Vadot &qspi_cs2_sleep_pins_a>; 262f126890aSEmmanuel Vadot reg = <0x58003000 0x1000>, <0x70000000 0x4000000>; 263f126890aSEmmanuel Vadot #address-cells = <1>; 264f126890aSEmmanuel Vadot #size-cells = <0>; 265f126890aSEmmanuel Vadot status = "okay"; 266f126890aSEmmanuel Vadot 267f126890aSEmmanuel Vadot flash0: flash@0 { 268f126890aSEmmanuel Vadot compatible = "jedec,spi-nor"; 269f126890aSEmmanuel Vadot reg = <0>; 270f126890aSEmmanuel Vadot spi-rx-bus-width = <4>; 271f126890aSEmmanuel Vadot spi-max-frequency = <108000000>; 272f126890aSEmmanuel Vadot #address-cells = <1>; 273f126890aSEmmanuel Vadot #size-cells = <1>; 274f126890aSEmmanuel Vadot }; 275f126890aSEmmanuel Vadot 276f126890aSEmmanuel Vadot flash1: flash@1 { 277f126890aSEmmanuel Vadot compatible = "jedec,spi-nor"; 278f126890aSEmmanuel Vadot reg = <1>; 279f126890aSEmmanuel Vadot spi-rx-bus-width = <4>; 280f126890aSEmmanuel Vadot spi-max-frequency = <108000000>; 281f126890aSEmmanuel Vadot #address-cells = <1>; 282f126890aSEmmanuel Vadot #size-cells = <1>; 283f126890aSEmmanuel Vadot }; 284f126890aSEmmanuel Vadot}; 285f126890aSEmmanuel Vadot 286f126890aSEmmanuel Vadot&sdmmc3 { 287f126890aSEmmanuel Vadot pinctrl-names = "default", "opendrain", "sleep"; 288f126890aSEmmanuel Vadot pinctrl-0 = <&sdmmc3_b4_pins_a>; 289f126890aSEmmanuel Vadot pinctrl-1 = <&sdmmc3_b4_od_pins_a>; 290f126890aSEmmanuel Vadot pinctrl-2 = <&sdmmc3_b4_sleep_pins_a>; 291f126890aSEmmanuel Vadot broken-cd; 292f126890aSEmmanuel Vadot st,neg-edge; 293f126890aSEmmanuel Vadot bus-width = <4>; 294f126890aSEmmanuel Vadot vmmc-supply = <&v3v3>; 295f126890aSEmmanuel Vadot status = "disabled"; 296f126890aSEmmanuel Vadot}; 297f126890aSEmmanuel Vadot 298f126890aSEmmanuel Vadot&spi1 { 299f126890aSEmmanuel Vadot pinctrl-names = "default"; 300f126890aSEmmanuel Vadot pinctrl-0 = <&spi1_pins_a>; 301f126890aSEmmanuel Vadot status = "disabled"; 302f126890aSEmmanuel Vadot}; 303f126890aSEmmanuel Vadot 304f126890aSEmmanuel Vadot&timers2 { 305f126890aSEmmanuel Vadot /* spare dmas for other usage (un-delete to enable pwm capture) */ 306f126890aSEmmanuel Vadot /delete-property/dmas; 307f126890aSEmmanuel Vadot /delete-property/dma-names; 308f126890aSEmmanuel Vadot status = "disabled"; 309f126890aSEmmanuel Vadot pwm { 310f126890aSEmmanuel Vadot pinctrl-0 = <&pwm2_pins_a>; 311f126890aSEmmanuel Vadot pinctrl-1 = <&pwm2_sleep_pins_a>; 312f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 313f126890aSEmmanuel Vadot status = "okay"; 314f126890aSEmmanuel Vadot }; 315f126890aSEmmanuel Vadot timer@1 { 316f126890aSEmmanuel Vadot status = "okay"; 317f126890aSEmmanuel Vadot }; 318f126890aSEmmanuel Vadot}; 319f126890aSEmmanuel Vadot 320f126890aSEmmanuel Vadot&timers8 { 321f126890aSEmmanuel Vadot /delete-property/dmas; 322f126890aSEmmanuel Vadot /delete-property/dma-names; 323f126890aSEmmanuel Vadot status = "disabled"; 324f126890aSEmmanuel Vadot pwm { 325f126890aSEmmanuel Vadot pinctrl-0 = <&pwm8_pins_a>; 326f126890aSEmmanuel Vadot pinctrl-1 = <&pwm8_sleep_pins_a>; 327f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 328f126890aSEmmanuel Vadot status = "okay"; 329f126890aSEmmanuel Vadot }; 330f126890aSEmmanuel Vadot timer@7 { 331f126890aSEmmanuel Vadot status = "okay"; 332f126890aSEmmanuel Vadot }; 333f126890aSEmmanuel Vadot}; 334f126890aSEmmanuel Vadot 335f126890aSEmmanuel Vadot&timers12 { 336f126890aSEmmanuel Vadot /delete-property/dmas; 337f126890aSEmmanuel Vadot /delete-property/dma-names; 338f126890aSEmmanuel Vadot status = "disabled"; 339f126890aSEmmanuel Vadot pwm { 340f126890aSEmmanuel Vadot pinctrl-0 = <&pwm12_pins_a>; 341f126890aSEmmanuel Vadot pinctrl-1 = <&pwm12_sleep_pins_a>; 342f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 343f126890aSEmmanuel Vadot status = "okay"; 344f126890aSEmmanuel Vadot }; 345f126890aSEmmanuel Vadot timer@11 { 346f126890aSEmmanuel Vadot status = "okay"; 347f126890aSEmmanuel Vadot }; 348f126890aSEmmanuel Vadot}; 349f126890aSEmmanuel Vadot 350f126890aSEmmanuel Vadot&usart3 { 351f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep", "idle"; 352f126890aSEmmanuel Vadot pinctrl-0 = <&usart3_pins_b>; 353f126890aSEmmanuel Vadot pinctrl-1 = <&usart3_sleep_pins_b>; 354f126890aSEmmanuel Vadot pinctrl-2 = <&usart3_idle_pins_b>; 355f126890aSEmmanuel Vadot /* 356f126890aSEmmanuel Vadot * HW flow control USART3_RTS is optional, and isn't default wired to 357f126890aSEmmanuel Vadot * the connector. SB23 needs to be soldered in order to use it, and R77 358f126890aSEmmanuel Vadot * (ETH_CLK) should be removed. 359f126890aSEmmanuel Vadot */ 360f126890aSEmmanuel Vadot uart-has-rtscts; 361f126890aSEmmanuel Vadot status = "disabled"; 362f126890aSEmmanuel Vadot}; 363f126890aSEmmanuel Vadot 364f126890aSEmmanuel Vadot&usbh_ehci { 365f126890aSEmmanuel Vadot status = "okay"; 366f126890aSEmmanuel Vadot #address-cells = <1>; 367f126890aSEmmanuel Vadot #size-cells = <0>; 368f126890aSEmmanuel Vadot /* onboard HUB */ 369f126890aSEmmanuel Vadot hub@1 { 370f126890aSEmmanuel Vadot compatible = "usb424,2514"; 371f126890aSEmmanuel Vadot reg = <1>; 372f126890aSEmmanuel Vadot vdd-supply = <&v3v3>; 373f126890aSEmmanuel Vadot }; 374f126890aSEmmanuel Vadot}; 375f126890aSEmmanuel Vadot 376f126890aSEmmanuel Vadot&usbotg_hs { 377f126890aSEmmanuel Vadot pinctrl-0 = <&usbotg_hs_pins_a>; 378f126890aSEmmanuel Vadot pinctrl-names = "default"; 379f126890aSEmmanuel Vadot phys = <&usbphyc_port1 0>; 380f126890aSEmmanuel Vadot phy-names = "usb2-phy"; 381f126890aSEmmanuel Vadot status = "okay"; 382f126890aSEmmanuel Vadot}; 383f126890aSEmmanuel Vadot 384f126890aSEmmanuel Vadot&usbphyc { 385f126890aSEmmanuel Vadot status = "okay"; 386f126890aSEmmanuel Vadot}; 387f126890aSEmmanuel Vadot 388f126890aSEmmanuel Vadot&usbphyc_port0 { 389f126890aSEmmanuel Vadot st,tune-hs-dc-level = <2>; 390f126890aSEmmanuel Vadot st,enable-fs-rftime-tuning; 391f126890aSEmmanuel Vadot st,enable-hs-rftime-reduction; 392f126890aSEmmanuel Vadot st,trim-hs-current = <15>; 393f126890aSEmmanuel Vadot st,trim-hs-impedance = <1>; 394f126890aSEmmanuel Vadot st,tune-squelch-level = <3>; 395f126890aSEmmanuel Vadot st,tune-hs-rx-offset = <2>; 396f126890aSEmmanuel Vadot st,no-lsfs-sc; 397f126890aSEmmanuel Vadot 398f126890aSEmmanuel Vadot connector { 399f126890aSEmmanuel Vadot compatible = "usb-a-connector"; 400f126890aSEmmanuel Vadot vbus-supply = <&vbus_sw>; 401f126890aSEmmanuel Vadot }; 402f126890aSEmmanuel Vadot}; 403f126890aSEmmanuel Vadot 404f126890aSEmmanuel Vadot&usbphyc_port1 { 405f126890aSEmmanuel Vadot st,tune-hs-dc-level = <2>; 406f126890aSEmmanuel Vadot st,enable-fs-rftime-tuning; 407f126890aSEmmanuel Vadot st,enable-hs-rftime-reduction; 408f126890aSEmmanuel Vadot st,trim-hs-current = <15>; 409f126890aSEmmanuel Vadot st,trim-hs-impedance = <1>; 410f126890aSEmmanuel Vadot st,tune-squelch-level = <3>; 411f126890aSEmmanuel Vadot st,tune-hs-rx-offset = <2>; 412f126890aSEmmanuel Vadot st,no-lsfs-sc; 413f126890aSEmmanuel Vadot}; 414