Back to home page

OSCL-LXR

 
 

    


0001 FLCTL NAND controller
0002 
0003 Required properties:
0004 - compatible : "renesas,shmobile-flctl-sh7372"
0005 - reg : Address range of the FLCTL
0006 - interrupts : flste IRQ number
0007 - nand-bus-width : bus width to NAND chip
0008 
0009 Optional properties:
0010 - dmas: DMA specifier(s)
0011 - dma-names: name for each DMA specifier. Valid names are
0012              "data_tx", "data_rx", "ecc_tx", "ecc_rx"
0013 
0014 The DMA fields are not used yet in the driver but are listed here for
0015 completing the bindings.
0016 
0017 The device tree may optionally contain sub-nodes describing partitions of the
0018 address space. See partition.txt for more detail.
0019 
0020 Example:
0021 
0022         flctl@e6a30000 {
0023                 #address-cells = <1>;
0024                 #size-cells = <1>;
0025                 compatible = "renesas,shmobile-flctl-sh7372";
0026                 reg = <0xe6a30000 0x100>;
0027                 interrupts = <0x0d80>;
0028 
0029                 nand-bus-width = <16>;
0030 
0031                 dmas = <&dmac 1 /* data_tx */
0032                         &dmac 2;> /* data_rx */
0033                 dma-names = "data_tx", "data_rx";
0034 
0035                 system@0 {
0036                         label = "system";
0037                         reg = <0x0 0x8000000>;
0038                 };
0039 
0040                 userdata@8000000 {
0041                         label = "userdata";
0042                         reg = <0x8000000 0x10000000>;
0043                 };
0044 
0045                 cache@18000000 {
0046                         label = "cache";
0047                         reg = <0x18000000 0x8000000>;
0048                 };
0049         };