2021-02-10 21:52:34 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2017-10-19 22:23:41 +08:00
|
|
|
#
|
2019-04-12 11:39:40 +08:00
|
|
|
# Copyright (C) 2013-2019 OpenWrt.org
|
2017-10-19 22:23:41 +08:00
|
|
|
# Copyright (C) 2016 Yousong Zhou
|
|
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/cubietech_cubieboard2
|
|
|
|
|
DEVICE_VENDOR := Cubietech
|
|
|
|
|
DEVICE_MODEL := Cubieboard2
|
2020-09-06 12:40:53 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun7i-a20
|
2017-10-19 22:23:41 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += cubietech_cubieboard2
|
2017-10-19 22:23:41 +08:00
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/cubietech_cubietruck
|
|
|
|
|
DEVICE_VENDOR := Cubietech
|
|
|
|
|
DEVICE_MODEL := Cubietruck
|
2020-09-06 12:40:53 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-brcmfmac
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun7i-a20
|
2017-10-19 22:23:41 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += cubietech_cubietruck
|
2017-10-19 22:23:41 +08:00
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/friendlyarm_nanopi-m1-plus
|
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
|
DEVICE_MODEL := NanoPi M1 Plus
|
2021-02-09 11:20:06 +08:00
|
|
|
DEVICE_PACKAGES:= kmod-leds-gpio kmod-brcmfmac \
|
2021-06-08 23:28:46 +08:00
|
|
|
cypress-firmware-43430-sdio wpad-basic-wolfssl
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun8i-h3
|
2017-10-19 22:23:41 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-m1-plus
|
2017-10-19 22:23:41 +08:00
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/friendlyarm_nanopi-neo
|
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
|
DEVICE_MODEL := NanoPi NEO
|
|
|
|
|
SOC := sun8i-h3
|
2017-10-19 22:23:41 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-neo
|
2017-10-19 22:23:41 +08:00
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/friendlyarm_nanopi-neo-air
|
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
|
DEVICE_MODEL := NanoPi NEO Air
|
2021-02-09 11:20:06 +08:00
|
|
|
DEVICE_PACKAGES := kmod-leds-gpio kmod-brcmfmac \
|
2021-11-13 23:15:53 +08:00
|
|
|
brcmfmac-firmware-43430a0-sdio wpad-basic-wolfssl
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun8i-h3
|
2017-10-19 22:23:41 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += friendlyarm_nanopi-neo-air
|
2017-10-19 22:23:41 +08:00
|
|
|
|
2020-05-04 21:21:44 +08:00
|
|
|
define Device/friendlyarm_nanopi-r1
|
|
|
|
|
DEVICE_VENDOR := FriendlyARM
|
|
|
|
|
DEVICE_MODEL := NanoPi R1
|
2021-02-09 11:20:06 +08:00
|
|
|
DEVICE_PACKAGES := kmod-usb-net-rtl8152 kmod-leds-gpio \
|
2021-06-08 23:28:46 +08:00
|
|
|
kmod-brcmfmac cypress-firmware-43430-sdio wpad-basic-wolfssl
|
2020-05-04 21:21:44 +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
|
|
|
|
|
SOC := sun8i-h3
|
|
|
|
|
endef
|
|
|
|
|
TARGET_DEVICES += friendlyarm_zeropi
|
|
|
|
|
|
2020-02-08 17:16:54 +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
|
|
|
|
|
DEVICE_PACKAGES := kmod-ata-sunxi kmod-rtl8192cu wpad-basic-wolfssl
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun7i-a20
|
2017-10-19 22:23:41 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += lamobo_lamobo-r1
|
2017-10-19 22:23:41 +08:00
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/lemaker_bananapi
|
|
|
|
|
DEVICE_VENDOR := LeMaker
|
|
|
|
|
DEVICE_MODEL := Banana Pi
|
2020-09-06 12:40:53 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun7i-a20
|
2017-10-19 22:23:41 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += lemaker_bananapi
|
2017-10-19 22:23:41 +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
|
|
|
|
|
DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi kmod-brcmfmac \
|
2021-06-08 23:28:46 +08:00
|
|
|
cypress-firmware-43430-sdio wpad-basic-wolfssl
|
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-02-08 17:16:54 +08:00
|
|
|
DEVICE_MODEL := Banana Pi M2 Ultra
|
2021-02-09 11:20:06 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-ata-sunxi kmod-brcmfmac \
|
2020-10-15 23:42:54 +08:00
|
|
|
brcmfmac-firmware-43430a0-sdio wpad-basic-wolfssl
|
2020-05-10 00:53:05 +08:00
|
|
|
SUPPORTED_DEVICES:=lemaker,bananapi-m2-ultra
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun8i-r40
|
2017-10-19 22:23:41 +08:00
|
|
|
endef
|
2020-05-10 00:53:05 +08:00
|
|
|
TARGET_DEVICES += sinovoip_bananapi-m2-ultra
|
2017-10-19 22:23:41 +08:00
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/lemaker_bananapro
|
|
|
|
|
DEVICE_VENDOR := LeMaker
|
|
|
|
|
DEVICE_MODEL := Banana Pro
|
2020-09-06 12:40:53 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-sunxi kmod-brcmfmac
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun7i-a20
|
2017-10-19 22:23:41 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += lemaker_bananapro
|
2017-10-19 22:23:41 +08:00
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/linksprite_pcduino3
|
|
|
|
|
DEVICE_VENDOR := LinkSprite
|
|
|
|
|
DEVICE_MODEL := pcDuino3
|
2020-09-06 12:40:53 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtc-sunxi kmod-ata-sunxi kmod-rtl8xxxu \
|
|
|
|
|
rtl8188eu-firmware
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun7i-a20
|
|
|
|
|
endef
|
|
|
|
|
TARGET_DEVICES += linksprite_pcduino3
|
2017-10-19 22:23:41 +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
|
|
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/mele_m9
|
|
|
|
|
DEVICE_VENDOR := Mele
|
|
|
|
|
DEVICE_MODEL := M9
|
2021-02-09 11:20:06 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-sun4i-emac kmod-rtl8192cu
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun6i-a31
|
2017-10-19 22:23:41 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += mele_m9
|
2017-10-19 22:23:41 +08:00
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/olimex_a20-olinuxino-lime
|
|
|
|
|
DEVICE_VENDOR := Olimex
|
|
|
|
|
DEVICE_MODEL := A20-OLinuXino-LIME
|
2020-09-06 12:40:53 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun7i
|
2019-01-03 19:29:28 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += olimex_a20-olinuxino-lime
|
2019-01-03 19:29:28 +08:00
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/olimex_a20-olinuxino-lime2
|
|
|
|
|
DEVICE_VENDOR := Olimex
|
|
|
|
|
DEVICE_MODEL := A20-OLinuXino-LIME2
|
2020-09-06 12:40:53 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun7i
|
2017-10-19 22:23:41 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += olimex_a20-olinuxino-lime2
|
2017-10-19 22:23:41 +08:00
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/olimex_a20-olinuxino-lime2-emmc
|
|
|
|
|
DEVICE_VENDOR := Olimex
|
|
|
|
|
DEVICE_MODEL := A20-OLinuXino-LIME2
|
|
|
|
|
DEVICE_VARIANT := eMMC
|
2020-09-06 12:40:53 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun7i
|
2019-04-12 11:39:40 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += olimex_a20-olinuxino-lime2-emmc
|
2019-04-12 11:39:40 +08:00
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/olimex_a20-olinuxino-micro
|
|
|
|
|
DEVICE_VENDOR := Olimex
|
|
|
|
|
DEVICE_MODEL := A20-OLinuXino-MICRO
|
2020-09-06 12:40:53 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun7i
|
2018-01-09 14:38:15 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += olimex_a20-olinuxino-micro
|
2018-01-09 14:38:15 +08:00
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/sinovoip_bananapi-m2-plus
|
|
|
|
|
DEVICE_VENDOR := Sinovoip
|
|
|
|
|
DEVICE_MODEL := Banana Pi M2+
|
2021-02-09 11:20:06 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-leds-gpio kmod-brcmfmac \
|
2021-01-04 21:52:20 +08:00
|
|
|
brcmfmac-firmware-43430a0-sdio wpad-basic-wolfssl
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun8i-h3
|
2017-10-19 22:23:41 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += sinovoip_bananapi-m2-plus
|
2017-10-19 22:23:41 +08:00
|
|
|
|
2020-02-08 21:14:22 +08:00
|
|
|
define Device/xunlong_orangepi-one
|
|
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
|
DEVICE_MODEL := Orange Pi One
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun8i-h3
|
2019-04-12 11:39:40 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += xunlong_orangepi-one
|
2019-04-12 11:39:40 +08:00
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/xunlong_orangepi-pc
|
|
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
|
DEVICE_MODEL := Orange Pi PC
|
2021-02-09 11:20:06 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-gpio-button-hotplug
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun8i-h3
|
2018-04-23 18:50:49 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += xunlong_orangepi-pc
|
2018-04-23 18:50:49 +08:00
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/xunlong_orangepi-pc-plus
|
|
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
|
DEVICE_MODEL := Orange Pi PC Plus
|
2021-02-09 11:20:06 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-gpio-button-hotplug
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun8i-h3
|
2019-04-12 11:39:40 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += xunlong_orangepi-pc-plus
|
2019-04-12 11:39:40 +08:00
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/xunlong_orangepi-plus
|
|
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
|
DEVICE_MODEL := Orange Pi Plus
|
|
|
|
|
SOC := sun8i-h3
|
2017-10-19 22:23:41 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += xunlong_orangepi-plus
|
2017-10-19 22:23:41 +08:00
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/xunlong_orangepi-r1
|
|
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
|
DEVICE_MODEL := Orange Pi R1
|
2021-02-09 11:20:06 +08:00
|
|
|
DEVICE_PACKAGES:=kmod-usb-net-rtl8152
|
2020-02-08 17:16:54 +08:00
|
|
|
SOC := sun8i-h2-plus
|
|
|
|
|
endef
|
|
|
|
|
TARGET_DEVICES += xunlong_orangepi-r1
|
2017-10-19 22:23:41 +08:00
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/xunlong_orangepi-zero
|
|
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
|
DEVICE_MODEL := Orange Pi Zero
|
|
|
|
|
SOC := sun8i-h2-plus
|
2018-01-09 14:38:15 +08:00
|
|
|
endef
|
2020-02-08 17:16:54 +08:00
|
|
|
TARGET_DEVICES += xunlong_orangepi-zero
|
2018-01-09 14:38:15 +08:00
|
|
|
|
2020-02-08 17:16:54 +08:00
|
|
|
define Device/xunlong_orangepi-2
|
|
|
|
|
DEVICE_VENDOR := Xunlong
|
|
|
|
|
DEVICE_MODEL := Orange Pi 2
|
|
|
|
|
SOC := sun8i-h3
|
2017-10-19 22:23:41 +08:00
|
|
|
endef
|
2020-02-08 21:14:22 +08:00
|
|
|
TARGET_DEVICES += xunlong_orangepi-2
|