mediatek: align cetron ct3003 stock layout with upstream

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2024-09-11 13:13:10 +08:00
parent 3b243119ad
commit b09889d87d
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
7 changed files with 10 additions and 13 deletions

View File

@ -74,7 +74,7 @@ jdcloud,re-cp-03)
;;
esac
;;
cetron,ct3003-stock|\
cetron,ct3003|\
cetron,ct3003-ubootmod|\
edgecore,eap111|\
h3c,magic-nx30-pro-nmbm|\

View File

@ -4,7 +4,7 @@
#include "mt7981b-cetron-ct3003.dtsi"
/ {
model = "CETRON CT3003 (custom U-Boot layout)";
model = "Cetron CT3003 (custom U-Boot layout)";
compatible = "cetron,ct3003-ubootmod", "mediatek,mt7981";
};

View File

@ -4,8 +4,8 @@
#include "mt7981b-cetron-ct3003.dtsi"
/ {
model = "CETRON CT3003 (stock layout)";
compatible = "cetron,ct3003-stock", "mediatek,mt7981";
model = "Cetron CT3003 (stock layout)";
compatible = "cetron,ct3003", "mediatek,mt7981";
};
&partitions {

View File

@ -1,7 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
* Copyright (C) 2023 Tianling Shen <cnsztl@immortalwrt.org>
*/
/dts-v1/;
#include <dt-bindings/gpio/gpio.h>

View File

@ -25,7 +25,7 @@ mediatek_setup_interfaces()
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 game" eth1
;;
asus,rt-ax59u|\
cetron,ct3003-stock|\
cetron,ct3003|\
cetron,ct3003-ubootmod|\
cmcc,a10-ubootmod|\
confiabits,mt7981|\

View File

@ -51,7 +51,7 @@ case "$board" in
;;
bananapi,bpi-r4|\
bananapi,bpi-r4-poe|\
cetron,ct3003-stock|\
cetron,ct3003|\
cetron,ct3003-ubootmod|\
konka,komi-a31|\
nokia,ea0326gmp)

View File

@ -420,13 +420,13 @@ define Device/bananapi_bpi-r4-poe
endef
TARGET_DEVICES += bananapi_bpi-r4-poe
define Device/cetron_ct3003-stock
define Device/cetron_ct3003
DEVICE_VENDOR := Cetron
DEVICE_MODEL := CT3003
DEVICE_VARIANT := (stock layout)
DEVICE_DTS := mt7981b-cetron-ct3003-stock
DEVICE_DTS := mt7981b-cetron-ct3003
DEVICE_DTS_DIR := ../dts
SUPPORTED_DEVICES += cetron,ct3003 mediatek,mt7981-spim-snand-rfb
SUPPORTED_DEVICES += cetron,ct3003-stock mediatek,mt7981-spim-snand-rfb
DEVICE_PACKAGES := kmod-mt7915e kmod-mt7981-firmware mt7981-wo-firmware
UBINIZE_OPTS := -E 5
BLOCKSIZE := 128k
@ -437,7 +437,7 @@ define Device/cetron_ct3003-stock
IMAGES += factory.bin
IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | cetron-header rd30 CT3003
endef
TARGET_DEVICES += cetron_ct3003-stock
TARGET_DEVICES += cetron_ct3003
define Device/cetron_ct3003-ubootmod
DEVICE_VENDOR := Cetron