dts:ls2k300:Unify model name

it can't get cpu-name by read iocsr, should fill it by FDT.
This commit is contained in:
maoxiaochuan
2025-05-12 09:40:07 +08:00
parent 043a7bf72c
commit 012dbfc9b1
6 changed files with 3 additions and 9 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
#include <dt-bindings/input/linux-event-codes.h> #include <dt-bindings/input/linux-event-codes.h>
/ { / {
model = "loongson,generic"; model = "Loongson-2K0300";
compatible = "loongson,loongson3"; compatible = "loongson,loongson3";
#address-cells = <2>; #address-cells = <2>;
#size-cells = <2>; #size-cells = <2>;
+1 -1
View File
@@ -10,7 +10,7 @@
#include "ls2k300_99pi.dtsi" #include "ls2k300_99pi.dtsi"
/ { / {
model = "LS2K300-99PI-TF"; product = "LS2K300-99PI-TF";
}; };
&emmc { &emmc {
@@ -10,5 +10,5 @@
#include "ls2k300_99pi.dtsi" #include "ls2k300_99pi.dtsi"
/ { / {
model = "LS2K300-99PI-WIFI"; product = "LS2K300-99PI-WIFI";
}; };
@@ -10,8 +10,6 @@
#include "loongson_panel_param.dtsi" #include "loongson_panel_param.dtsi"
/ { / {
model = "LS2K300-GONGKONG-GBKPGK0";
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
@@ -10,8 +10,6 @@
#include "loongson_panel_param.dtsi" #include "loongson_panel_param.dtsi"
/ { / {
model = "LS2K300-MINI-DP";
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
@@ -9,8 +9,6 @@
#include "loongson_panel_param.dtsi" #include "loongson_panel_param.dtsi"
/ { / {
model = "LS2K300-PAI";
chosen { chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
bootargs = "earlycon"; bootargs = "earlycon";