hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/Documentation/devicetree/bindings/clock/renesas,rcar-usb2-clock-sel.txt
....@@ -27,7 +27,9 @@
2727 - compatible: "renesas,r8a7795-rcar-usb2-clock-sel" if the device is a part of
2828 an R8A7795 SoC.
2929 "renesas,r8a7796-rcar-usb2-clock-sel" if the device if a part of
30
- an R8A7796 SoC.
30
+ an R8A77960 SoC.
31
+ "renesas,r8a77961-rcar-usb2-clock-sel" if the device if a part of
32
+ an R8A77961 SoC.
3133 "renesas,rcar-gen3-usb2-clock-sel" for a generic R-Car Gen3
3234 compatible device.
3335
....@@ -38,10 +40,17 @@
3840 - reg: offset and length of the USB 2.0 clock selector register block.
3941 - clocks: A list of phandles and specifier pairs.
4042 - clock-names: Name of the clocks.
41
- - The functional clock must be "ehci_ohci"
43
+ - The functional clock of USB 2.0 host side must be "ehci_ohci"
44
+ - The functional clock of HS-USB side must be "hs-usb-if"
4245 - The USB_EXTAL clock pin must be "usb_extal"
4346 - The USB_XTAL clock pin must be "usb_xtal"
4447 - #clock-cells: Must be 0
48
+- power-domains: A phandle and symbolic PM domain specifier.
49
+ See power/renesas,rcar-sysc.yaml.
50
+- resets: A list of phandles and specifier pairs.
51
+- reset-names: Name of the resets.
52
+ - The reset of USB 2.0 host side must be "ehci_ohci"
53
+ - The reset of HS-USB side must be "hs-usb-if"
4554
4655 Example (R-Car H3):
4756
....@@ -49,7 +58,11 @@
4958 compatible = "renesas,r8a7795-rcar-usb2-clock-sel",
5059 "renesas,rcar-gen3-usb2-clock-sel";
5160 reg = <0 0xe6590630 0 0x02>;
52
- clocks = <&cpg CPG_MOD 703>, <&usb_extal>, <&usb_xtal>;
53
- clock-names = "ehci_ohci", "usb_extal", "usb_xtal";
61
+ clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>,
62
+ <&usb_extal>, <&usb_xtal>;
63
+ clock-names = "ehci_ohci", "hs-usb-if", "usb_extal", "usb_xtal";
5464 #clock-cells = <0>;
65
+ power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
66
+ resets = <&cpg 703>, <&cpg 704>;
67
+ reset-names = "ehci_ohci", "hs-usb-if";
5568 };