aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2014-09-12 19:23:59 -0400
committerBrian Norris <computersforpeace@gmail.com>2014-09-17 03:45:11 -0400
commit2d405ec5fdd5b6848beb820301d4fcaa3e2c4159 (patch)
tree578b734e079cf35ac3fadbd6ac9f26e713a6ba29 /Documentation
parent55ab9ec99bbfb4450dfa9bc0fd9e2c5052f4c3f7 (diff)
mtd: nand: atmel_nand: retrieve NFC clock
Retrieve the NFC clock to make sure it is enabled. Make that optional to ensure compatibility with previous device trees but document it as mandatory so newer device trees will include it. Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Josh Wu <josh.wu@atmel.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/mtd/atmel-nand.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/atmel-nand.txt b/Documentation/devicetree/bindings/mtd/atmel-nand.txt
index c4728839d0c1..6edc3b616e98 100644
--- a/Documentation/devicetree/bindings/mtd/atmel-nand.txt
+++ b/Documentation/devicetree/bindings/mtd/atmel-nand.txt
@@ -36,6 +36,7 @@ Optional properties:
36 - reg : should specify the address and size used for NFC command registers, 36 - reg : should specify the address and size used for NFC command registers,
37 NFC registers and NFC Sram. NFC Sram address and size can be absent 37 NFC registers and NFC Sram. NFC Sram address and size can be absent
38 if don't want to use it. 38 if don't want to use it.
39 - clocks: phandle to the peripheral clock
39 - Optional properties: 40 - Optional properties:
40 - atmel,write-by-sram: boolean to enable NFC write by sram. 41 - atmel,write-by-sram: boolean to enable NFC write by sram.
41 42
@@ -98,6 +99,7 @@ nand0: nand@40000000 {
98 compatible = "atmel,sama5d3-nfc"; 99 compatible = "atmel,sama5d3-nfc";
99 #address-cells = <1>; 100 #address-cells = <1>;
100 #size-cells = <1>; 101 #size-cells = <1>;
102 clocks = <&hsmc_clk>
101 reg = < 103 reg = <
102 0x70000000 0x10000000 /* NFC Command Registers */ 104 0x70000000 0x10000000 /* NFC Command Registers */
103 0xffffc000 0x00000070 /* NFC HSMC regs */ 105 0xffffc000 0x00000070 /* NFC HSMC regs */