Commit e8b2da6e authored by Nicolas Ferre's avatar Nicolas Ferre

ARM: at91/DT: add NAND + DMA property

Add the "atmel,nand-has-dma" property to NAND node for SoC that
can use the DMA to perform NAND accesses.
Use of this property was added in 1b719265
(mtd: atmel_nand: add a new dt binding item for nand dma support).
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: default avatarBoris BREZILLON <b.brezillon@overkiz.com>
parent 6d0abeca
...@@ -817,6 +817,7 @@ nand0: nand@40000000 { ...@@ -817,6 +817,7 @@ nand0: nand@40000000 {
>; >;
atmel,nand-addr-offset = <21>; atmel,nand-addr-offset = <21>;
atmel,nand-cmd-offset = <22>; atmel,nand-cmd-offset = <22>;
atmel,nand-has-dma;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_nand>; pinctrl-0 = <&pinctrl_nand>;
gpios = <&pioC 8 GPIO_ACTIVE_HIGH gpios = <&pioC 8 GPIO_ACTIVE_HIGH
......
...@@ -570,6 +570,7 @@ nand0: nand@40000000 { ...@@ -570,6 +570,7 @@ nand0: nand@40000000 {
atmel,pmecc-lookup-table-offset = <0x0 0x8000>; atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
atmel,nand-addr-offset = <21>; atmel,nand-addr-offset = <21>;
atmel,nand-cmd-offset = <22>; atmel,nand-cmd-offset = <22>;
atmel,nand-has-dma;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_nand>; pinctrl-0 = <&pinctrl_nand>;
gpios = <&pioD 5 GPIO_ACTIVE_HIGH gpios = <&pioD 5 GPIO_ACTIVE_HIGH
......
...@@ -790,6 +790,7 @@ nand0: nand@40000000 { ...@@ -790,6 +790,7 @@ nand0: nand@40000000 {
atmel,pmecc-lookup-table-offset = <0x0 0x8000>; atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
atmel,nand-addr-offset = <21>; atmel,nand-addr-offset = <21>;
atmel,nand-cmd-offset = <22>; atmel,nand-cmd-offset = <22>;
atmel,nand-has-dma;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_nand>; pinctrl-0 = <&pinctrl_nand>;
gpios = <&pioD 5 GPIO_ACTIVE_HIGH gpios = <&pioD 5 GPIO_ACTIVE_HIGH
......
...@@ -1256,6 +1256,7 @@ nand0: nand@60000000 { ...@@ -1256,6 +1256,7 @@ nand0: nand@60000000 {
interrupts = <5 IRQ_TYPE_LEVEL_HIGH 6>; interrupts = <5 IRQ_TYPE_LEVEL_HIGH 6>;
atmel,nand-addr-offset = <21>; atmel,nand-addr-offset = <21>;
atmel,nand-cmd-offset = <22>; atmel,nand-cmd-offset = <22>;
atmel,nand-has-dma;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_nand0_ale_cle>; pinctrl-0 = <&pinctrl_nand0_ale_cle>;
atmel,pmecc-lookup-table-offset = <0x0 0x8000>; atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment