1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/clock/pwm-clock.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: An external clock signal driven by a PWM pin.
10 - Philipp Zabel <p.zabel@pengutronix.de>
20 description: Exact output frequency, in case the PWM period is not exact
21 but was rounded to nanoseconds.
34 additionalProperties: false
39 compatible = "pwm-clock";
41 clock-frequency = <25000000>;
42 clock-output-names = "mipi_mclk";
43 pwms = <&pwm2 0 40>; /* 1 / 40 ns = 25 MHz */