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