Add fixed-clock clock control driver. This is a first step towards making fixed-clocks a first-class citizen in the clock control framework. Since the change is hidden behind a Kconfig enable this is opt-in for now. Signed-off-by: Moritz Fischer <moritzf@google.com>
17 lines
224 B
Text
17 lines
224 B
Text
/*
|
|
* Copyright (c) 2022 Google, LLC
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
*/
|
|
|
|
/ {
|
|
test {
|
|
test_fixed_rate_clk0: clk {
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <100>;
|
|
#clock-cells = <0>;
|
|
};
|
|
|
|
};
|
|
};
|