aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/image
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-03-17 17:36:54 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-03-17 19:12:19 +0000
commitb40f707f71d4e1fee9b2c20d62e235c5aba5533b (patch)
treebc66a5df9d56efd0cc8b45aa08a2082d1a746f2e /target/linux/mediatek/image
parent6890f6fe13bb8dfc40dbca89703d4ab1116dd4bc (diff)
downloadupstream-b40f707f71d4e1fee9b2c20d62e235c5aba5533b.tar.gz
upstream-b40f707f71d4e1fee9b2c20d62e235c5aba5533b.tar.bz2
upstream-b40f707f71d4e1fee9b2c20d62e235c5aba5533b.zip
mediatek: bpi-r64: use dt-overlay to select SATA or PCIE1
The Bananapi BPi-R64 got a SATA interface which cannot be used at the same time as the second mPCIe slot. The decission is made by hogging GPIO 90. Embed two addtional DT overlay blobs into the image to allow bootloader selection of either SATA or PCIE1 feature. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/mediatek/image')
-rw-r--r--target/linux/mediatek/image/mt7622.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/mediatek/image/mt7622.mk b/target/linux/mediatek/image/mt7622.mk
index 13f734b38c..fd043ed85f 100644
--- a/target/linux/mediatek/image/mt7622.mk
+++ b/target/linux/mediatek/image/mt7622.mk
@@ -73,6 +73,7 @@ define Device/bananapi_bpi-r64
DEVICE_VENDOR := Bananapi
DEVICE_MODEL := BPi-R64
DEVICE_DTS := mt7622-bananapi-bpi-r64
+ DEVICE_DTS_OVERLAY := mt7622-bananapi-bpi-r64-pcie1 mt7622-bananapi-bpi-r64-sata
DEVICE_PACKAGES := kmod-ata-ahci-mtk kmod-btmtkuart kmod-usb3 e2fsprogs mkf2fs f2fsck
ARTIFACTS := sdcard.img
IMAGES := sysupgrade.itb