Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
commit
91bdfd5474
@ -61,6 +61,8 @@ samsung,wam250|\
|
||||
ubnt,nanostation-m|\
|
||||
yuncore,a770|\
|
||||
yuncore,a782|\
|
||||
yuncore,a930|\
|
||||
yuncore,xd3200|\
|
||||
yuncore,xd4200|\
|
||||
zyxel,nbg6616)
|
||||
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000"
|
||||
|
||||
@ -0,0 +1,68 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
|
||||
#include "qca9533_mikrotik_routerboard-16m.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "mikrotik,routerboard-mapl-2nd", "qca,qca9533";
|
||||
model = "MikroTik RouterBOARD mAPL-2nD (mAP lite)";
|
||||
|
||||
aliases {
|
||||
led-boot = &led_user;
|
||||
led-failsafe = &led_user;
|
||||
led-running = &led_user;
|
||||
led-upgrade = &led_user;
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&led_power_pin &led_lan_pin>;
|
||||
|
||||
power {
|
||||
label = "green:power";
|
||||
gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
lan {
|
||||
label = "green:lan";
|
||||
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
wlan {
|
||||
label = "green:wlan";
|
||||
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "phy0tpt";
|
||||
};
|
||||
|
||||
led_user: user {
|
||||
label = "green:user";
|
||||
gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ð0 {
|
||||
status = "okay";
|
||||
|
||||
phy-handle = <&swphy0>;
|
||||
|
||||
gmac-config {
|
||||
device = <&gmac>;
|
||||
switch-phy-swap = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
ð1 {
|
||||
compatible = "syscon", "simple-mfd";
|
||||
};
|
||||
|
||||
&pinmux {
|
||||
led_lan_pin: pinmux_led_lan_pin {
|
||||
pinctrl-single,bits = <0x4 0x0 0xff>;
|
||||
};
|
||||
|
||||
led_power_pin: pinmux_led_power_pin {
|
||||
pinctrl-single,bits = <0x10 0x0 0xff00>;
|
||||
};
|
||||
};
|
||||
102
target/linux/ath79/dts/qca9533_yuncore_a930.dts
Normal file
102
target/linux/ath79/dts/qca9533_yuncore_a930.dts
Normal file
@ -0,0 +1,102 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
|
||||
#include "qca953x.dtsi"
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
/ {
|
||||
compatible = "yuncore,a930", "qca,qca9533";
|
||||
model = "YunCore A930";
|
||||
|
||||
aliases {
|
||||
label-mac-device = ð1;
|
||||
led-boot = &led_system;
|
||||
led-failsafe = &led_system;
|
||||
led-running = &led_system;
|
||||
led-upgrade = &led_system;
|
||||
};
|
||||
|
||||
keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
linux,code = <KEY_RESTART>;
|
||||
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
|
||||
debounce-interval = <60>;
|
||||
};
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led_system: system {
|
||||
label = "green:system";
|
||||
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
|
||||
default-state = "keep";
|
||||
};
|
||||
|
||||
wlan2g {
|
||||
label = "blue:wlan2g";
|
||||
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "phy0tpt";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spi {
|
||||
status = "okay";
|
||||
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <25000000>;
|
||||
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x000000 0x040000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@40000 {
|
||||
label = "u-boot-env";
|
||||
reg = <0x040000 0x010000>;
|
||||
};
|
||||
|
||||
partition@50000 {
|
||||
compatible = "denx,uimage";
|
||||
label = "firmware";
|
||||
reg = <0x050000 0xfa0000>;
|
||||
};
|
||||
|
||||
art: partition@ff0000 {
|
||||
label = "art";
|
||||
reg = <0xff0000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ð0 {
|
||||
status = "okay";
|
||||
|
||||
phy-handle = <&swphy4>;
|
||||
|
||||
mtd-mac-address = <&art 0x0>;
|
||||
};
|
||||
|
||||
ð1 {
|
||||
mtd-mac-address = <&art 0x6>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
status = "okay";
|
||||
mtd-cal-data = <&art 0x1000>;
|
||||
};
|
||||
32
target/linux/ath79/dts/qca9563_yuncore_xd3200.dts
Normal file
32
target/linux/ath79/dts/qca9563_yuncore_xd3200.dts
Normal file
@ -0,0 +1,32 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
|
||||
#include "qca9563_yuncore_xd4200.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "yuncore,xd3200", "qca,qca9563";
|
||||
model = "YunCore XD3200";
|
||||
|
||||
aliases {
|
||||
label-mac-device = ð0;
|
||||
led-boot = &led_system;
|
||||
led-failsafe = &led_system;
|
||||
led-running = &led_system;
|
||||
led-upgrade = &led_system;
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led_system: system {
|
||||
label = "green:system";
|
||||
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
|
||||
default-state = "keep";
|
||||
};
|
||||
|
||||
wlan2g {
|
||||
label = "blue:wlan2g";
|
||||
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
|
||||
linux,default-trigger = "phy1tpt";
|
||||
};
|
||||
};
|
||||
};
|
||||
@ -220,7 +220,8 @@ glinet,gl-x750)
|
||||
hak5,lan-turtle)
|
||||
ucidef_set_led_netdev "wan" "WAN" "orange:system" "eth1"
|
||||
;;
|
||||
joyit,jt-or750i)
|
||||
joyit,jt-or750i|\
|
||||
yuncore,xd3200)
|
||||
ucidef_set_led_default "ath10k" "ath10k-disable" "ath10k-phy0" "0"
|
||||
;;
|
||||
meraki,mr12|\
|
||||
@ -347,10 +348,7 @@ tplink,tl-mr6400-v1)
|
||||
ucidef_set_led_netdev "wan" "WAN" "white:wan" "eth1"
|
||||
ucidef_set_led_netdev "4g" "4G" "white:4g" "usb0"
|
||||
;;
|
||||
tplink,tl-wpa8630-v1|\
|
||||
tplink,tl-wpa8630p-v2-int|\
|
||||
tplink,tl-wpa8630p-v2.0-eu|\
|
||||
tplink,tl-wpa8630p-v2.1-eu)
|
||||
tplink,tl-wpa8630-v1)
|
||||
ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x3c"
|
||||
;;
|
||||
tplink,tl-wr842n-v2)
|
||||
|
||||
@ -307,6 +307,7 @@ ath79_setup_interfaces()
|
||||
ubnt,nanobeam-ac-gen2|\
|
||||
ubnt,nanostation-ac|\
|
||||
yuncore,a782|\
|
||||
yuncore,xd3200|\
|
||||
yuncore,xd4200)
|
||||
ucidef_add_switch "switch0" \
|
||||
"0@eth0" "2:lan" "3:wan"
|
||||
@ -382,10 +383,7 @@ ath79_setup_interfaces()
|
||||
ucidef_add_switch "switch0" \
|
||||
"0@eth0" "1:lan:1" "2:lan:3" "3:lan:2"
|
||||
;;
|
||||
tplink,tl-wpa8630-v1|\
|
||||
tplink,tl-wpa8630p-v2-int|\
|
||||
tplink,tl-wpa8630p-v2.0-eu|\
|
||||
tplink,tl-wpa8630p-v2.1-eu)
|
||||
tplink,tl-wpa8630-v1)
|
||||
# port 5 (internal) is the power-line port
|
||||
ucidef_add_switch "switch0" \
|
||||
"0@eth0" "2:lan:3" "3:lan:2" "4:lan:1" "5:lan:4"
|
||||
|
||||
@ -44,7 +44,8 @@ case "$FIRMWARE" in
|
||||
ubnt,powerbeam-5ac-500|\
|
||||
ubnt,powerbeam-5ac-gen2|\
|
||||
ubnt,unifiac-pro|\
|
||||
yuncore,a770)
|
||||
yuncore,a770|\
|
||||
yuncore,xd3200)
|
||||
caldata_extract "art" 0x5000 0x844
|
||||
;;
|
||||
devolo,dvl1200e|\
|
||||
@ -227,10 +228,7 @@ case "$FIRMWARE" in
|
||||
;;
|
||||
tplink,eap225-outdoor-v1|\
|
||||
tplink,eap225-v3|\
|
||||
tplink,eap225-wall-v2|\
|
||||
tplink,tl-wpa8630p-v2-int|\
|
||||
tplink,tl-wpa8630p-v2.0-eu|\
|
||||
tplink,tl-wpa8630p-v2.1-eu)
|
||||
tplink,eap225-wall-v2)
|
||||
caldata_extract "art" 0x5000 0x2f20
|
||||
ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary info 0x8) +1)
|
||||
ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
|
||||
|
||||
@ -587,36 +587,6 @@ define Device/tplink_tl-wpa8630-v1
|
||||
endef
|
||||
TARGET_DEVICES += tplink_tl-wpa8630-v1
|
||||
|
||||
define Device/tplink_tl-wpa8630p-v2
|
||||
$(Device/tplink-safeloader)
|
||||
SOC := qca9563
|
||||
DEVICE_MODEL := TL-WPA8630P
|
||||
IMAGE_SIZE := 6016k
|
||||
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
|
||||
endef
|
||||
|
||||
define Device/tplink_tl-wpa8630p-v2-int
|
||||
$(Device/tplink_tl-wpa8630p-v2)
|
||||
DEVICE_VARIANT := v2 (Int.)
|
||||
TPLINK_BOARD_ID := TL-WPA8630P-V2-INT
|
||||
endef
|
||||
TARGET_DEVICES += tplink_tl-wpa8630p-v2-int
|
||||
|
||||
define Device/tplink_tl-wpa8630p-v2.0-eu
|
||||
$(Device/tplink_tl-wpa8630p-v2)
|
||||
DEVICE_VARIANT := v2.0 (EU)
|
||||
TPLINK_BOARD_ID := TL-WPA8630P-V2.0-EU
|
||||
SUPPORTED_DEVICES += tplink,tl-wpa8630p-v2-eu
|
||||
endef
|
||||
TARGET_DEVICES += tplink_tl-wpa8630p-v2.0-eu
|
||||
|
||||
define Device/tplink_tl-wpa8630p-v2.1-eu
|
||||
$(Device/tplink_tl-wpa8630p-v2)
|
||||
DEVICE_VARIANT := v2.1 (EU)
|
||||
TPLINK_BOARD_ID := TL-WPA8630P-V2.1-EU
|
||||
endef
|
||||
TARGET_DEVICES += tplink_tl-wpa8630p-v2.1-eu
|
||||
|
||||
define Device/tplink_tl-wr1043nd-v1
|
||||
$(Device/tplink-8m)
|
||||
SOC := ar9132
|
||||
|
||||
@ -2243,6 +2243,27 @@ define Device/yuncore_a782
|
||||
endef
|
||||
TARGET_DEVICES += yuncore_a782
|
||||
|
||||
define Device/yuncore_a930
|
||||
SOC := qca9533
|
||||
DEVICE_VENDOR := YunCore
|
||||
DEVICE_MODEL := A930
|
||||
IMAGE_SIZE := 16000k
|
||||
IMAGES += tftp.bin
|
||||
IMAGE/tftp.bin := $$(IMAGE/sysupgrade.bin) | yuncore-tftp-header-16m
|
||||
endef
|
||||
TARGET_DEVICES += yuncore_a930
|
||||
|
||||
define Device/yuncore_xd3200
|
||||
SOC := qca9563
|
||||
DEVICE_VENDOR := YunCore
|
||||
DEVICE_MODEL := XD3200
|
||||
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
||||
IMAGE_SIZE := 16000k
|
||||
IMAGES += tftp.bin
|
||||
IMAGE/tftp.bin := $$(IMAGE/sysupgrade.bin) | yuncore-tftp-header-16m
|
||||
endef
|
||||
TARGET_DEVICES += yuncore_xd3200
|
||||
|
||||
define Device/yuncore_xd4200
|
||||
SOC := qca9563
|
||||
DEVICE_VENDOR := YunCore
|
||||
|
||||
@ -45,6 +45,14 @@ define Device/mikrotik_routerboard-lhg-2nd
|
||||
endef
|
||||
TARGET_DEVICES += mikrotik_routerboard-lhg-2nd
|
||||
|
||||
define Device/mikrotik_routerboard-mapl-2nd
|
||||
$(Device/mikrotik_nor)
|
||||
SOC := qca9533
|
||||
DEVICE_MODEL := RouterBOARD mAPL-2nD (mAP lite)
|
||||
IMAGE_SIZE := 16256k
|
||||
endef
|
||||
TARGET_DEVICES += mikrotik_routerboard-mapl-2nd
|
||||
|
||||
define Device/mikrotik_routerboard-sxt-5nd-r2
|
||||
$(Device/mikrotik_nand)
|
||||
SOC := ar9344
|
||||
|
||||
@ -223,6 +223,41 @@ define Device/tplink_tl-wa901nd-v5
|
||||
endef
|
||||
TARGET_DEVICES += tplink_tl-wa901nd-v5
|
||||
|
||||
define Device/tplink_tl-wpa8630p-v2
|
||||
$(Device/tplink-safeloader)
|
||||
SOC := qca9563
|
||||
DEVICE_MODEL := TL-WPA8630P
|
||||
IMAGE_SIZE := 6016k
|
||||
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
|
||||
DEVICE_COMPAT_VERSION := 2.0
|
||||
DEVICE_COMPAT_MESSAGE := The flash erase blocksize has changed to 4k from the 64k in previous versions, \
|
||||
so the JFFS2 settings partition MUST be reformatted to avoid data corruption. \
|
||||
Backup your settings before upgrading, then during sysupgrade, \
|
||||
de-select "Keep settings" and select "Force" to continue (equivilant to "sysupgrade -n -F").
|
||||
endef
|
||||
|
||||
define Device/tplink_tl-wpa8630p-v2-int
|
||||
$(Device/tplink_tl-wpa8630p-v2)
|
||||
DEVICE_VARIANT := v2 (Int.)
|
||||
TPLINK_BOARD_ID := TL-WPA8630P-V2-INT
|
||||
endef
|
||||
TARGET_DEVICES += tplink_tl-wpa8630p-v2-int
|
||||
|
||||
define Device/tplink_tl-wpa8630p-v2.0-eu
|
||||
$(Device/tplink_tl-wpa8630p-v2)
|
||||
DEVICE_VARIANT := v2.0 (EU)
|
||||
TPLINK_BOARD_ID := TL-WPA8630P-V2.0-EU
|
||||
SUPPORTED_DEVICES += tplink,tl-wpa8630p-v2-eu
|
||||
endef
|
||||
TARGET_DEVICES += tplink_tl-wpa8630p-v2.0-eu
|
||||
|
||||
define Device/tplink_tl-wpa8630p-v2.1-eu
|
||||
$(Device/tplink_tl-wpa8630p-v2)
|
||||
DEVICE_VARIANT := v2.1 (EU)
|
||||
TPLINK_BOARD_ID := TL-WPA8630P-V2.1-EU
|
||||
endef
|
||||
TARGET_DEVICES += tplink_tl-wpa8630p-v2.1-eu
|
||||
|
||||
define Device/tplink_tl-wr703n
|
||||
$(Device/tplink-4mlzma)
|
||||
SOC := ar9331
|
||||
|
||||
@ -7,7 +7,8 @@ board_config_update
|
||||
board=$(board_name)
|
||||
|
||||
case "$board" in
|
||||
mikrotik,routerboard-lhg-2nd)
|
||||
mikrotik,routerboard-lhg-2nd|\
|
||||
mikrotik,routerboard-mapl-2nd)
|
||||
ucidef_set_led_netdev "lan" "lan" "green:lan" "eth0"
|
||||
;;
|
||||
mikrotik,routerboard-wapr-2nd)
|
||||
|
||||
@ -18,6 +18,7 @@ ath79_setup_interfaces()
|
||||
mikrotik,routerboard-912uag-2hpnd|\
|
||||
mikrotik,routerboard-921gs-5hpacd-15s|\
|
||||
mikrotik,routerboard-lhg-2nd|\
|
||||
mikrotik,routerboard-mapl-2nd|\
|
||||
mikrotik,routerboard-sxt-5nd-r2|\
|
||||
mikrotik,routerboard-wap-g-5hact2hnd|\
|
||||
mikrotik,routerboard-wapr-2nd)
|
||||
@ -41,6 +42,7 @@ ath79_setup_macs()
|
||||
mikrotik,routerboard-912uag-2hpnd|\
|
||||
mikrotik,routerboard-921gs-5hpacd-15s|\
|
||||
mikrotik,routerboard-lhg-2nd|\
|
||||
mikrotik,routerboard-mapl-2nd|\
|
||||
mikrotik,routerboard-sxt-5nd-r2|\
|
||||
mikrotik,routerboard-wap-g-5hact2hnd|\
|
||||
mikrotik,routerboard-wapr-2nd)
|
||||
|
||||
@ -29,6 +29,7 @@ case "$FIRMWARE" in
|
||||
mikrotik,routerboard-wapr-2nd)
|
||||
caldata_mikrotik_ath9k 0x1000 0x440 $(macaddr_add "$mac_base" +1)
|
||||
;;
|
||||
mikrotik,routerboard-mapl-2nd|\
|
||||
mikrotik,routerboard-wap-g-5hact2hnd)
|
||||
caldata_mikrotik_ath9k 0x1000 0x440 $(macaddr_add "$mac_base" +2)
|
||||
;;
|
||||
|
||||
@ -94,6 +94,11 @@ tplink,tl-wa850re-v2)
|
||||
ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "blue:signal4" "wlan0" "60" "100"
|
||||
ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "blue:signal5" "wlan0" "80" "100"
|
||||
;;
|
||||
tplink,tl-wpa8630p-v2-int|\
|
||||
tplink,tl-wpa8630p-v2.0-eu|\
|
||||
tplink,tl-wpa8630p-v2.1-eu)
|
||||
ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x3c"
|
||||
;;
|
||||
tplink,tl-wr940n-v3|\
|
||||
tplink,tl-wr940n-v4|\
|
||||
tplink,tl-wr941nd-v6)
|
||||
|
||||
@ -83,6 +83,13 @@ ath79_setup_interfaces()
|
||||
ucidef_add_switch "switch0" \
|
||||
"0@eth0" "1:lan:4" "2:lan:1" "3:lan:2" "4:lan:3"
|
||||
;;
|
||||
tplink,tl-wpa8630p-v2-int|\
|
||||
tplink,tl-wpa8630p-v2.0-eu|\
|
||||
tplink,tl-wpa8630p-v2.1-eu)
|
||||
# port 5 (internal) is the power-line port
|
||||
ucidef_add_switch "switch0" \
|
||||
"0@eth0" "2:lan:3" "3:lan:2" "4:lan:1" "5:lan:4"
|
||||
;;
|
||||
tplink,tl-wr941-v2)
|
||||
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
|
||||
;;
|
||||
|
||||
21
target/linux/ath79/tiny/base-files/etc/board.d/05_compat-version
Executable file
21
target/linux/ath79/tiny/base-files/etc/board.d/05_compat-version
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2020 OpenWrt.org
|
||||
#
|
||||
|
||||
. /lib/functions.sh
|
||||
. /lib/functions/uci-defaults.sh
|
||||
|
||||
board_config_update
|
||||
|
||||
case "$(board_name)" in
|
||||
tplink,tl-wpa8630p-v2-int|\
|
||||
tplink,tl-wpa8630p-v2.0-eu|\
|
||||
tplink,tl-wpa8630p-v2.1-eu)
|
||||
ucidef_set_compat_version "2.0"
|
||||
;;
|
||||
esac
|
||||
|
||||
board_config_flush
|
||||
|
||||
exit 0
|
||||
@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ -e /lib/firmware/$FIRMWARE ] && exit 0
|
||||
|
||||
. /lib/functions/caldata.sh
|
||||
|
||||
board=$(board_name)
|
||||
|
||||
case "$FIRMWARE" in
|
||||
"ath10k/pre-cal-pci-0000:00:00.0.bin")
|
||||
case $board in
|
||||
tplink,tl-wpa8630p-v2-int|\
|
||||
tplink,tl-wpa8630p-v2.0-eu|\
|
||||
tplink,tl-wpa8630p-v2.1-eu)
|
||||
caldata_extract "art" 0x5000 0x2f20
|
||||
ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary info 0x8) 1)
|
||||
ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
|
||||
/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
@ -509,24 +509,27 @@ $(eval $(call KernelPackage,sound-soc-hifiberry-dac))
|
||||
|
||||
|
||||
define KernelPackage/sound-soc-hifiberry-dacplus
|
||||
TITLE:=Support for HifiBerry DAC+ / DAC+ Pro
|
||||
TITLE:=Support for HifiBerry DAC+ / DAC+ Pro / Amp2
|
||||
KCONFIG:= \
|
||||
CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS \
|
||||
CONFIG_SND_SOC_PCM512x
|
||||
CONFIG_SND_SOC_PCM512x \
|
||||
CONFIG_SND_SOC_PCM512x_I2C
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/clk/clk-hifiberry-dacpro.ko \
|
||||
$(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-dacplus.ko \
|
||||
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko
|
||||
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko \
|
||||
$(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x-i2c.ko
|
||||
AUTOLOAD:=$(call AutoLoad,68,clk-hifiberry-dacpro snd-soc-pcm512x \
|
||||
snd-soc-hifiberry-dacplus)
|
||||
snd-soc-pcm512x-i2c snd-soc-hifiberry-dacplus)
|
||||
DEPENDS:= \
|
||||
kmod-sound-soc-bcm2835-i2s \
|
||||
+kmod-i2c-bcm2835
|
||||
+kmod-i2c-bcm2835 \
|
||||
+kmod-regmap-i2c
|
||||
$(call AddDepends/sound)
|
||||
endef
|
||||
|
||||
define KernelPackage/sound-soc-hifiberry-dacplus/description
|
||||
This package contains support for HifiBerry DAC+ / DAC+ Pro
|
||||
This package contains support for HifiBerry DAC+ / DAC+ Pro / Amp2
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-soc-hifiberry-dacplus))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user