~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/phy/marvell,armada-cp110-utmi-phy.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2 
  3 %YAML 1.2
  4 ---
  5 $id: http://devicetree.org/schemas/phy/marvell,armada-cp110-utmi-phy.yaml#
  6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7 
  8 title: Marvell Armada CP110/CP115 UTMI PHY
  9 
 10 maintainers:
 11   - Konstantin Porotchkin <kostap@marvell.com>
 12 
 13 description:
 14   On Armada 7k/8k and CN913x, there are two host and one device USB controllers.
 15   Each of two exiting UTMI PHYs could be connected to either USB host or USB device
 16   controller.
 17   The USB device controller can only be connected to a single UTMI PHY port
 18                       0.H----- USB HOST0
 19   UTMI PHY0  --------/
 20                       0.D-----0
 21                                \------ USB DEVICE
 22                       1.D-----1
 23   UTMI PHY1  --------\
 24                       1.H----- USB HOST1
 25 
 26 properties:
 27   compatible:
 28     const: marvell,cp110-utmi-phy
 29 
 30   reg:
 31     maxItems: 1
 32 
 33   "#address-cells":
 34     const: 1
 35 
 36   "#size-cells":
 37     const: 0
 38 
 39   marvell,system-controller:
 40     description:
 41       Phandle to the system controller node
 42     $ref: /schemas/types.yaml#/definitions/phandle
 43 
 44   swap-dx-lanes:
 45     $ref: /schemas/types.yaml#/definitions/uint32-array
 46     description: |
 47       Specifies the ports which will swap the differential-pair (D+/D-),
 48       default is not-swapped.
 49 
 50 # Required child nodes:
 51 
 52 patternProperties:
 53   "^usb-phy@[0|1]$":
 54     type: object
 55     description:
 56       Each UTMI PHY port must be represented as a sub-node.
 57 
 58     properties:
 59       reg:
 60         description: phy port index.
 61         maxItems: 1
 62 
 63       "#phy-cells":
 64         const: 0
 65 
 66     required:
 67       - reg
 68       - "#phy-cells"
 69 
 70     additionalProperties: false
 71 
 72 required:
 73   - compatible
 74   - reg
 75   - "#address-cells"
 76   - "#size-cells"
 77   - marvell,system-controller
 78 
 79 additionalProperties: false
 80 
 81 examples:
 82   - |
 83     cp0_utmi: utmi@580000 {
 84       compatible = "marvell,cp110-utmi-phy";
 85       reg = <0x580000 0x2000>;
 86       marvell,system-controller = <&cp0_syscon0>;
 87       #address-cells = <1>;
 88       #size-cells = <0>;
 89 
 90       cp0_utmi0: usb-phy@0 {
 91         reg = <0>;
 92         #phy-cells = <0>;
 93       };
 94 
 95       cp0_utmi1: usb-phy@1 {
 96         reg = <1>;
 97         #phy-cells = <0>;
 98       };
 99     };
100 
101     cp0_usb3_0 {
102       usb-phy = <&cp0_usb3_0_phy0>;
103       phys = <&cp0_utmi0>;
104       phy-names = "utmi";
105       /* UTMI0 is connected to USB host controller (default mode) */
106       dr_mode = "host";
107     };
108 
109     cp0_usb3_1 {
110       usb-phy = <&cp0_usb3_0_phy1>;
111       phys = <&cp0_utmi1>;
112       phy-names = "utmi";
113       /* UTMI1 is connected to USB device controller */
114       dr_mode = "peripheral";
115     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php