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