117 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/usb/ci-hdrc-usb2.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: USB2 ChipIdea USB controller8 9maintainers:10 - Xu Yang <xu.yang_2@nxp.com>11 - Peng Fan <peng.fan@nxp.com>12 13properties:14 compatible:15 oneOf:16 - enum:17 - chipidea,usb218 - lsi,zevio-usb19 - nuvoton,npcm750-udc20 - nvidia,tegra20-ehci21 - nvidia,tegra20-udc22 - nvidia,tegra30-ehci23 - nvidia,tegra30-udc24 - nvidia,tegra114-udc25 - nvidia,tegra124-udc26 - qcom,ci-hdrc27 - items:28 - enum:29 - nvidia,tegra114-ehci30 - nvidia,tegra124-ehci31 - nvidia,tegra210-ehci32 - const: nvidia,tegra30-ehci33 - items:34 - const: xlnx,zynq-usb-2.20a35 - const: chipidea,usb236 - items:37 - enum:38 - nuvoton,npcm845-udc39 - const: nuvoton,npcm750-udc40 41 clocks:42 minItems: 143 maxItems: 244 45 clock-names:46 minItems: 147 maxItems: 248 49 operating-points-v2:50 description: A phandle to the OPP table containing the performance states.51 $ref: /schemas/types.yaml#/definitions/phandle52 53 phy-select:54 description:55 Phandler of TCSR node with two argument that indicate register56 offset, and phy index57 $ref: /schemas/types.yaml#/definitions/phandle-array58 items:59 - description: phandle to TCSR node60 - description: register offset61 - description: phy index62 63 nvidia,phy:64 description: phandle of usb phy that connects to the port. Use "phys" instead.65 $ref: /schemas/types.yaml#/definitions/phandle66 deprecated: true67 68 nvidia,needs-double-reset:69 description: Indicates double reset or not.70 type: boolean71 deprecated: true72 73 ulpi:74 type: object75 additionalProperties: false76 patternProperties:77 "^phy(-[0-9])?$":78 description: The phy child node for Qcom chips.79 type: object80 $ref: /schemas/phy/qcom,usb-hs-phy.yaml81 82required:83 - compatible84 85allOf:86 - $ref: chipidea,usb2-common.yaml#87 - $ref: usb-hcd.yaml#88 - $ref: usb-drd.yaml#89 90unevaluatedProperties: false91 92examples:93 - |94 #include <dt-bindings/interrupt-controller/arm-gic.h>95 #include <dt-bindings/clock/berlin2.h>96 97 usb@f7ed0000 {98 compatible = "chipidea,usb2";99 reg = <0xf7ed0000 0x10000>;100 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;101 clocks = <&chip CLKID_USB0>;102 phys = <&usb_phy0>;103 phy-names = "usb-phy";104 vbus-supply = <®_usb0_vbus>;105 itc-setting = <0x4>; /* 4 micro-frames */106 /* Incremental burst of unspecified length */107 ahb-burst-config = <0x0>;108 tx-burst-size-dword = <0x10>; /* 64 bytes */109 rx-burst-size-dword = <0x10>;110 extcon = <0>, <&usb_id>;111 phy-clkgate-delay-us = <400>;112 mux-controls = <&usb_switch>;113 mux-control-names = "usb_switch";114 };115 116...117