realtek: Add Lexra bus clock
[openwrt/openwrt.git] / target / linux / realtek / dts-5.10 / rtl930x.dtsi
index d01307a35d6104e17652d7a65cb8da1c615c1b48..9e9501d51ad5759c582962abd0a2ee6bf538d095 100644 (file)
@@ -70,7 +70,7 @@
        };
 
        chosen {
-               bootargs = "console=ttyS0,38400";
+               bootargs = "console=ttyS0,115200";
        };
 
        cpuintc: cpuintc {
                interrupt-controller;
        };
 
-       osc: oscillator {
+       lx_clk: lx_clk {
                compatible = "fixed-clock";
-               #clock-cells = <1>;
+               #clock-cells = <0>;
                clock-frequency  = <175000000>;
-               clock-output-names = "osc";
        };
 
        soc: soc {
                compatible = "simple-bus";
                #address-cells = <1>;
                #size-cells = <1>;
-               ranges = <0x0 0xb8000000 0x10000>;
+               ranges = <0x0 0x18000000 0x10000>;
 
                intc: rtlintc@3000 {
                        compatible = "realtek,rtl-intc";
                        interrupt-parent = <&intc>;
                        interrupts = <8>;
                        interrupt-names = "ostimer";
-                       clocks = <&osc 0>;
+                       clocks = <&lx_clk>;
                };
 
                spi0: spi@1200 {
                        compatible = "ns16550a";
                        reg = <0x2000 0x100>;
 
-                       clock-frequency = <175000000>;
+                       clocks = <&lx_clk>;
 
                        interrupt-parent = <&intc>;
                        interrupts = <30>;
                        compatible = "ns16550a";
                        reg = <0x2100 0x100>;
 
-                       clock-frequency = <175000000>;
+                       clocks = <&lx_clk>;
 
                        interrupt-parent = <&intc>;
                        interrupts = <31>;
                };
        };
 
-       ethernet0: ethernet@bb00a300 {
+       ethernet0: ethernet@1b00a300 {
                compatible = "realtek,rtl838x-eth";
-               reg = <0xbb00a300 0x100>;
+               reg = <0x1b00a300 0x100>;
                interrupt-parent = <&intc>;
                interrupts = <24>;
                #interrupt-cells = <1>;
                };
        };
 
-       switch0: switch@bb000000 {
+       switch0: switch@1b000000 {
                compatible = "realtek,rtl83xx-switch";
 
                interrupt-parent = <&intc>;