1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/usb/ci-hdrc 4 $id: http://devicetree.org/schemas/usb/ci-hdrc-usb2.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: USB2 ChipIdea USB controller 7 title: USB2 ChipIdea USB controller 8 8 9 maintainers: 9 maintainers: 10 - Xu Yang <xu.yang_2@nxp.com> 10 - Xu Yang <xu.yang_2@nxp.com> 11 - Peng Fan <peng.fan@nxp.com> 11 - Peng Fan <peng.fan@nxp.com> 12 12 13 properties: 13 properties: 14 compatible: 14 compatible: 15 oneOf: 15 oneOf: 16 - enum: 16 - enum: 17 - chipidea,usb2 17 - chipidea,usb2 18 - lsi,zevio-usb 18 - lsi,zevio-usb 19 - nuvoton,npcm750-udc 19 - nuvoton,npcm750-udc 20 - nvidia,tegra20-ehci 20 - nvidia,tegra20-ehci 21 - nvidia,tegra20-udc 21 - nvidia,tegra20-udc 22 - nvidia,tegra30-ehci 22 - nvidia,tegra30-ehci 23 - nvidia,tegra30-udc 23 - nvidia,tegra30-udc 24 - nvidia,tegra114-udc 24 - nvidia,tegra114-udc 25 - nvidia,tegra124-udc 25 - nvidia,tegra124-udc 26 - qcom,ci-hdrc 26 - qcom,ci-hdrc 27 - items: 27 - items: 28 - enum: 28 - enum: 29 - nvidia,tegra114-ehci 29 - nvidia,tegra114-ehci 30 - nvidia,tegra124-ehci 30 - nvidia,tegra124-ehci 31 - nvidia,tegra210-ehci 31 - nvidia,tegra210-ehci 32 - const: nvidia,tegra30-ehci 32 - const: nvidia,tegra30-ehci 33 - items: 33 - items: 34 - const: xlnx,zynq-usb-2.20a 34 - const: xlnx,zynq-usb-2.20a 35 - const: chipidea,usb2 35 - const: chipidea,usb2 36 - items: 36 - items: 37 - enum: 37 - enum: 38 - nuvoton,npcm845-udc 38 - nuvoton,npcm845-udc 39 - const: nuvoton,npcm750-udc 39 - const: nuvoton,npcm750-udc 40 40 41 clocks: 41 clocks: 42 minItems: 1 42 minItems: 1 43 maxItems: 2 43 maxItems: 2 44 44 45 clock-names: 45 clock-names: 46 minItems: 1 46 minItems: 1 47 maxItems: 2 47 maxItems: 2 48 48 49 operating-points-v2: 49 operating-points-v2: 50 description: A phandle to the OPP table co 50 description: A phandle to the OPP table containing the performance states. 51 $ref: /schemas/types.yaml#/definitions/pha 51 $ref: /schemas/types.yaml#/definitions/phandle 52 52 53 phy-select: 53 phy-select: 54 description: 54 description: 55 Phandler of TCSR node with two argument 55 Phandler of TCSR node with two argument that indicate register 56 offset, and phy index 56 offset, and phy index 57 $ref: /schemas/types.yaml#/definitions/pha 57 $ref: /schemas/types.yaml#/definitions/phandle-array 58 items: 58 items: 59 - description: phandle to TCSR node 59 - description: phandle to TCSR node 60 - description: register offset 60 - description: register offset 61 - description: phy index 61 - description: phy index 62 62 63 nvidia,phy: 63 nvidia,phy: 64 description: phandle of usb phy that conne 64 description: phandle of usb phy that connects to the port. Use "phys" instead. 65 $ref: /schemas/types.yaml#/definitions/pha 65 $ref: /schemas/types.yaml#/definitions/phandle 66 deprecated: true 66 deprecated: true 67 67 68 nvidia,needs-double-reset: 68 nvidia,needs-double-reset: 69 description: Indicates double reset or not 69 description: Indicates double reset or not. 70 type: boolean 70 type: boolean 71 deprecated: true 71 deprecated: true 72 72 73 ulpi: 73 ulpi: 74 type: object 74 type: object 75 additionalProperties: false 75 additionalProperties: false 76 patternProperties: 76 patternProperties: 77 "^phy(-[0-9])?$": 77 "^phy(-[0-9])?$": 78 description: The phy child node for Qc 78 description: The phy child node for Qcom chips. 79 type: object 79 type: object 80 $ref: /schemas/phy/qcom,usb-hs-phy.yam 80 $ref: /schemas/phy/qcom,usb-hs-phy.yaml 81 81 82 required: 82 required: 83 - compatible 83 - compatible 84 84 85 allOf: 85 allOf: 86 - $ref: chipidea,usb2-common.yaml# 86 - $ref: chipidea,usb2-common.yaml# 87 - $ref: usb-hcd.yaml# 87 - $ref: usb-hcd.yaml# 88 - $ref: usb-drd.yaml# 88 - $ref: usb-drd.yaml# 89 89 90 unevaluatedProperties: false 90 unevaluatedProperties: false 91 91 92 examples: 92 examples: 93 - | 93 - | 94 #include <dt-bindings/interrupt-controller 94 #include <dt-bindings/interrupt-controller/arm-gic.h> 95 #include <dt-bindings/clock/berlin2.h> 95 #include <dt-bindings/clock/berlin2.h> 96 96 97 usb@f7ed0000 { 97 usb@f7ed0000 { 98 compatible = "chipidea,usb2"; 98 compatible = "chipidea,usb2"; 99 reg = <0xf7ed0000 0x10000>; 99 reg = <0xf7ed0000 0x10000>; 100 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVE 100 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 101 clocks = <&chip CLKID_USB0>; 101 clocks = <&chip CLKID_USB0>; 102 phys = <&usb_phy0>; 102 phys = <&usb_phy0>; 103 phy-names = "usb-phy"; 103 phy-names = "usb-phy"; 104 vbus-supply = <®_usb0_vbus>; 104 vbus-supply = <®_usb0_vbus>; 105 itc-setting = <0x4>; /* 4 micro-frames 105 itc-setting = <0x4>; /* 4 micro-frames */ 106 /* Incremental burst of unspecified l 106 /* Incremental burst of unspecified length */ 107 ahb-burst-config = <0x0>; 107 ahb-burst-config = <0x0>; 108 tx-burst-size-dword = <0x10>; /* 64 by 108 tx-burst-size-dword = <0x10>; /* 64 bytes */ 109 rx-burst-size-dword = <0x10>; 109 rx-burst-size-dword = <0x10>; 110 extcon = <0>, <&usb_id>; 110 extcon = <0>, <&usb_id>; 111 phy-clkgate-delay-us = <400>; 111 phy-clkgate-delay-us = <400>; 112 mux-controls = <&usb_switch>; 112 mux-controls = <&usb_switch>; 113 mux-control-names = "usb_switch"; 113 mux-control-names = "usb_switch"; 114 }; 114 }; 115 115 116 ... 116 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.