1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/clock/ingenic,cgu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ingenic SoCs CGU devicetree bindings
10 The CGU in an Ingenic SoC provides all the clocks generated on-chip. It
11 typically includes a variety of PLLs, multiplexers, dividers & gates in order
12 to provide many different clock signals derived from only 2 external source
16 - Paul Cercueil <paul@crapouillou.net>
34 pattern: "^clock-controller@[0-9a-f]+$"
64 - description: External oscillator clock
65 - description: Internal 32 kHz RTC clock
72 - osc32k # Different name, same clock
78 assigned-clock-parents:
94 "^usb-phy@[a-f0-9]+$":
95 allOf: [ $ref: "../phy/ingenic,phy-usb.yaml#" ]
97 additionalProperties: false
101 #include <dt-bindings/clock/jz4770-cgu.h>
102 cgu: clock-controller@10000000 {
103 compatible = "ingenic,jz4770-cgu", "simple-mfd";
104 reg = <0x10000000 0x100>;
105 #address-cells = <1>;
107 ranges = <0x0 0x10000000 0x100>;
109 clocks = <&ext>, <&osc32k>;
110 clock-names = "ext", "osc32k";
114 otg_phy: usb-phy@3c {
115 compatible = "ingenic,jz4770-phy";
118 clocks = <&cgu JZ4770_CLK_OTG_PHY>;
120 vcc-supply = <&ldo5>;