summaryrefslogtreecommitdiff
path: root/drivers/clk/kunit_clk_fixed_rate_test.dtso
blob: d838ce766fa21452cb930f7ad813269edd998da3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// SPDX-License-Identifier: GPL-2.0
/dts-v1/;
/plugin/;

#include "clk-fixed-rate_test.h"

&{/} {
	fixed_50MHz: kunit-clock {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <TEST_FIXED_FREQUENCY>;
		clock-accuracy = <TEST_FIXED_ACCURACY>;
	};

	kunit-clock-consumer {
		compatible = "test,single-clk-consumer";
		clocks = <&fixed_50MHz>;
	};
};