From: Markus Stockhausen Date: Tue, 6 Sep 2022 09:38:38 +0000 (+0200) Subject: realtek: clock driver: adapt RTL838X DT X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=0a0787dc9d0b25d44e9f913e1015b74f451920b2;p=openwrt%2Fstaging%2Fsvanheule.git realtek: clock driver: adapt RTL838X DT 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 --- diff --git a/target/linux/realtek/dts-5.10/rtl838x.dtsi b/target/linux/realtek/dts-5.10/rtl838x.dtsi index 64e13e1ff3..e792e009d2 100644 --- a/target/linux/realtek/dts-5.10/rtl838x.dtsi +++ b/target/linux/realtek/dts-5.10/rtl838x.dtsi @@ -62,17 +62,9 @@ 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 { @@ -272,10 +264,10 @@ 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 {