realtek: dts: fix up the wrong soc compatibles

Some rtl9302 based boards use the realtek,rtl838x-soc compatible
in their device tree instead of the correct realtek,rtl9302-soc.

This is also the case for main rtl931x and rtl930x device tree files.

In preperation for utilizing device data in the board-realtek, fix
this up now so that these boards don't end up breaking due to incorrect
prom initialization caused by rtl838x-soc compatible.

Signed-off-by: Rustam Adilov <adilov@tutamail.com>
Link: https://github.com/openwrt/openwrt/pull/24588
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
This commit is contained in:
Rustam Adilov 2026-08-07 20:56:36 +05:00 committed by Markus Stockhausen
parent f23aff6808
commit 76d124a18c
8 changed files with 8 additions and 8 deletions

View file

@ -4,7 +4,7 @@
#include "rtl9302_plasmacloud_common.dtsi"
/ {
compatible = "plasmacloud,psx10", "realtek,rtl838x-soc";
compatible = "plasmacloud,psx10", "realtek,rtl9302-soc";
model = "Plasma Cloud PSX10";
i2c1: i2c-gpio1 {

View file

@ -4,7 +4,7 @@
#include "rtl9302_plasmacloud_common.dtsi"
/ {
compatible = "plasmacloud,psx8", "realtek,rtl838x-soc";
compatible = "plasmacloud,psx8", "realtek,rtl9302-soc";
model = "Plasma Cloud PSX8";
};

View file

@ -4,7 +4,7 @@
#include "rtl9302_zyxel_xgs1210-12-common.dtsi"
/ {
compatible = "zyxel,xgs1210-12-a1", "realtek,rtl838x-soc";
compatible = "zyxel,xgs1210-12-a1", "realtek,rtl9302-soc";
model = "Zyxel XGS1210-12 A1 Switch";
};

View file

@ -4,7 +4,7 @@
#include "rtl9302_zyxel_xgs1210-12-common.dtsi"
/ {
compatible = "zyxel,xgs1210-12-b1", "realtek,rtl838x-soc";
compatible = "zyxel,xgs1210-12-b1", "realtek,rtl9302-soc";
model = "Zyxel XGS1210-12 B1 Switch";
};

View file

@ -4,7 +4,7 @@
#include "rtl9302_zyxel_xgs1250-12-common.dtsi"
/ {
compatible = "zyxel,xgs1250-12-a1", "realtek,rtl838x-soc";
compatible = "zyxel,xgs1250-12-a1", "realtek,rtl9302-soc";
model = "Zyxel XGS1250-12 A1 Switch";
};

View file

@ -4,7 +4,7 @@
#include "rtl9302_zyxel_xgs1250-12-common.dtsi"
/ {
compatible = "zyxel,xgs1250-12-b1", "realtek,rtl838x-soc";
compatible = "zyxel,xgs1250-12-b1", "realtek,rtl9302-soc";
model = "Zyxel XGS1250-12 B1 Switch";
};

View file

@ -8,7 +8,7 @@
#address-cells = <1>;
#size-cells = <1>;
compatible = "realtek,rtl838x-soc";
compatible = "realtek,rtl930x-soc";
cpus {
#address-cells = <1>;

View file

@ -9,7 +9,7 @@
#address-cells = <1>;
#size-cells = <1>;
compatible = "realtek,rtl838x-soc";
compatible = "realtek,rtl931x-soc";
cpus {
#address-cells = <1>;