xref: /freebsd/sys/contrib/device-tree/Bindings/clock/gpio-gate-clock.txt (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1Binding for simple gpio gated clock.
2
3This binding uses the common clock binding[1].
4
5[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
6
7Required properties:
8- compatible : shall be "gpio-gate-clock".
9- #clock-cells : from common clock binding; shall be set to 0.
10- enable-gpios : GPIO reference for enabling and disabling the clock.
11
12Optional properties:
13- clocks: Maximum of one parent clock is supported.
14
15Example:
16	clock {
17		compatible = "gpio-gate-clock";
18		clocks = <&parentclk>;
19		#clock-cells = <0>;
20		enable-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
21	};
22