Skip to content

Commit c174f1c

Browse files
Hui-Ping Chenvinodkoul
authored andcommitted
dt-bindings: phy: nuvoton,ma35-usb2-phy: add new bindings
Add dt-bindings for USB2 PHY found on the Nuvoton MA35 SoC. Signed-off-by: Hui-Ping Chen <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 00c5f32 commit c174f1c

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/phy/nuvoton,ma35d1-usb2-phy.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Nuvoton MA35D1 USB2 phy
8+
9+
maintainers:
10+
- Hui-Ping Chen <[email protected]>
11+
12+
properties:
13+
compatible:
14+
enum:
15+
- nuvoton,ma35d1-usb2-phy
16+
17+
"#phy-cells":
18+
const: 0
19+
20+
clocks:
21+
maxItems: 1
22+
23+
nuvoton,sys:
24+
$ref: /schemas/types.yaml#/definitions/phandle
25+
description:
26+
phandle to syscon for checking the PHY clock status.
27+
28+
required:
29+
- compatible
30+
- "#phy-cells"
31+
- clocks
32+
- nuvoton,sys
33+
34+
additionalProperties: false
35+
36+
examples:
37+
- |
38+
#include <dt-bindings/clock/nuvoton,ma35d1-clk.h>
39+
40+
usb_phy: usb-phy {
41+
compatible = "nuvoton,ma35d1-usb2-phy";
42+
clocks = <&clk USBD_GATE>;
43+
nuvoton,sys = <&sys>;
44+
#phy-cells = <0>;
45+
};

0 commit comments

Comments
 (0)