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>
#include "rtl9302_plasmacloud_common.dtsi"
/ {
- compatible = "plasmacloud,psx10", "realtek,rtl838x-soc";
+ compatible = "plasmacloud,psx10", "realtek,rtl9302-soc";
model = "Plasma Cloud PSX10";
i2c1: i2c-gpio1 {
#include "rtl9302_plasmacloud_common.dtsi"
/ {
- compatible = "plasmacloud,psx8", "realtek,rtl838x-soc";
+ compatible = "plasmacloud,psx8", "realtek,rtl9302-soc";
model = "Plasma Cloud PSX8";
};
#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";
};
#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";
};
#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";
};
#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";
};
#address-cells = <1>;
#size-cells = <1>;
- compatible = "realtek,rtl838x-soc";
+ compatible = "realtek,rtl930x-soc";
cpus {
#address-cells = <1>;
#address-cells = <1>;
#size-cells = <1>;
- compatible = "realtek,rtl838x-soc";
+ compatible = "realtek,rtl931x-soc";
cpus {
#address-cells = <1>;