mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-08-14 02:02:52 +00:00
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>
31 lines
432 B
Plaintext
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>;
|
|
};
|