brintos

brintos / linux-shallow public Read only

0
0
Text · 1.9 KiB · f972ce9 Raw
107 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/usb/allwinner,sun4i-a10-musb.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Allwinner A10 mUSB OTG Controller8 9maintainers:10  - Chen-Yu Tsai <wens@csie.org>11  - Maxime Ripard <mripard@kernel.org>12 13properties:14  compatible:15    oneOf:16      - enum:17          - allwinner,sun4i-a10-musb18          - allwinner,sun6i-a31-musb19          - allwinner,sun8i-a33-musb20          - allwinner,sun8i-h3-musb21          - allwinner,suniv-f1c100s-musb22      - items:23          - enum:24              - allwinner,sun8i-a83t-musb25              - allwinner,sun20i-d1-musb26              - allwinner,sun50i-h6-musb27          - const: allwinner,sun8i-a33-musb28      - items:29          - const: allwinner,sun50i-h616-musb30          - const: allwinner,sun8i-h3-musb31 32  reg:33    maxItems: 134 35  interrupts:36    maxItems: 137 38  interrupt-names:39    const: mc40 41  clocks:42    maxItems: 143 44  resets:45    maxItems: 146 47  phys:48    maxItems: 149 50  phy-names:51    const: usb52 53  extcon:54    description: Extcon specifier for the OTG PHY55 56  dr_mode:57    enum:58      - host59      - otg60      - peripheral61 62  allwinner,sram:63    description: Phandle to the device SRAM64    $ref: /schemas/types.yaml#/definitions/phandle-array65 66required:67  - compatible68  - reg69  - interrupts70  - interrupt-names71  - clocks72  - phys73  - phy-names74  - dr_mode75  - extcon76 77if:78  properties:79    compatible:80      contains:81        enum:82          - allwinner,sun6i-a31-musb83          - allwinner,sun8i-a33-musb84          - allwinner,sun8i-h3-musb85 86then:87  required:88    - resets89 90additionalProperties: false91 92examples:93  - |94    usb_otg: usb@1c13000 {95      compatible = "allwinner,sun4i-a10-musb";96      reg = <0x01c13000 0x0400>;97      clocks = <&ahb_gates 0>;98      interrupts = <38>;99      interrupt-names = "mc";100      phys = <&usbphy 0>;101      phy-names = "usb";102      extcon = <&usbphy 0>;103      dr_mode = "peripheral";104    };105 106...107