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