diff options
author | Logan Blyth <mrbojangles3@gmail.com> | 2022-06-07 21:46:22 -0400 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2022-06-19 12:40:30 +0200 |
commit | 36e46c3c131cb187e94df9bb4c1ef56e3376c268 (patch) | |
tree | 20905b7eb9df997c0d2af30e84c21f6eb4dbefc2 /target/linux/mvebu | |
parent | cd1b4ea5aab28eb2a6e827c4a3abcafe9e02cf9d (diff) | |
download | upstream-36e46c3c131cb187e94df9bb4c1ef56e3376c268.tar.gz upstream-36e46c3c131cb187e94df9bb4c1ef56e3376c268.tar.bz2 upstream-36e46c3c131cb187e94df9bb4c1ef56e3376c268.zip |
mvebu: add SolidRun ClearFog GT 8K
ClearFog GT 8K is device sold by SolidRun. It is marketed as a
development board, not a consumer product. The device tree file for this board
is upstream in kernel.org.
Signed-off-by: Logan Blyth <mrbojangles3@gmail.com>
Diffstat (limited to 'target/linux/mvebu')
-rw-r--r-- | target/linux/mvebu/cortexa72/base-files/etc/board.d/02_network | 3 | ||||
-rwxr-xr-x | target/linux/mvebu/cortexa72/base-files/lib/upgrade/platform.sh | 9 | ||||
-rw-r--r-- | target/linux/mvebu/image/cortexa72.mk | 11 |
3 files changed, 20 insertions, 3 deletions
diff --git a/target/linux/mvebu/cortexa72/base-files/etc/board.d/02_network b/target/linux/mvebu/cortexa72/base-files/etc/board.d/02_network index f3c59bf2ad..6a5861084e 100644 --- a/target/linux/mvebu/cortexa72/base-files/etc/board.d/02_network +++ b/target/linux/mvebu/cortexa72/base-files/etc/board.d/02_network @@ -29,6 +29,9 @@ marvell,armada8040-db) marvell,armada7040-db) ucidef_set_interfaces_lan_wan "eth0 eth2" "eth1" ;; +marvell,armada8040-clearfog-gt-8k) + ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 eth2" "eth0 eth1" + ;; *) ucidef_set_interface_lan "eth0" ;; diff --git a/target/linux/mvebu/cortexa72/base-files/lib/upgrade/platform.sh b/target/linux/mvebu/cortexa72/base-files/lib/upgrade/platform.sh index 18fdb01959..dc964a3117 100755 --- a/target/linux/mvebu/cortexa72/base-files/lib/upgrade/platform.sh +++ b/target/linux/mvebu/cortexa72/base-files/lib/upgrade/platform.sh @@ -13,7 +13,8 @@ platform_check_image() { iei,puzzle-m901|\ iei,puzzle-m902|\ marvell,armada8040-mcbin-doubleshot|\ - marvell,armada8040-mcbin-singleshot) + marvell,armada8040-mcbin-singleshot|\ + marvell,armada8040-clearfog-gt-8k) legacy_sdcard_check_image "$1" ;; *) @@ -30,7 +31,8 @@ platform_do_upgrade() { ;; globalscale,mochabin|\ marvell,armada8040-mcbin-doubleshot|\ - marvell,armada8040-mcbin-singleshot) + marvell,armada8040-mcbin-singleshot|\ + marvell,armada8040-clearfog-gt-8k) legacy_sdcard_do_upgrade "$1" ;; *) @@ -44,7 +46,8 @@ platform_copy_config() { iei,puzzle-m901|\ iei,puzzle-m902|\ marvell,armada8040-mcbin-doubleshot|\ - marvell,armada8040-mcbin-singleshot) + marvell,armada8040-mcbin-singleshot|\ + marvell,armada8040-clearfog-gt-8k) legacy_sdcard_copy_config ;; esac diff --git a/target/linux/mvebu/image/cortexa72.mk b/target/linux/mvebu/image/cortexa72.mk index f95ce533ea..84ce0cda9a 100644 --- a/target/linux/mvebu/image/cortexa72.mk +++ b/target/linux/mvebu/image/cortexa72.mk @@ -52,6 +52,17 @@ define Device/marvell_macchiatobin-singleshot endef TARGET_DEVICES += marvell_macchiatobin-singleshot +define Device/marvell_clearfog-gt-8k + $(call Device/Default-arm64) + DEVICE_VENDOR := SolidRun + DEVICE_MODEL := Clearfog + DEVICE_VARIANT := GT-8K + DEVICE_PACKAGES += kmod-i2c-mux-pca954x kmod-crypto-hw-safexcel + DEVICE_DTS := armada-8040-clearfog-gt-8k + SUPPORTED_DEVICES := marvell,armada8040-clearfog-gt-8k +endef +TARGET_DEVICES += marvell_clearfog-gt-8k + define Device/iei_puzzle-m901 $(call Device/Default-arm64) DEVICE_VENDOR := iEi |