diff --git a/target/linux/realtek/dts/rtl9303_goodtop_gt-swtxg8fm.dts b/target/linux/realtek/dts/rtl9303_goodtop_gt-swtxg8fm.dts new file mode 100644 index 00000000000..87a88525839 --- /dev/null +++ b/target/linux/realtek/dts/rtl9303_goodtop_gt-swtxg8fm.dts @@ -0,0 +1,22 @@ +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "rtl9303_horaco_zx-swtgw2c8f.dtsi" + +/* + * The GT-SWTXG8FM appears to be a rebrand of the Horaco ZX-SWTGW2C8F + * with minor LED configuration differences. + */ + +/ { + compatible = "goodtop,gt-swtxg8fm", "realtek,rtl9303-soc"; + model = "GoodTop GT-SWTXG8FM"; +}; + +&led_set { + clock-frequency = <2500000>; +}; + +&leds { + pinctrl-0 = <&pinmux_disable_sys_led>, + <&pinmux_enable_led_sync>; +}; diff --git a/target/linux/realtek/image/rtl930x.mk b/target/linux/realtek/image/rtl930x.mk index 61e671bb2eb..2c7e4979557 100644 --- a/target/linux/realtek/image/rtl930x.mk +++ b/target/linux/realtek/image/rtl930x.mk @@ -22,6 +22,23 @@ define Device/draytek_g2282x endef TARGET_DEVICES += draytek_g2282x +define Device/goodtop_gt-swtxg8fm + SOC := rtl9303 + UIMAGE_MAGIC := 0x83800000 + DEVICE_VENDOR := GoodTop + DEVICE_MODEL := GT-SWTXG8FM + IMAGE_SIZE := 12288k + $(Device/kernel-lzma) + IMAGES += factory.bix + IMAGE/factory.bix := \ + append-kernel | \ + pad-to 64k | \ + append-rootfs | \ + pad-rootfs | \ + check-size +endef +TARGET_DEVICES += goodtop_gt-swtxg8fm + define Device/sirivision_sr-st3408f SOC := rtl9303 UIMAGE_MAGIC := 0x93000000