0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/usb/generic-ohci.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: USB OHCI Controller Device Tree Bindings
0008
0009 allOf:
0010 - $ref: "usb-hcd.yaml"
0011
0012 maintainers:
0013 - Greg Kroah-Hartman <gregkh@linuxfoundation.org>
0014
0015 properties:
0016 compatible:
0017 oneOf:
0018 - items:
0019 - enum:
0020 - allwinner,sun4i-a10-ohci
0021 - allwinner,sun50i-a64-ohci
0022 - allwinner,sun50i-h6-ohci
0023 - allwinner,sun5i-a13-ohci
0024 - allwinner,sun6i-a31-ohci
0025 - allwinner,sun7i-a20-ohci
0026 - allwinner,sun8i-a23-ohci
0027 - allwinner,sun8i-a83t-ohci
0028 - allwinner,sun8i-h3-ohci
0029 - allwinner,sun8i-r40-ohci
0030 - allwinner,sun9i-a80-ohci
0031 - allwinner,sun20i-d1-ohci
0032 - brcm,bcm3384-ohci
0033 - brcm,bcm63268-ohci
0034 - brcm,bcm6328-ohci
0035 - brcm,bcm6358-ohci
0036 - brcm,bcm6362-ohci
0037 - brcm,bcm6368-ohci
0038 - brcm,bcm7125-ohci
0039 - brcm,bcm7346-ohci
0040 - brcm,bcm7358-ohci
0041 - brcm,bcm7360-ohci
0042 - brcm,bcm7362-ohci
0043 - brcm,bcm7420-ohci
0044 - brcm,bcm7425-ohci
0045 - brcm,bcm7435-ohci
0046 - hpe,gxp-ohci
0047 - ibm,476gtr-ohci
0048 - ingenic,jz4740-ohci
0049 - snps,hsdk-v1.0-ohci
0050 - const: generic-ohci
0051 - const: generic-ohci
0052
0053 reg:
0054 maxItems: 1
0055
0056 interrupts:
0057 maxItems: 1
0058
0059 resets:
0060 minItems: 1
0061 maxItems: 2
0062
0063 clocks:
0064 minItems: 1
0065 maxItems: 3
0066 description: |
0067 In case the Renesas R-Car Gen3 SoCs:
0068 - if a host only channel: first clock should be host.
0069 - if a USB DRD channel: first clock should be host and second
0070 one should be peripheral
0071
0072 power-domains:
0073 maxItems: 1
0074
0075 big-endian:
0076 $ref: /schemas/types.yaml#/definitions/flag
0077 description:
0078 Set this flag for HCDs with big endian descriptors and big
0079 endian registers.
0080
0081 big-endian-desc:
0082 $ref: /schemas/types.yaml#/definitions/flag
0083 description:
0084 Set this flag for HCDs with big endian descriptors.
0085
0086 big-endian-regs:
0087 $ref: /schemas/types.yaml#/definitions/flag
0088 description:
0089 Set this flag for HCDs with big endian registers.
0090
0091 remote-wakeup-connected:
0092 $ref: /schemas/types.yaml#/definitions/flag
0093 description:
0094 Remote wakeup is wired on the platform.
0095
0096 no-big-frame-no:
0097 $ref: /schemas/types.yaml#/definitions/flag
0098 description:
0099 Set if frame_no lives in bits [15:0] of HCCA
0100
0101 num-ports:
0102 $ref: /schemas/types.yaml#/definitions/uint32
0103 description:
0104 Overrides the detected port count
0105
0106 phys:
0107 minItems: 1
0108 maxItems: 3
0109
0110 phy-names:
0111 const: usb
0112
0113 iommus:
0114 maxItems: 1
0115
0116 dr_mode:
0117 enum:
0118 - host
0119 - otg
0120
0121 required:
0122 - compatible
0123 - reg
0124 - interrupts
0125
0126 additionalProperties: false
0127
0128 examples:
0129 - |
0130 ohci0: usb@1c14400 {
0131 compatible = "allwinner,sun4i-a10-ohci", "generic-ohci";
0132 reg = <0x01c14400 0x100>;
0133 interrupts = <64>;
0134 clocks = <&usb_clk 6>, <&ahb_gates 2>;
0135 phys = <&usbphy 1>;
0136 phy-names = "usb";
0137 };
0138
0139 ...