f902baa917
There is already a real partitions.yaml file, so assuming everybody knows hot to read yaml schema now, this text file is no longer needed, so drop it. Depending on the situation, the lines referring to this file are either dropped or edited to point to mtd.yaml which includes partition{,s}.yaml. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/linux-mtd/20221114090315.848208-3-miquel.raynal@bootlin.com
51 lines
1.2 KiB
Plaintext
51 lines
1.2 KiB
Plaintext
NXP LPC32xx SoC NAND MLC controller
|
|
|
|
Required properties:
|
|
- compatible: "nxp,lpc3220-mlc"
|
|
- reg: Address and size of the controller
|
|
- interrupts: The NAND interrupt specification
|
|
- gpios: GPIO specification for NAND write protect
|
|
|
|
The following required properties are very controller specific. See the LPC32xx
|
|
User Manual 7.5.14 MLC NAND Timing Register (the values here are specified in
|
|
Hz, to make them independent of actual clock speed and to provide for good
|
|
accuracy:)
|
|
- nxp,tcea_delay: TCEA_DELAY
|
|
- nxp,busy_delay: BUSY_DELAY
|
|
- nxp,nand_ta: NAND_TA
|
|
- nxp,rd_high: RD_HIGH
|
|
- nxp,rd_low: RD_LOW
|
|
- nxp,wr_high: WR_HIGH
|
|
- nxp,wr_low: WR_LOW
|
|
|
|
Optional subnodes:
|
|
- Partitions, see Documentation/devicetree/bindings/mtd/mtd.yaml
|
|
|
|
Example:
|
|
|
|
mlc: flash@200a8000 {
|
|
compatible = "nxp,lpc3220-mlc";
|
|
reg = <0x200A8000 0x11000>;
|
|
interrupts = <11 0>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
nxp,tcea-delay = <333333333>;
|
|
nxp,busy-delay = <10000000>;
|
|
nxp,nand-ta = <18181818>;
|
|
nxp,rd-high = <31250000>;
|
|
nxp,rd-low = <45454545>;
|
|
nxp,wr-high = <40000000>;
|
|
nxp,wr-low = <83333333>;
|
|
gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
|
|
|
|
mtd0@00000000 {
|
|
label = "boot";
|
|
reg = <0x00000000 0x00064000>;
|
|
read-only;
|
|
};
|
|
|
|
...
|
|
|
|
};
|