14c8375d3SPeng Fan# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 24c8375d3SPeng Fan%YAML 1.2 34c8375d3SPeng Fan--- 44c8375d3SPeng Fan$id: http://devicetree.org/schemas/usb/ci-hdrc-usb2.yaml# 54c8375d3SPeng Fan$schema: http://devicetree.org/meta-schemas/core.yaml# 64c8375d3SPeng Fan 74c8375d3SPeng Fantitle: USB2 ChipIdea USB controller 84c8375d3SPeng Fan 94c8375d3SPeng Fanmaintainers: 104c8375d3SPeng Fan - Xu Yang <xu.yang_2@nxp.com> 114c8375d3SPeng Fan - Peng Fan <peng.fan@nxp.com> 124c8375d3SPeng Fan 134c8375d3SPeng Fanproperties: 144c8375d3SPeng Fan compatible: 154c8375d3SPeng Fan oneOf: 164c8375d3SPeng Fan - enum: 174c8375d3SPeng Fan - chipidea,usb2 184c8375d3SPeng Fan - lsi,zevio-usb 194c8375d3SPeng Fan - nvidia,tegra20-ehci 204c8375d3SPeng Fan - nvidia,tegra20-udc 214c8375d3SPeng Fan - nvidia,tegra30-ehci 224c8375d3SPeng Fan - nvidia,tegra30-udc 234c8375d3SPeng Fan - nvidia,tegra114-udc 244c8375d3SPeng Fan - nvidia,tegra124-udc 254c8375d3SPeng Fan - qcom,ci-hdrc 264c8375d3SPeng Fan - items: 274c8375d3SPeng Fan - enum: 284c8375d3SPeng Fan - nvidia,tegra114-ehci 294c8375d3SPeng Fan - nvidia,tegra124-ehci 304c8375d3SPeng Fan - nvidia,tegra210-ehci 314c8375d3SPeng Fan - const: nvidia,tegra30-ehci 324c8375d3SPeng Fan - items: 334c8375d3SPeng Fan - enum: 344c8375d3SPeng Fan - fsl,imx23-usb 354c8375d3SPeng Fan - fsl,imx25-usb 364c8375d3SPeng Fan - fsl,imx28-usb 374c8375d3SPeng Fan - fsl,imx50-usb 384c8375d3SPeng Fan - fsl,imx51-usb 394c8375d3SPeng Fan - fsl,imx53-usb 404c8375d3SPeng Fan - fsl,imx6q-usb 414c8375d3SPeng Fan - fsl,imx6sl-usb 424c8375d3SPeng Fan - fsl,imx6sx-usb 434c8375d3SPeng Fan - fsl,imx6ul-usb 444c8375d3SPeng Fan - fsl,imx7d-usb 454c8375d3SPeng Fan - fsl,vf610-usb 464c8375d3SPeng Fan - const: fsl,imx27-usb 474c8375d3SPeng Fan - items: 4852ff079dSXu Yang - enum: 4952ff079dSXu Yang - fsl,imx8dxl-usb 5052ff079dSXu Yang - fsl,imx8ulp-usb 514c8375d3SPeng Fan - const: fsl,imx7ulp-usb 524c8375d3SPeng Fan - const: fsl,imx6ul-usb 534c8375d3SPeng Fan - items: 544c8375d3SPeng Fan - enum: 554c8375d3SPeng Fan - fsl,imx8mm-usb 564c8375d3SPeng Fan - fsl,imx8mn-usb 574c8375d3SPeng Fan - const: fsl,imx7d-usb 584c8375d3SPeng Fan - const: fsl,imx27-usb 594c8375d3SPeng Fan - items: 604c8375d3SPeng Fan - enum: 614c8375d3SPeng Fan - fsl,imx6sll-usb 624c8375d3SPeng Fan - fsl,imx7ulp-usb 634c8375d3SPeng Fan - const: fsl,imx6ul-usb 644c8375d3SPeng Fan - const: fsl,imx27-usb 654c8375d3SPeng Fan - items: 664c8375d3SPeng Fan - const: xlnx,zynq-usb-2.20a 674c8375d3SPeng Fan - const: chipidea,usb2 684c8375d3SPeng Fan 694c8375d3SPeng Fan reg: 704c8375d3SPeng Fan minItems: 1 714c8375d3SPeng Fan maxItems: 2 724c8375d3SPeng Fan 734c8375d3SPeng Fan interrupts: 744c8375d3SPeng Fan minItems: 1 754c8375d3SPeng Fan maxItems: 2 764c8375d3SPeng Fan 774c8375d3SPeng Fan clocks: 784c8375d3SPeng Fan minItems: 1 794c8375d3SPeng Fan maxItems: 2 804c8375d3SPeng Fan 814c8375d3SPeng Fan clock-names: 824c8375d3SPeng Fan minItems: 1 834c8375d3SPeng Fan maxItems: 2 844c8375d3SPeng Fan 854c8375d3SPeng Fan dr_mode: true 864c8375d3SPeng Fan 874c8375d3SPeng Fan power-domains: 884c8375d3SPeng Fan maxItems: 1 894c8375d3SPeng Fan 904c8375d3SPeng Fan resets: 914c8375d3SPeng Fan maxItems: 1 924c8375d3SPeng Fan 934c8375d3SPeng Fan reset-names: 944c8375d3SPeng Fan maxItems: 1 954c8375d3SPeng Fan 964c8375d3SPeng Fan "#reset-cells": 974c8375d3SPeng Fan const: 1 984c8375d3SPeng Fan 994c8375d3SPeng Fan phy_type: true 1004c8375d3SPeng Fan 1014c8375d3SPeng Fan itc-setting: 1024c8375d3SPeng Fan description: 1034c8375d3SPeng Fan interrupt threshold control register control, the setting should be 1044c8375d3SPeng Fan aligned with ITC bits at register USBCMD. 1054c8375d3SPeng Fan $ref: /schemas/types.yaml#/definitions/uint32 1064c8375d3SPeng Fan 1074c8375d3SPeng Fan ahb-burst-config: 1084c8375d3SPeng Fan description: 1094c8375d3SPeng Fan it is vendor dependent, the required value should be aligned with 1104c8375d3SPeng Fan AHBBRST at SBUSCFG, the range is from 0x0 to 0x7. This property is 1114c8375d3SPeng Fan used to change AHB burst configuration, check the chipidea spec for 1124c8375d3SPeng Fan meaning of each value. If this property is not existed, it will use 1134c8375d3SPeng Fan the reset value. 1144c8375d3SPeng Fan $ref: /schemas/types.yaml#/definitions/uint32 1154c8375d3SPeng Fan minimum: 0x0 1164c8375d3SPeng Fan maximum: 0x7 1174c8375d3SPeng Fan 1184c8375d3SPeng Fan tx-burst-size-dword: 1194c8375d3SPeng Fan description: 1204c8375d3SPeng Fan it is vendor dependent, the tx burst size in dword (4 bytes), This 1214c8375d3SPeng Fan register represents the maximum length of a the burst in 32-bit 1224c8375d3SPeng Fan words while moving data from system memory to the USB bus, the value 1234c8375d3SPeng Fan of this property will only take effect if property "ahb-burst-config" 1244c8375d3SPeng Fan is set to 0, if this property is missing the reset default of the 1254c8375d3SPeng Fan hardware implementation will be used. 1264c8375d3SPeng Fan $ref: /schemas/types.yaml#/definitions/uint32 1274c8375d3SPeng Fan minimum: 0x0 1284c8375d3SPeng Fan maximum: 0x20 1294c8375d3SPeng Fan 1304c8375d3SPeng Fan rx-burst-size-dword: 1314c8375d3SPeng Fan description: 1324c8375d3SPeng Fan it is vendor dependent, the rx burst size in dword (4 bytes), This 1334c8375d3SPeng Fan register represents the maximum length of a the burst in 32-bit words 1344c8375d3SPeng Fan while moving data from the USB bus to system memory, the value of 1354c8375d3SPeng Fan this property will only take effect if property "ahb-burst-config" 1364c8375d3SPeng Fan is set to 0, if this property is missing the reset default of the 1374c8375d3SPeng Fan hardware implementation will be used. 1384c8375d3SPeng Fan $ref: /schemas/types.yaml#/definitions/uint32 1394c8375d3SPeng Fan minimum: 0x0 1404c8375d3SPeng Fan maximum: 0x20 1414c8375d3SPeng Fan 1424c8375d3SPeng Fan extcon: 1434c8375d3SPeng Fan description: 1444c8375d3SPeng Fan Phandles to external connector devices. First phandle should point 1454c8375d3SPeng Fan to external connector, which provide "USB" cable events, the second 1464c8375d3SPeng Fan should point to external connector device, which provide "USB-HOST" 1474c8375d3SPeng Fan cable events. If one of the external connector devices is not 1484c8375d3SPeng Fan required, empty <0> phandle should be specified. 1494c8375d3SPeng Fan $ref: /schemas/types.yaml#/definitions/phandle-array 1504c8375d3SPeng Fan minItems: 1 1514c8375d3SPeng Fan items: 1524c8375d3SPeng Fan - description: vbus extcon 1534c8375d3SPeng Fan - description: id extcon 1544c8375d3SPeng Fan 1554c8375d3SPeng Fan phy-clkgate-delay-us: 1564c8375d3SPeng Fan description: 1574c8375d3SPeng Fan The delay time (us) between putting the PHY into low power mode and 1584c8375d3SPeng Fan gating the PHY clock. 1594c8375d3SPeng Fan 1604c8375d3SPeng Fan non-zero-ttctrl-ttha: 1614c8375d3SPeng Fan description: 1624c8375d3SPeng Fan After setting this property, the value of register ttctrl.ttha 1634c8375d3SPeng Fan will be 0x7f; if not, the value will be 0x0, this is the default 1644c8375d3SPeng Fan value. It needs to be very carefully for setting this property, it 1654c8375d3SPeng Fan is recommended that consult with your IC engineer before setting 1664c8375d3SPeng Fan this value. On the most of chipidea platforms, the "usage_tt" flag 1674c8375d3SPeng Fan at RTL is 0, so this property only affects siTD. 1684c8375d3SPeng Fan 1694c8375d3SPeng Fan If this property is not set, the max packet size is 1023 bytes, and 170*47aab533SBjorn Helgaas if the total of packet size for previous transactions are more than 1714c8375d3SPeng Fan 256 bytes, it can't accept any transactions within this frame. The 1724c8375d3SPeng Fan use case is single transaction, but higher frame rate. 1734c8375d3SPeng Fan 1744c8375d3SPeng Fan If this property is set, the max packet size is 188 bytes, it can 1754c8375d3SPeng Fan handle more transactions than above case, it can accept transactions 1764c8375d3SPeng Fan until it considers the left room size within frame is less than 188 1774c8375d3SPeng Fan bytes, software needs to make sure it does not send more than 90% 1784c8375d3SPeng Fan maximum_periodic_data_per_frame. The use case is multiple 1794c8375d3SPeng Fan transactions, but less frame rate. 1804c8375d3SPeng Fan type: boolean 1814c8375d3SPeng Fan 1824c8375d3SPeng Fan mux-controls: 1834c8375d3SPeng Fan description: 1844c8375d3SPeng Fan The mux control for toggling host/device output of this controller. 1854c8375d3SPeng Fan It's expected that a mux state of 0 indicates device mode and a mux 1864c8375d3SPeng Fan state of 1 indicates host mode. 1874c8375d3SPeng Fan maxItems: 1 1884c8375d3SPeng Fan 1894c8375d3SPeng Fan mux-control-names: 1904c8375d3SPeng Fan const: usb_switch 1914c8375d3SPeng Fan 1924c8375d3SPeng Fan operating-points-v2: 1934c8375d3SPeng Fan description: A phandle to the OPP table containing the performance states. 1944c8375d3SPeng Fan $ref: /schemas/types.yaml#/definitions/phandle 1954c8375d3SPeng Fan 1964c8375d3SPeng Fan pinctrl-names: 1974c8375d3SPeng Fan description: 1984c8375d3SPeng Fan Names for optional pin modes in "default", "host", "device". 1994c8375d3SPeng Fan In case of HSIC-mode, "idle" and "active" pin modes are mandatory. 2004c8375d3SPeng Fan In this case, the "idle" state needs to pull down the data and 2014c8375d3SPeng Fan strobe pin and the "active" state needs to pull up the strobe pin. 2024c8375d3SPeng Fan oneOf: 2034c8375d3SPeng Fan - items: 2044c8375d3SPeng Fan - const: idle 2054c8375d3SPeng Fan - const: active 2064c8375d3SPeng Fan - items: 2074c8375d3SPeng Fan - const: default 2084c8375d3SPeng Fan - enum: 2094c8375d3SPeng Fan - host 2104c8375d3SPeng Fan - device 2114c8375d3SPeng Fan - items: 2124c8375d3SPeng Fan - const: default 2134c8375d3SPeng Fan 2144c8375d3SPeng Fan pinctrl-0: 2154c8375d3SPeng Fan maxItems: 1 2164c8375d3SPeng Fan 2174c8375d3SPeng Fan pinctrl-1: 2184c8375d3SPeng Fan maxItems: 1 2194c8375d3SPeng Fan 2204c8375d3SPeng Fan phys: 2214c8375d3SPeng Fan maxItems: 1 2224c8375d3SPeng Fan 2234c8375d3SPeng Fan phy-names: 2244c8375d3SPeng Fan const: usb-phy 2254c8375d3SPeng Fan 2264c8375d3SPeng Fan phy-select: 2274c8375d3SPeng Fan description: 2284c8375d3SPeng Fan Phandler of TCSR node with two argument that indicate register 2294c8375d3SPeng Fan offset, and phy index 2304c8375d3SPeng Fan $ref: /schemas/types.yaml#/definitions/phandle-array 2314c8375d3SPeng Fan items: 2324c8375d3SPeng Fan - description: phandle to TCSR node 2334c8375d3SPeng Fan - description: register offset 2344c8375d3SPeng Fan - description: phy index 2354c8375d3SPeng Fan 2364c8375d3SPeng Fan vbus-supply: 2374c8375d3SPeng Fan description: reference to the VBUS regulator. 2384c8375d3SPeng Fan 2394c8375d3SPeng Fan fsl,usbmisc: 2404c8375d3SPeng Fan description: 2414c8375d3SPeng Fan Phandler of non-core register device, with one argument that 2424c8375d3SPeng Fan indicate usb controller index 2434c8375d3SPeng Fan $ref: /schemas/types.yaml#/definitions/phandle-array 2444c8375d3SPeng Fan items: 2454c8375d3SPeng Fan - items: 2464c8375d3SPeng Fan - description: phandle to usbmisc node 2474c8375d3SPeng Fan - description: index of usb controller 2484c8375d3SPeng Fan 2494c8375d3SPeng Fan fsl,anatop: 2504c8375d3SPeng Fan description: phandle for the anatop node. 2514c8375d3SPeng Fan $ref: /schemas/types.yaml#/definitions/phandle 2524c8375d3SPeng Fan 2534c8375d3SPeng Fan disable-over-current: 2544c8375d3SPeng Fan type: boolean 2554c8375d3SPeng Fan description: disable over current detect 2564c8375d3SPeng Fan 2574c8375d3SPeng Fan over-current-active-low: 2584c8375d3SPeng Fan type: boolean 2594c8375d3SPeng Fan description: over current signal polarity is active low 2604c8375d3SPeng Fan 2614c8375d3SPeng Fan over-current-active-high: 2624c8375d3SPeng Fan type: boolean 2634c8375d3SPeng Fan description: 2644c8375d3SPeng Fan Over current signal polarity is active high. It's recommended to 2654c8375d3SPeng Fan specify the over current polarity. 2664c8375d3SPeng Fan 2674c8375d3SPeng Fan power-active-high: 2684c8375d3SPeng Fan type: boolean 2694c8375d3SPeng Fan description: power signal polarity is active high 2704c8375d3SPeng Fan 2714c8375d3SPeng Fan external-vbus-divider: 2724c8375d3SPeng Fan type: boolean 2734c8375d3SPeng Fan description: enables off-chip resistor divider for Vbus 2744c8375d3SPeng Fan 2754c8375d3SPeng Fan samsung,picophy-pre-emp-curr-control: 2764c8375d3SPeng Fan description: 2774c8375d3SPeng Fan HS Transmitter Pre-Emphasis Current Control. This signal controls 2784c8375d3SPeng Fan the amount of current sourced to the USB_OTG*_DP and USB_OTG*_DN 2794c8375d3SPeng Fan pins after a J-to-K or K-to-J transition. The range is from 0x0 to 2804c8375d3SPeng Fan 0x3, the default value is 0x1. Details can refer to TXPREEMPAMPTUNE0 2814c8375d3SPeng Fan bits of USBNC_n_PHY_CFG1. 2824c8375d3SPeng Fan $ref: /schemas/types.yaml#/definitions/uint32 2834c8375d3SPeng Fan minimum: 0x0 2844c8375d3SPeng Fan maximum: 0x3 2854c8375d3SPeng Fan 2864c8375d3SPeng Fan samsung,picophy-dc-vol-level-adjust: 2874c8375d3SPeng Fan description: 2884c8375d3SPeng Fan HS DC Voltage Level Adjustment. Adjust the high-speed transmitter DC 2894c8375d3SPeng Fan level voltage. The range is from 0x0 to 0xf, the default value is 2904c8375d3SPeng Fan 0x3. Details can refer to TXVREFTUNE0 bits of USBNC_n_PHY_CFG1. 2914c8375d3SPeng Fan $ref: /schemas/types.yaml#/definitions/uint32 2924c8375d3SPeng Fan minimum: 0x0 2934c8375d3SPeng Fan maximum: 0xf 2944c8375d3SPeng Fan 2954c8375d3SPeng Fan usb-phy: 2964c8375d3SPeng Fan description: phandle for the PHY device. Use "phys" instead. 2974c8375d3SPeng Fan $ref: /schemas/types.yaml#/definitions/phandle 2984c8375d3SPeng Fan deprecated: true 2994c8375d3SPeng Fan 3004c8375d3SPeng Fan fsl,usbphy: 3014c8375d3SPeng Fan description: phandle of usb phy that connects to the port. Use "phys" instead. 3024c8375d3SPeng Fan $ref: /schemas/types.yaml#/definitions/phandle 3034c8375d3SPeng Fan deprecated: true 3044c8375d3SPeng Fan 3054c8375d3SPeng Fan nvidia,phy: 3064c8375d3SPeng Fan description: phandle of usb phy that connects to the port. Use "phys" instead. 3074c8375d3SPeng Fan $ref: /schemas/types.yaml#/definitions/phandle 3084c8375d3SPeng Fan deprecated: true 3094c8375d3SPeng Fan 3104c8375d3SPeng Fan nvidia,needs-double-reset: 3114c8375d3SPeng Fan description: Indicates double reset or not. 3124c8375d3SPeng Fan type: boolean 3134c8375d3SPeng Fan deprecated: true 3144c8375d3SPeng Fan 3154c8375d3SPeng Fan port: 3164c8375d3SPeng Fan description: 3174c8375d3SPeng Fan Any connector to the data bus of this controller should be modelled 3184c8375d3SPeng Fan using the OF graph bindings specified, if the "usb-role-switch" 3194c8375d3SPeng Fan property is used. 3204c8375d3SPeng Fan $ref: /schemas/graph.yaml#/properties/port 3214c8375d3SPeng Fan 3224c8375d3SPeng Fan reset-gpios: 3234c8375d3SPeng Fan maxItems: 1 3244c8375d3SPeng Fan 3254c8375d3SPeng Fan ulpi: 3264c8375d3SPeng Fan type: object 327a804a476SKrzysztof Kozlowski additionalProperties: false 328a804a476SKrzysztof Kozlowski patternProperties: 329a804a476SKrzysztof Kozlowski "^phy(-[0-9])?$": 3304c8375d3SPeng Fan description: The phy child node for Qcom chips. 3314c8375d3SPeng Fan type: object 3324c8375d3SPeng Fan $ref: /schemas/phy/qcom,usb-hs-phy.yaml 3334c8375d3SPeng Fan 3344c8375d3SPeng Fandependencies: 3354c8375d3SPeng Fan port: [ usb-role-switch ] 3364c8375d3SPeng Fan mux-controls: [ mux-control-names ] 3374c8375d3SPeng Fan 3384c8375d3SPeng Fanrequired: 3394c8375d3SPeng Fan - compatible 3404c8375d3SPeng Fan - reg 3414c8375d3SPeng Fan - interrupts 3424c8375d3SPeng Fan 3434c8375d3SPeng FanallOf: 3444c8375d3SPeng Fan - $ref: usb-hcd.yaml# 3454c8375d3SPeng Fan - $ref: usb-drd.yaml# 3464c8375d3SPeng Fan - if: 3474c8375d3SPeng Fan properties: 3484c8375d3SPeng Fan phy_type: 3494c8375d3SPeng Fan const: hsic 3504c8375d3SPeng Fan required: 3514c8375d3SPeng Fan - phy_type 3524c8375d3SPeng Fan then: 3534c8375d3SPeng Fan properties: 3544c8375d3SPeng Fan pinctrl-names: 3554c8375d3SPeng Fan items: 3564c8375d3SPeng Fan - const: idle 3574c8375d3SPeng Fan - const: active 3584c8375d3SPeng Fan else: 3594c8375d3SPeng Fan properties: 3604c8375d3SPeng Fan pinctrl-names: 3614c8375d3SPeng Fan minItems: 1 3624c8375d3SPeng Fan maxItems: 2 3634c8375d3SPeng Fan oneOf: 3644c8375d3SPeng Fan - items: 3654c8375d3SPeng Fan - const: default 3664c8375d3SPeng Fan - enum: 3674c8375d3SPeng Fan - host 3684c8375d3SPeng Fan - device 3694c8375d3SPeng Fan - items: 3704c8375d3SPeng Fan - const: default 3714c8375d3SPeng Fan - if: 3724c8375d3SPeng Fan properties: 3734c8375d3SPeng Fan compatible: 3744c8375d3SPeng Fan contains: 3754c8375d3SPeng Fan enum: 3764c8375d3SPeng Fan - chipidea,usb2 3774c8375d3SPeng Fan - lsi,zevio-usb 3784c8375d3SPeng Fan - nvidia,tegra20-udc 3794c8375d3SPeng Fan - nvidia,tegra30-udc 3804c8375d3SPeng Fan - nvidia,tegra114-udc 3814c8375d3SPeng Fan - nvidia,tegra124-udc 3824c8375d3SPeng Fan - qcom,ci-hdrc 3834c8375d3SPeng Fan - xlnx,zynq-usb-2.20a 3844c8375d3SPeng Fan then: 3854c8375d3SPeng Fan properties: 3864c8375d3SPeng Fan fsl,usbmisc: false 3874c8375d3SPeng Fan disable-over-current: false 3884c8375d3SPeng Fan over-current-active-low: false 3894c8375d3SPeng Fan over-current-active-high: false 3904c8375d3SPeng Fan power-active-high: false 3914c8375d3SPeng Fan external-vbus-divider: false 3924c8375d3SPeng Fan samsung,picophy-pre-emp-curr-control: false 3934c8375d3SPeng Fan samsung,picophy-dc-vol-level-adjust: false 3944c8375d3SPeng Fan 3954c8375d3SPeng FanunevaluatedProperties: false 3964c8375d3SPeng Fan 3974c8375d3SPeng Fanexamples: 3984c8375d3SPeng Fan - | 3994c8375d3SPeng Fan #include <dt-bindings/interrupt-controller/arm-gic.h> 4004c8375d3SPeng Fan #include <dt-bindings/clock/berlin2.h> 4014c8375d3SPeng Fan 4024c8375d3SPeng Fan usb@f7ed0000 { 4034c8375d3SPeng Fan compatible = "chipidea,usb2"; 4044c8375d3SPeng Fan reg = <0xf7ed0000 0x10000>; 4054c8375d3SPeng Fan interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 4064c8375d3SPeng Fan clocks = <&chip CLKID_USB0>; 4074c8375d3SPeng Fan phys = <&usb_phy0>; 4084c8375d3SPeng Fan phy-names = "usb-phy"; 4094c8375d3SPeng Fan vbus-supply = <®_usb0_vbus>; 4104c8375d3SPeng Fan itc-setting = <0x4>; /* 4 micro-frames */ 4114c8375d3SPeng Fan /* Incremental burst of unspecified length */ 4124c8375d3SPeng Fan ahb-burst-config = <0x0>; 4134c8375d3SPeng Fan tx-burst-size-dword = <0x10>; /* 64 bytes */ 4144c8375d3SPeng Fan rx-burst-size-dword = <0x10>; 4154c8375d3SPeng Fan extcon = <0>, <&usb_id>; 4164c8375d3SPeng Fan phy-clkgate-delay-us = <400>; 4174c8375d3SPeng Fan mux-controls = <&usb_switch>; 4184c8375d3SPeng Fan mux-control-names = "usb_switch"; 4194c8375d3SPeng Fan }; 4204c8375d3SPeng Fan 4214c8375d3SPeng Fan # Example for HSIC: 4224c8375d3SPeng Fan - | 4234c8375d3SPeng Fan #include <dt-bindings/interrupt-controller/arm-gic.h> 4244c8375d3SPeng Fan #include <dt-bindings/clock/imx6qdl-clock.h> 4254c8375d3SPeng Fan 4264c8375d3SPeng Fan usb@2184400 { 4274c8375d3SPeng Fan compatible = "fsl,imx6q-usb", "fsl,imx27-usb"; 4284c8375d3SPeng Fan reg = <0x02184400 0x200>; 4294c8375d3SPeng Fan interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>; 4304c8375d3SPeng Fan clocks = <&clks IMX6QDL_CLK_USBOH3>; 4314c8375d3SPeng Fan fsl,usbphy = <&usbphynop1>; 4324c8375d3SPeng Fan fsl,usbmisc = <&usbmisc 2>; 4334c8375d3SPeng Fan phy_type = "hsic"; 4344c8375d3SPeng Fan dr_mode = "host"; 4354c8375d3SPeng Fan ahb-burst-config = <0x0>; 4364c8375d3SPeng Fan tx-burst-size-dword = <0x10>; 4374c8375d3SPeng Fan rx-burst-size-dword = <0x10>; 4384c8375d3SPeng Fan pinctrl-names = "idle", "active"; 4394c8375d3SPeng Fan pinctrl-0 = <&pinctrl_usbh2_idle>; 4404c8375d3SPeng Fan pinctrl-1 = <&pinctrl_usbh2_active>; 4414c8375d3SPeng Fan #address-cells = <1>; 4424c8375d3SPeng Fan #size-cells = <0>; 4434c8375d3SPeng Fan 4444c8375d3SPeng Fan ethernet@1 { 4454c8375d3SPeng Fan compatible = "usb424,9730"; 4464c8375d3SPeng Fan reg = <1>; 4474c8375d3SPeng Fan }; 4484c8375d3SPeng Fan }; 4494c8375d3SPeng Fan 4504c8375d3SPeng Fan... 451