^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) %YAML 1.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ---
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) $id: http://devicetree.org/schemas/usb/generic-ohci.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) $schema: http://devicetree.org/meta-schemas/core.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) title: USB OHCI Controller Device Tree Bindings
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) allOf:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - $ref: "usb-hcd.yaml"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) maintainers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - Greg Kroah-Hartman <gregkh@linuxfoundation.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) contains:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) const: generic-ohci
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) reg:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) interrupts:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) resets:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) minItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) maxItems: 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) clocks:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) minItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) maxItems: 3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) description: |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) In case the Renesas R-Car Gen3 SoCs:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) - if a host only channel: first clock should be host.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) - if a USB DRD channel: first clock should be host and second
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) one should be peripheral
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) power-domains:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) big-endian:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) $ref: /schemas/types.yaml#/definitions/flag
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) Set this flag for HCDs with big endian descriptors and big
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) endian registers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) big-endian-desc:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) $ref: /schemas/types.yaml#/definitions/flag
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) Set this flag for HCDs with big endian descriptors.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) big-endian-regs:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) $ref: /schemas/types.yaml#/definitions/flag
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) Set this flag for HCDs with big endian registers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) remote-wakeup-connected:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) $ref: /schemas/types.yaml#/definitions/flag
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) Remote wakeup is wired on the platform.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) no-big-frame-no:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) $ref: /schemas/types.yaml#/definitions/flag
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) Set if frame_no lives in bits [15:0] of HCCA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) num-ports:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) Overrides the detected port count
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) phys:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) description: PHY specifier for the USB PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) phy-names:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) const: usb
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) iommus:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) required:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) - compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) - reg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) - interrupts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) additionalProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) - |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) ohci0: usb@1c14400 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) compatible = "allwinner,sun4i-a10-ohci", "generic-ohci";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) reg = <0x01c14400 0x100>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) interrupts = <64>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) clocks = <&usb_clk 6>, <&ahb_gates 2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) phys = <&usbphy 1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) phy-names = "usb";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) ...