arm: dts: Add fixed partition for TLT113-i SPI NAND.

Signed-off-by: Yilin Sun <imi415@imi.moe>
This commit is contained in:
Yilin Sun 2024-01-11 09:34:49 +08:00
parent 9aa63a2ab5
commit 738ce1e4fd
Signed by: imi415
GPG Key ID: 17F01E106F9F5E0A

View File

@ -104,7 +104,27 @@
compatible = "spi-nand";
reg = <0>;
spi-max-frequency = <50000000>;
};
partitions {
#address-cells = <1>;
#size-cells = <1>;
compatible = "fixed-partitions";
partition@0 {
label = "u-boot";
reg = <0x0 0x100000>; /* 1MB */
};
partition@100000 {
label = "env";
reg = <0x100000 0x400000>; /* 4MB */
};
partition@500000 {
label = "rootfs";
reg = <0x500000 0xfb00000>; /* 251MB */
};
};
};
};
/* The USB-C socket has its CC pins pulled to GND, so is hardwired as a UFP. */