realtek: clock driver: adapt RTL838X DT
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 6 Sep 2022 09:38:38 +0000 (11:38 +0200)
committerSander Vanheule <sander@svanheule.net>
Mon, 26 Dec 2022 19:29:36 +0000 (20:29 +0100)
The clock driver is self contained now. Remove old oscillator definition
from the DT. We need a small SRAM scratchpad area for future use. Add it.
While we are here adapt the SRAM size to the real 128K as the manuals say.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
target/linux/realtek/dts-5.10/rtl838x.dtsi

index 64e13e1ff37af88a294d5e85a378a2a785965ca6..e792e009d2c6f1aa02b43148936b42f03d05143c 100644 (file)
 
        compatible = "realtek,rtl838x-soc";
 
-       osc: oscillator {
-               compatible = "fixed-clock";
-               #clock-cells = <0>;
-               clock-frequency = <25000000>;
-       };
-
        ccu: clock-controller {
                compatible = "realtek,rtl8380-clock";
                #clock-cells = <1>;
-               clocks = <&osc>;
-               clock-names = "ref_clk";
        };
 
        cpus {
 
        sram0: sram@9f000000 {
                compatible = "mmio-sram";
-               reg = <0x9f000000 0x10000>;
+               reg = <0x9f000000 0x20000>;
                #address-cells = <1>;
                #size-cells = <1>;
-               ranges = <0 0x9f000000 0x10000>;
+               ranges = <0 0x9f000000 0x20000>;
        };
 
        switch0: switch@1b000000 {