xref: /freebsd/sys/contrib/device-tree/Bindings/phy/ti,da830-usb-phy.yaml (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*833e5d42SEmmanuel Vadot%YAML 1.2
3*833e5d42SEmmanuel Vadot---
4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/ti,da830-usb-phy.yaml#
5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*833e5d42SEmmanuel Vadot
7*833e5d42SEmmanuel Vadottitle: TI DA8xx/OMAP-L1xx/AM18xx USB PHY
8*833e5d42SEmmanuel Vadot
9*833e5d42SEmmanuel Vadotmaintainers:
10*833e5d42SEmmanuel Vadot  - David Lechner <david@lechnology.com>
11*833e5d42SEmmanuel Vadot
12*833e5d42SEmmanuel Vadotdescription: >
13*833e5d42SEmmanuel Vadot  This device controls the PHY for both the USB 1.1 OHCI and USB 2.0 OTG
14*833e5d42SEmmanuel Vadot  controllers on DA8xx SoCs.
15*833e5d42SEmmanuel Vadot
16*833e5d42SEmmanuel Vadot  It also requires a "syscon" node with compatible = "ti,da830-cfgchip", "syscon"
17*833e5d42SEmmanuel Vadot  to access the CFGCHIP2 register.
18*833e5d42SEmmanuel Vadot
19*833e5d42SEmmanuel Vadotproperties:
20*833e5d42SEmmanuel Vadot  compatible:
21*833e5d42SEmmanuel Vadot    items:
22*833e5d42SEmmanuel Vadot      - const: ti,da830-usb-phy
23*833e5d42SEmmanuel Vadot
24*833e5d42SEmmanuel Vadot  '#phy-cells':
25*833e5d42SEmmanuel Vadot    const: 1
26*833e5d42SEmmanuel Vadot    description:
27*833e5d42SEmmanuel Vadot      Consumers of this device should use index 0 for the USB 2.0 phy device and
28*833e5d42SEmmanuel Vadot      index 1 for the USB 1.1 phy device.
29*833e5d42SEmmanuel Vadot
30*833e5d42SEmmanuel Vadot  clocks:
31*833e5d42SEmmanuel Vadot    maxItems: 2
32*833e5d42SEmmanuel Vadot
33*833e5d42SEmmanuel Vadot  clock-names:
34*833e5d42SEmmanuel Vadot    items:
35*833e5d42SEmmanuel Vadot      - const: usb0_clk48
36*833e5d42SEmmanuel Vadot      - const: usb1_clk48
37*833e5d42SEmmanuel Vadot
38*833e5d42SEmmanuel Vadotrequired:
39*833e5d42SEmmanuel Vadot  - compatible
40*833e5d42SEmmanuel Vadot  - '#phy-cells'
41*833e5d42SEmmanuel Vadot  - clocks
42*833e5d42SEmmanuel Vadot  - clock-names
43*833e5d42SEmmanuel Vadot
44*833e5d42SEmmanuel VadotadditionalProperties: false
45*833e5d42SEmmanuel Vadot
46*833e5d42SEmmanuel Vadotexamples:
47*833e5d42SEmmanuel Vadot  - |
48*833e5d42SEmmanuel Vadot    usb-phy {
49*833e5d42SEmmanuel Vadot        compatible = "ti,da830-usb-phy";
50*833e5d42SEmmanuel Vadot        #phy-cells = <1>;
51*833e5d42SEmmanuel Vadot        clocks = <&usb_phy_clk 0>, <&usb_phy_clk 1>;
52*833e5d42SEmmanuel Vadot        clock-names = "usb0_clk48", "usb1_clk48";
53*833e5d42SEmmanuel Vadot    };
54