Skip to content

Commit 92b969e

Browse files
committed
bpi-r3: Build device tree for eMMC version
1 parent d16cfb1 commit 92b969e

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dtb-y += mediatek/mt7986a-bananapi-bpi-r3-sd.dtb
1+
dtb-y += mediatek/mt7986a-bananapi-bpi-r3-sd.dtb mediatek/mt7986a-bananapi-bpi-r3-emmc.dtb
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#include "mt7986a-bananapi-bpi-r3.dtsi"
2+
#include "mt7986a-bananapi-bpi-r3-emmc.dtsi"
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2+
/*
3+
* Copyright (C) 2021 MediaTek Inc.
4+
* Author: Sam.Shih <sam.shih@mediatek.com>
5+
*/
6+
7+
/*
8+
This is copied from linux where it is an overlay, unfortunatly it is not
9+
possible to use dtbo in sysboot unless present in syslinux.conf
10+
*/
11+
&{/soc/mmc@11230000} {
12+
bus-width = <8>;
13+
max-frequency = <200000000>;
14+
cap-mmc-highspeed;
15+
mmc-hs200-1_8v;
16+
mmc-hs400-1_8v;
17+
hs400-ds-delay = <0x14014>;
18+
non-removable;
19+
no-sd;
20+
no-sdio;
21+
status = "okay";
22+
};

0 commit comments

Comments
 (0)