mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 05:06:29 +00:00
8709aa3e9d
Commit f902baa917
("dt-bindings: mtd: Remove useless file about
partitions") removed the file partition.txt. Hence, in this commit, the
lines mentioning this file are updated to reference mtd.yaml, which now
includes partition{,s}.yaml.
Signed-off-by: Nayab Sayed <nayabbasha.sayed@microchip.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240208-partition-txt-v1-1-4398af3b7bb2@microchip.com
57 lines
1.2 KiB
Plaintext
57 lines
1.2 KiB
Plaintext
* Samsung S3C2410 and compatible NAND flash controller
|
|
|
|
Required properties:
|
|
- compatible : The possible values are:
|
|
"samsung,s3c2410-nand"
|
|
"samsung,s3c2412-nand"
|
|
"samsung,s3c2440-nand"
|
|
- reg : register's location and length.
|
|
- #address-cells, #size-cells : see nand-controller.yaml
|
|
- clocks : phandle to the nand controller clock
|
|
- clock-names : must contain "nand"
|
|
|
|
Optional child nodes:
|
|
Child nodes representing the available nand chips.
|
|
|
|
Optional child properties:
|
|
- nand-ecc-mode : see nand-controller.yaml
|
|
- nand-on-flash-bbt : see nand-controller.yaml
|
|
|
|
Each child device node may optionally contain a 'partitions' sub-node,
|
|
which further contains sub-nodes describing the flash partition mapping.
|
|
See mtd.yaml for more detail.
|
|
|
|
Example:
|
|
|
|
nand-controller@4e000000 {
|
|
compatible = "samsung,s3c2440-nand";
|
|
reg = <0x4e000000 0x40>;
|
|
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
clocks = <&clocks HCLK_NAND>;
|
|
clock-names = "nand";
|
|
|
|
nand {
|
|
nand-ecc-mode = "soft";
|
|
nand-on-flash-bbt;
|
|
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
partition@0 {
|
|
label = "u-boot";
|
|
reg = <0 0x040000>;
|
|
};
|
|
|
|
partition@40000 {
|
|
label = "kernel";
|
|
reg = <0x040000 0x500000>;
|
|
};
|
|
};
|
|
};
|
|
};
|