mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 03:06:35 +00:00
6368ed1ae5
Use the new fitblk driver on the BananaPi R2 as well as UniElec U7623. Introduce boot device selection for fitblk's /chosen/rootdisk handle, similar to how it is already done on MT7622, MT7986 and MT7988. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
35 lines
624 B
Plaintext
35 lines
624 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
|
|
/*
|
|
* Copyright 2018 Kristian Evensen <kristian.evensen@gmail.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "mt7623a-unielec-u7623-02.dtsi"
|
|
|
|
/ {
|
|
model = "UniElec U7623-02 eMMC";
|
|
compatible = "unielec,u7623-02", "mediatek,mt7623";
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
bootargs = "earlycon=uart8250,mmio32,0x11004000 root=/dev/fit0";
|
|
rootdisk = <&emmc_rootdisk>;
|
|
};
|
|
};
|
|
|
|
&mmc0 {
|
|
card@0 {
|
|
compatible = "mmc-card";
|
|
reg = <0>;
|
|
|
|
block {
|
|
compatible = "block-device";
|
|
partitions {
|
|
emmc_rootdisk: block-partition-env {
|
|
partno = <3>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|