realtek: fix Linksys LGS328C dts memory definition
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run

RTL930x devices have highmem starting address at 0x20000000.
The Linksys LGS328C highmem definition is wrongly shared with
the larger LGS352C RTL931x model and starts at 0x90000000.
Fix it by splitting the definition.

Fixes: 853d73f ("realtek: add support for Linksys LGS328C")

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21262
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Markus Stockhausen 2025-12-23 21:29:46 +01:00 committed by Hauke Mehrtens
parent 6a1f105e72
commit 5d7470d4ca
3 changed files with 12 additions and 6 deletions

View file

@ -7,6 +7,12 @@
/ {
compatible = "linksys,lgs328c", "realtek,rtl9301-soc";
model = "Linksys LGS328C";
memory@0 {
device_type = "memory";
reg = <0x00000000 0x10000000>, /* 256 MiB lowmem */
<0x20000000 0x10000000>; /* 256 MiB highmem */
};
};
&i2c_mst1 {

View file

@ -7,6 +7,12 @@
/ {
compatible = "linksys,lgs352c", "realtek,rtl9311-soc";
model = "Linksys LGS352C";
memory@0 {
device_type = "memory";
reg = <0x00000000 0x10000000>, /* 256 MiB lowmem */
<0x90000000 0x10000000>; /* 256 MiB highmem */
};
};
&i2c_mst1 {

View file

@ -43,12 +43,6 @@
};
};
memory@0 {
device_type = "memory";
reg = <0x00000000 0x10000000>, /* 256 MiB lowmem */
<0x90000000 0x10000000>; /* 256 MiB highmem */
};
sfp0: sfp-p49 {
compatible = "sff,sfp";
los-gpio = <&gpio1 11 GPIO_ACTIVE_HIGH>;