12944a44dSRoland StiggeNXP LPC32xx SoC NAND SLC controller 22944a44dSRoland Stigge 32944a44dSRoland StiggeRequired properties: 42944a44dSRoland Stigge- compatible: "nxp,lpc3220-slc" 52944a44dSRoland Stigge- reg: Address and size of the controller 62944a44dSRoland Stigge- nand-on-flash-bbt: Use bad block table on flash 72944a44dSRoland Stigge- gpios: GPIO specification for NAND write protect 82944a44dSRoland Stigge 92944a44dSRoland StiggeThe following required properties are very controller specific. See the LPC32xx 102944a44dSRoland StiggeUser Manual: 112944a44dSRoland Stigge- nxp,wdr-clks: Delay before Ready signal is tested on write (W_RDY) 122944a44dSRoland Stigge- nxp,rdr-clks: Delay before Ready signal is tested on read (R_RDY) 132944a44dSRoland Stigge(The following values are specified in Hz, to make them independent of actual 142944a44dSRoland Stiggeclock speed:) 152944a44dSRoland Stigge- nxp,wwidth: Write pulse width (W_WIDTH) 162944a44dSRoland Stigge- nxp,whold: Write hold time (W_HOLD) 172944a44dSRoland Stigge- nxp,wsetup: Write setup time (W_SETUP) 182944a44dSRoland Stigge- nxp,rwidth: Read pulse width (R_WIDTH) 192944a44dSRoland Stigge- nxp,rhold: Read hold time (R_HOLD) 202944a44dSRoland Stigge- nxp,rsetup: Read setup time (R_SETUP) 212944a44dSRoland Stigge 222944a44dSRoland StiggeOptional subnodes: 23*f902baa9SMiquel Raynal- Partitions, see Documentation/devicetree/bindings/mtd/mtd.yaml 242944a44dSRoland Stigge 252944a44dSRoland StiggeExample: 262944a44dSRoland Stigge 272944a44dSRoland Stigge slc: flash@20020000 { 282944a44dSRoland Stigge compatible = "nxp,lpc3220-slc"; 292944a44dSRoland Stigge reg = <0x20020000 0x1000>; 302944a44dSRoland Stigge #address-cells = <1>; 312944a44dSRoland Stigge #size-cells = <1>; 322944a44dSRoland Stigge 332944a44dSRoland Stigge nxp,wdr-clks = <14>; 342944a44dSRoland Stigge nxp,wwidth = <40000000>; 352944a44dSRoland Stigge nxp,whold = <100000000>; 362944a44dSRoland Stigge nxp,wsetup = <100000000>; 372944a44dSRoland Stigge nxp,rdr-clks = <14>; 382944a44dSRoland Stigge nxp,rwidth = <40000000>; 392944a44dSRoland Stigge nxp,rhold = <66666666>; 402944a44dSRoland Stigge nxp,rsetup = <100000000>; 412944a44dSRoland Stigge nand-on-flash-bbt; 422944a44dSRoland Stigge gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */ 432944a44dSRoland Stigge 442944a44dSRoland Stigge mtd0@00000000 { 452944a44dSRoland Stigge label = "phy3250-boot"; 462944a44dSRoland Stigge reg = <0x00000000 0x00064000>; 472944a44dSRoland Stigge read-only; 482944a44dSRoland Stigge }; 492944a44dSRoland Stigge 502944a44dSRoland Stigge ... 512944a44dSRoland Stigge 522944a44dSRoland Stigge }; 53