driver: clock_control: Add clock controller initial version of RTS5912.

Add clock controller driver for Realtek RTS5912.

Signed-off-by: Lin Yu-Cheng <lin_yu_cheng@realtek.com>
This commit is contained in:
Lin Yu-Cheng 2024-11-22 17:01:05 +08:00 committed by Benjamin Cabé
commit 6ea7560ce2
9 changed files with 1001 additions and 0 deletions

View file

@ -44,12 +44,34 @@
reg = <0x20050000 0x8000>;
};
clocks {
rc25m: rc25m {
compatible = "fixed-clock";
clock-frequency = <25000000>;
#clock-cells = <0>;
};
pll: pll {
compatible = "fixed-clock";
clock-frequency = <100000000>;
#clock-cells = <0>;
};
};
soc {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
interrupt-parent = <&nvic>;
ranges;
sccon: clock-controller@40020000 {
compatible = "realtek,rts5912-sccon";
reg = <0x40020000 0xf0>;
#clock-cells = <2>;
clocks = <&rc25m>, <&pll>;
clock-names = "rc25m", "pll";
};
};
};