Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | # Copyright 2019,2020 Lubomir Rintel <lkundrak@v3.sk> |
| 3 | %YAML 1.2 |
| 4 | --- |
| 5 | $id: http://devicetree.org/schemas/usb/marvell,pxau2o-ehci.yaml# |
| 6 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 7 | |
| 8 | title: Marvell PXA/MMP EHCI |
| 9 | |
| 10 | maintainers: |
| 11 | - Lubomir Rintel <lkundrak@v3.sk> |
| 12 | |
| 13 | allOf: |
| 14 | - $ref: usb-hcd.yaml# |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | const: marvell,pxau2o-ehci |
| 19 | |
| 20 | reg: |
| 21 | maxItems: 1 |
| 22 | |
| 23 | interrupts: |
| 24 | maxItems: 1 |
| 25 | |
| 26 | clocks: |
| 27 | maxItems: 1 |
| 28 | |
| 29 | clock-names: |
| 30 | const: USBCLK |
| 31 | |
| 32 | phys: |
| 33 | maxItems: 1 |
| 34 | |
| 35 | phy-names: |
| 36 | const: usb |
| 37 | |
| 38 | required: |
| 39 | - compatible |
| 40 | - reg |
| 41 | - interrupts |
| 42 | - clocks |
| 43 | - clock-names |
| 44 | - phys |
| 45 | - phy-names |
| 46 | |
| 47 | unevaluatedProperties: false |
| 48 | |
| 49 | examples: |
| 50 | - | |
| 51 | #include <dt-bindings/clock/marvell,mmp2.h> |
| 52 | usb@d4208000 { |
| 53 | compatible = "marvell,pxau2o-ehci"; |
| 54 | reg = <0xd4208000 0x200>; |
| 55 | interrupts = <44>; |
| 56 | clocks = <&soc_clocks MMP2_CLK_USB>; |
| 57 | clock-names = "USBCLK"; |
| 58 | phys = <&usb_otg_phy>; |
| 59 | phy-names = "usb"; |
| 60 | }; |
| 61 | |
| 62 | ... |