2021-02-10 21:52:34 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2017-07-16 02:35:57 +08:00
|
|
|
#
|
2019-02-15 23:08:53 +08:00
|
|
|
# Copyright (C) 2013-2019 OpenWrt.org
|
2017-07-16 02:35:57 +08:00
|
|
|
# Copyright (C) 2016 Yousong Zhou
|
|
|
|
|
|
2020-01-23 21:21:19 +08:00
|
|
|
define Device/cubietech_cubieboard2
|
|
|
|
|
DEVICE_VENDOR := Cubietech
|
|
|
|
|
DEVICE_MODEL := Cubieboard2
|
2020-03-05 21:57:29 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
|
2020-01-23 21:21:19 +08:00
|
|
|
SOC := sun7i-a20
|
2017-07-16 02:35:57 +08:00
|
|
|
endef
|
2020-01-23 21:21:19 +08:00
|
|
|
TARGET_DEVICES += cubietech_cubieboard2
|
2017-07-16 02:35:57 +08:00
|
|
|
|
2020-01-23 21:21:19 +08:00
|
|
|
define Device/cubietech_cubietruck
|
|
|
|
|
DEVICE_VENDOR := Cubietech
|
|
|
|
|
DEVICE_MODEL := Cubietruck
|
2020-03-05 21:57:29 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-brcmfmac
|
2020-01-23 21:21:19 +08:00
|
|
|
SOC := sun7i-a20
|
2017-05-19 09:14:08 +08:00
|
|
|
endef
|
2020-01-23 21:21:19 +08:00
|
|
|
TARGET_DEVICES += cubietech_cubietruck
|
2017-05-19 09:14:08 +08:00
|
|
|
|
2020-01-23 21:21:19 +08:00
|
|
|
define Device/friendlyarm_nanopi-m1-plus
|
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
|
DEVICE_MODEL := NanoPi M1 Plus
|
2021-11-06 12:01:36 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-leds-gpio kmod-brcmfmac \
|
2022-07-25 10:29:30 +08:00
|
|
|
cypress-firmware-43430-sdio wpad-basic-openssl
|
2020-01-23 21:21:19 +08:00
|
|
|
SOC := sun8i-h3
|
2017-09-19 06:13:44 +08:00
|
|
|
endef
|
2020-01-23 21:21:19 +08:00
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-m1-plus
|
2017-09-19 06:13:44 +08:00
|
|
|
|
2020-01-23 21:21:19 +08:00
|
|
|
define Device/friendlyarm_nanopi-neo
|
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
|
DEVICE_MODEL := NanoPi NEO
|
|
|
|
|
SOC := sun8i-h3
|
2017-07-16 02:35:57 +08:00
|
|
|
endef
|
2020-01-23 21:21:19 +08:00
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-neo
|
2017-07-16 02:35:57 +08:00
|
|
|
|
2020-01-23 21:21:19 +08:00
|
|
|
define Device/friendlyarm_nanopi-neo-air
|
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
|
DEVICE_MODEL := NanoPi NEO Air
|
2021-11-06 12:01:36 +08:00
|
|
|
DEVICE_PACKAGES := kmod-leds-gpio kmod-brcmfmac \
|
2022-07-25 10:29:30 +08:00
|
|
|
brcmfmac-firmware-43430a0-sdio wpad-basic-openssl
|
2020-01-23 21:21:19 +08:00
|
|
|
SOC := sun8i-h3
|
|
|
|
|
endef
|
|
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-neo-air
|
2017-07-16 02:35:57 +08:00
|
|
|
|
2020-10-13 02:51:34 +08:00
|
|
|
define Device/friendlyarm_nanopi-r1
|
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
|
DEVICE_MODEL := NanoPi R1
|
2021-11-06 12:01:36 +08:00
|
|
|
DEVICE_PACKAGES := kmod-usb-net-rtl8152 kmod-leds-gpio \
|
2022-07-25 10:29:30 +08:00
|
|
|
kmod-brcmfmac cypress-firmware-43430-sdio wpad-basic-openssl
|
2020-10-13 02:51:34 +08:00
|
|
|
SOC := sun8i-h3
|
|
|
|
|
endef
|
|
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-r1
|
|
|
|
|
|
2020-08-12 04:03:53 +08:00
|
|
|
define Device/friendlyarm_zeropi
|
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
|
DEVICE_MODEL := ZeroPi
|
|
|
|
|
DEVICE_PACKAGES := kmod-rtc-sunxi
|
|
|
|
|
SOC := sun8i-h3
|
|
|
|
|
endef
|
|
|
|
|
TARGET_DEVICES += friendlyarm_zeropi
|
|
|
|
|
|
2020-01-23 21:21:19 +08:00
|
|
|
define Device/lamobo_lamobo-r1
|
|
|
|
|
DEVICE_VENDOR := Lamobo
|
|
|
|
|
DEVICE_MODEL := Lamobo R1
|
2021-09-11 06:02:15 +08:00
|
|
|
DEVICE_ALT0_VENDOR := Bananapi
|
|
|
|
|
DEVICE_ALT0_MODEL := BPi-R1
|
2022-07-25 10:29:30 +08:00
|
|
|
DEVICE_PACKAGES := kmod-ata-sunxi kmod-rtl8192cu wpad-basic-openssl
|
2021-09-11 06:02:15 +08:00
|
|
|
DEVICE_COMPAT_VERSION := 1.1
|
|
|
|
|
DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA
|
2020-01-23 21:21:19 +08:00
|
|
|
SOC := sun7i-a20
|
|
|
|
|
endef
|
|
|
|
|
TARGET_DEVICES += lamobo_lamobo-r1
|
2017-07-16 02:35:57 +08:00
|
|
|
|
2019-12-06 07:11:56 +08:00
|
|
|
define Device/lemaker_bananapi
|
2019-07-06 10:26:00 +08:00
|
|
|
DEVICE_VENDOR := LeMaker
|
|
|
|
|
DEVICE_MODEL := Banana Pi
|
2020-03-05 21:57:29 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi
|
2019-12-20 08:18:44 +08:00
|
|
|
SOC := sun7i-a20
|
2017-07-16 02:35:57 +08:00
|
|
|
endef
|
2019-12-06 07:11:56 +08:00
|
|
|
TARGET_DEVICES += lemaker_bananapi
|
2017-07-16 02:35:57 +08:00
|
|
|
|
2021-01-18 16:00:42 +08:00
|
|
|
define Device/sinovoip_bananapi-m2-berry
|
|
|
|
|
DEVICE_VENDOR := Sinovoip
|
|
|
|
|
DEVICE_MODEL := Banana Pi M2 Berry
|
2021-11-06 12:01:36 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-ata-sunxi kmod-brcmfmac \
|
2022-07-25 10:29:30 +08:00
|
|
|
cypress-firmware-43430-sdio wpad-basic-openssl
|
2021-01-18 16:00:42 +08:00
|
|
|
SUPPORTED_DEVICES:=lemaker,bananapi-m2-berry
|
|
|
|
|
SOC := sun8i-v40
|
|
|
|
|
endef
|
|
|
|
|
TARGET_DEVICES += sinovoip_bananapi-m2-berry
|
|
|
|
|
|
2020-05-10 00:53:05 +08:00
|
|
|
define Device/sinovoip_bananapi-m2-ultra
|
|
|
|
|
DEVICE_VENDOR := Sinovoip
|
2020-01-23 21:21:19 +08:00
|
|
|
DEVICE_MODEL := Banana Pi M2 Ultra
|
2021-11-06 12:01:36 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-ata-sunxi kmod-brcmfmac \
|
2022-07-25 10:29:30 +08:00
|
|
|
brcmfmac-firmware-43430a0-sdio wpad-basic-openssl
|
2020-05-10 00:53:05 +08:00
|
|
|
SUPPORTED_DEVICES:=lemaker,bananapi-m2-ultra
|
2020-01-23 21:21:19 +08:00
|
|
|
SOC := sun8i-r40
|
|
|
|
|
endef
|
2020-05-10 00:53:05 +08:00
|
|
|
TARGET_DEVICES += sinovoip_bananapi-m2-ultra
|
2017-07-16 02:35:57 +08:00
|
|
|
|
2019-12-06 07:11:56 +08:00
|
|
|
define Device/lemaker_bananapro
|
2019-07-06 10:26:00 +08:00
|
|
|
DEVICE_VENDOR := LeMaker
|
|
|
|
|
DEVICE_MODEL := Banana Pro
|
2023-08-12 19:51:38 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi kmod-brcmfmac \
|
|
|
|
|
cypress-firmware-43362-sdio wpad-basic-mbedtls
|
2019-12-20 08:18:44 +08:00
|
|
|
SOC := sun7i-a20
|
2017-07-16 02:35:57 +08:00
|
|
|
endef
|
2019-12-06 07:11:56 +08:00
|
|
|
TARGET_DEVICES += lemaker_bananapro
|
2017-07-16 02:35:57 +08:00
|
|
|
|
2020-01-23 21:21:19 +08:00
|
|
|
define Device/linksprite_pcduino3
|
|
|
|
|
DEVICE_VENDOR := LinkSprite
|
|
|
|
|
DEVICE_MODEL := pcDuino3
|
2020-03-05 21:57:29 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtc-sunxi kmod-ata-sunxi kmod-rtl8xxxu \
|
|
|
|
|
rtl8188eu-firmware
|
2019-12-20 08:18:44 +08:00
|
|
|
SOC := sun7i-a20
|
2017-07-16 02:35:57 +08:00
|
|
|
endef
|
2020-01-23 21:21:19 +08:00
|
|
|
TARGET_DEVICES += linksprite_pcduino3
|
2017-07-16 02:35:57 +08:00
|
|
|
|
2021-01-11 23:09:23 +08:00
|
|
|
define Device/linksprite_pcduino3-nano
|
|
|
|
|
DEVICE_VENDOR := LinkSprite
|
|
|
|
|
DEVICE_MODEL := pcDuino3 Nano
|
|
|
|
|
DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi
|
|
|
|
|
SOC := sun7i-a20
|
|
|
|
|
endef
|
|
|
|
|
TARGET_DEVICES += linksprite_pcduino3-nano
|
|
|
|
|
|
2019-12-06 07:11:56 +08:00
|
|
|
define Device/mele_m9
|
2019-07-06 10:26:00 +08:00
|
|
|
DEVICE_VENDOR := Mele
|
|
|
|
|
DEVICE_MODEL := M9
|
2021-11-06 12:01:36 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtl8192cu
|
2019-12-20 08:18:44 +08:00
|
|
|
SOC := sun6i-a31
|
2017-07-16 02:35:57 +08:00
|
|
|
endef
|
2019-12-06 07:11:56 +08:00
|
|
|
TARGET_DEVICES += mele_m9
|
2017-07-16 02:35:57 +08:00
|
|
|
|
2020-01-23 21:21:19 +08:00
|
|
|
define Device/olimex_a20-olinuxino-lime
|
|
|
|
|
DEVICE_VENDOR := Olimex
|
|
|
|
|
DEVICE_MODEL := A20-OLinuXino-LIME
|
2020-03-05 21:57:29 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi
|
2020-01-23 21:21:19 +08:00
|
|
|
SOC := sun7i
|
2018-09-30 22:42:03 +08:00
|
|
|
endef
|
2020-01-23 21:21:19 +08:00
|
|
|
TARGET_DEVICES += olimex_a20-olinuxino-lime
|
2018-09-30 22:42:03 +08:00
|
|
|
|
2020-01-23 21:21:19 +08:00
|
|
|
define Device/olimex_a20-olinuxino-lime2
|
|
|
|
|
DEVICE_VENDOR := Olimex
|
|
|
|
|
DEVICE_MODEL := A20-OLinuXino-LIME2
|
2020-03-05 21:57:29 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid
|
2020-01-23 21:21:19 +08:00
|
|
|
SOC := sun7i
|
|
|
|
|
endef
|
|
|
|
|
TARGET_DEVICES += olimex_a20-olinuxino-lime2
|
2018-09-30 22:42:03 +08:00
|
|
|
|
2020-01-23 21:21:19 +08:00
|
|
|
define Device/olimex_a20-olinuxino-lime2-emmc
|
|
|
|
|
DEVICE_VENDOR := Olimex
|
|
|
|
|
DEVICE_MODEL := A20-OLinuXino-LIME2
|
|
|
|
|
DEVICE_VARIANT := eMMC
|
2020-03-05 21:57:29 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid
|
2020-01-23 21:21:19 +08:00
|
|
|
SOC := sun7i
|
2017-09-27 04:41:56 +08:00
|
|
|
endef
|
2020-01-23 21:21:19 +08:00
|
|
|
TARGET_DEVICES += olimex_a20-olinuxino-lime2-emmc
|
2017-09-27 04:41:56 +08:00
|
|
|
|
2020-01-23 21:21:19 +08:00
|
|
|
define Device/olimex_a20-olinuxino-micro
|
|
|
|
|
DEVICE_VENDOR := Olimex
|
|
|
|
|
DEVICE_MODEL := A20-OLinuXino-MICRO
|
2020-03-05 21:57:29 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
|
2020-01-23 21:21:19 +08:00
|
|
|
SOC := sun7i
|
|
|
|
|
endef
|
|
|
|
|
TARGET_DEVICES += olimex_a20-olinuxino-micro
|
2017-09-27 04:41:56 +08:00
|
|
|
|
2019-12-06 07:11:56 +08:00
|
|
|
define Device/sinovoip_bananapi-m2-plus
|
2019-07-06 10:26:00 +08:00
|
|
|
DEVICE_VENDOR := Sinovoip
|
|
|
|
|
DEVICE_MODEL := Banana Pi M2+
|
2021-11-06 12:01:36 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-leds-gpio kmod-brcmfmac \
|
2022-07-25 10:29:30 +08:00
|
|
|
brcmfmac-firmware-43430a0-sdio wpad-basic-openssl
|
2019-12-20 08:18:44 +08:00
|
|
|
SOC := sun8i-h3
|
2019-02-15 23:08:53 +08:00
|
|
|
endef
|
2019-12-06 07:11:56 +08:00
|
|
|
TARGET_DEVICES += sinovoip_bananapi-m2-plus
|
2017-09-27 04:41:56 +08:00
|
|
|
|
2020-03-06 04:54:53 +08:00
|
|
|
define Device/sinovoip_bananapi-m3
|
|
|
|
|
DEVICE_VENDOR := Sinovoip
|
|
|
|
|
DEVICE_MODEL := Banana Pi M3
|
|
|
|
|
DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-leds-gpio kmod-rtc-ac100 \
|
|
|
|
|
kmod-brcmfmac cypress-firmware-43430-sdio wpad-basic-mbedtls
|
|
|
|
|
SOC := sun8i-a83t
|
|
|
|
|
endef
|
|
|
|
|
TARGET_DEVICES += sinovoip_bananapi-m3
|
|
|
|
|
|
2019-12-06 07:11:56 +08:00
|
|
|
define Device/xunlong_orangepi-one
|
2019-07-06 10:26:00 +08:00
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
|
DEVICE_MODEL := Orange Pi One
|
2019-02-20 21:17:45 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-rtc-sunxi
|
2019-12-20 08:18:44 +08:00
|
|
|
SOC := sun8i-h3
|
2019-02-20 21:17:45 +08:00
|
|
|
endef
|
2019-12-06 07:11:56 +08:00
|
|
|
TARGET_DEVICES += xunlong_orangepi-one
|
2017-09-21 01:32:01 +08:00
|
|
|
|
2019-12-06 07:11:56 +08:00
|
|
|
define Device/xunlong_orangepi-pc
|
2019-07-06 10:26:00 +08:00
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
|
DEVICE_MODEL := Orange Pi PC
|
2021-11-06 12:01:36 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-gpio-button-hotplug
|
2019-12-20 08:18:44 +08:00
|
|
|
SOC := sun8i-h3
|
2018-02-26 02:12:49 +08:00
|
|
|
endef
|
2019-12-06 07:11:56 +08:00
|
|
|
TARGET_DEVICES += xunlong_orangepi-pc
|
2018-02-26 02:12:49 +08:00
|
|
|
|
2019-12-06 07:11:56 +08:00
|
|
|
define Device/xunlong_orangepi-pc-plus
|
2019-07-06 10:26:00 +08:00
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
|
DEVICE_MODEL := Orange Pi PC Plus
|
2021-11-06 12:01:36 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-gpio-button-hotplug
|
2019-12-20 08:18:44 +08:00
|
|
|
SOC := sun8i-h3
|
2019-03-02 03:30:47 +08:00
|
|
|
endef
|
2019-12-06 07:11:56 +08:00
|
|
|
TARGET_DEVICES += xunlong_orangepi-pc-plus
|
2019-03-02 03:30:47 +08:00
|
|
|
|
2019-12-06 07:11:56 +08:00
|
|
|
define Device/xunlong_orangepi-plus
|
2019-07-06 10:26:00 +08:00
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
|
DEVICE_MODEL := Orange Pi Plus
|
2017-07-16 02:35:57 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-rtc-sunxi
|
2019-12-20 08:18:44 +08:00
|
|
|
SOC := sun8i-h3
|
2017-07-16 02:35:57 +08:00
|
|
|
endef
|
2019-12-06 07:11:56 +08:00
|
|
|
TARGET_DEVICES += xunlong_orangepi-plus
|
2017-07-16 02:35:57 +08:00
|
|
|
|
2020-01-23 21:21:19 +08:00
|
|
|
define Device/xunlong_orangepi-r1
|
|
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
|
DEVICE_MODEL := Orange Pi R1
|
2021-11-06 12:01:36 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-usb-net-rtl8152
|
2020-01-23 21:21:19 +08:00
|
|
|
SOC := sun8i-h2-plus
|
|
|
|
|
endef
|
|
|
|
|
TARGET_DEVICES += xunlong_orangepi-r1
|
|
|
|
|
|
|
|
|
|
define Device/xunlong_orangepi-zero
|
|
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
|
DEVICE_MODEL := Orange Pi Zero
|
|
|
|
|
DEVICE_PACKAGES:=kmod-rtc-sunxi
|
|
|
|
|
SOC := sun8i-h2-plus
|
|
|
|
|
endef
|
|
|
|
|
TARGET_DEVICES += xunlong_orangepi-zero
|
|
|
|
|
|
2019-12-06 07:11:56 +08:00
|
|
|
define Device/xunlong_orangepi-2
|
2019-07-06 10:26:00 +08:00
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
|
DEVICE_MODEL := Orange Pi 2
|
2017-10-24 04:33:00 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-rtc-sunxi
|
2019-12-20 08:18:44 +08:00
|
|
|
SOC := sun8i-h3
|
2017-10-24 04:33:00 +08:00
|
|
|
endef
|
2019-12-06 07:11:56 +08:00
|
|
|
TARGET_DEVICES += xunlong_orangepi-2
|