A clone of the in-tree t31_lite_zte-k540 with the K545's own deltas: gpio-motors driven by ptz_control/ptz_gpio rather than the older motors package, majestic IR-cut, backlight and speaker pins, and the same SD-card detect patch (GPIO_PB(18) is pin 50). It reuses K540's atbm603x-t31-zte-k540 wlandev profile, which is already upstream in firmware's shared adapter table. Built green on CI, narrowed to this device. Two points left open with the author, both inherited from K540 rather than introduced here: the defconfig declares an 8M flash while the README row says NOR_16M, which caps the rootfs partition at 5120KB instead of 8192KB; and the device ships no t31_lite.list, as K540 does not either.
14 lines
624 B
Diff
14 lines
624 B
Diff
diff --git a/arch/mips/xburst/soc-t31/chip-t31/isvp/Swan/board.h b/arch/mips/xburst/soc-t31/chip-t31/isvp/Swan/board.h
|
|
index d9058e1271..b53c252c64 100644
|
|
--- a/arch/mips/xburst/soc-t31/chip-t31/isvp/Swan/board.h
|
|
+++ b/arch/mips/xburst/soc-t31/chip-t31/isvp/Swan/board.h
|
|
@@ -32,7 +32,7 @@
|
|
/* ****************************GPIO MMC START******************************** */
|
|
#define GPIO_MMC_RST_N -1
|
|
#define GPIO_MMC_RST_N_LEVEL LOW_ENABLE
|
|
-#define GPIO_MMC_CD_N GPIO_PB(27)
|
|
+#define GPIO_MMC_CD_N GPIO_PB(18)
|
|
#define GPIO_MMC_CD_N_LEVEL LOW_ENABLE
|
|
#define GPIO_MMC_PWR -1
|
|
#define GPIO_MMC_PWR_LEVEL HIGH_ENABLE
|