diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-10-04 09:14:16 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-11-15 08:37:47 -0500 |
commit | 6d7b42a447f92eb3e7e410bbf62042693eb040f7 (patch) | |
tree | 1bb6fa643268d1eb408616cb29bf4fba7830a429 /arch/arm/boot/dts/spear13xx.dtsi | |
parent | fc05d5a30dc19dd4c6d161e551719a8c597c7890 (diff) |
mtd: fsmc_nand: pass the ale and cmd resource via resource
Do not use the platform_data to pass resource and be smart in the drivers.
Just pass it via resource
Switch to devm_request_and_ioremap at the sametime
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-By: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'arch/arm/boot/dts/spear13xx.dtsi')
-rw-r--r-- | arch/arm/boot/dts/spear13xx.dtsi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/spear13xx.dtsi b/arch/arm/boot/dts/spear13xx.dtsi index f7b84aced654..14a6d15c2a81 100644 --- a/arch/arm/boot/dts/spear13xx.dtsi +++ b/arch/arm/boot/dts/spear13xx.dtsi | |||
@@ -104,15 +104,15 @@ | |||
104 | compatible = "st,spear600-fsmc-nand"; | 104 | compatible = "st,spear600-fsmc-nand"; |
105 | #address-cells = <1>; | 105 | #address-cells = <1>; |
106 | #size-cells = <1>; | 106 | #size-cells = <1>; |
107 | reg = <0xb0000000 0x1000 /* FSMC Register */ | 107 | reg = <0xb0000000 0x1000 /* FSMC Register*/ |
108 | 0xb0800000 0x0010>; /* NAND Base */ | 108 | 0xb0800000 0x0010 /* NAND Base DATA */ |
109 | reg-names = "fsmc_regs", "nand_data"; | 109 | 0xb0820000 0x0010 /* NAND Base ADDR */ |
110 | 0xb0810000 0x0010>; /* NAND Base CMD */ | ||
111 | reg-names = "fsmc_regs", "nand_data", "nand_addr", "nand_cmd"; | ||
110 | interrupts = <0 20 0x4 | 112 | interrupts = <0 20 0x4 |
111 | 0 21 0x4 | 113 | 0 21 0x4 |
112 | 0 22 0x4 | 114 | 0 22 0x4 |
113 | 0 23 0x4>; | 115 | 0 23 0x4>; |
114 | st,ale-off = <0x20000>; | ||
115 | st,cle-off = <0x10000>; | ||
116 | status = "disabled"; | 116 | status = "disabled"; |
117 | }; | 117 | }; |
118 | 118 | ||