0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2025-08-14 02:02:52 +00:00
Files
openwrt/target/linux/mediatek/dts/mt7981b-gatonetworks-gdsp-sd-boot.dtso
Enrico Mioso 072ae5a76b mediatek: filogic: add SD card support to GatoNetworks GDSP
The device is equipped with a GPS module, reporting data via /dev/ttyS1.
A TF card reader is also present. Only one of those components can be
used at once, since they share some PINs.
This commit adds two devicetree overlays to allow for the user to select
the desired configuration. Another overlay configuration to allow booting
from SD card is provided.

Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com>
2025-07-18 12:36:39 +01:00

31 lines
432 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
/plugin/;
/ {
compatible = "gatonetworks,gdsp", "mediatek,mt7981";
fragment@1 {
target = <&mmc0>;
__overlay__ {
card@0 {
compatible = "mmc-card";
reg = <0>;
partitions {
compatible = "gpt-partitions";
sdmmc_fit: block-partition-fit {
partname = "FIT";
};
};
};
};
};
};
&{/chosen} {
rootdisk = <&sdmmc_fit>;
};