diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2013-04-10 15:04:03 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-04-11 13:29:08 -0400 |
commit | a7d4f81821f7eec3175f8e23dd6949c71ab2da43 (patch) | |
tree | b4e66bdae870c8a7cf66b1c6e744169a1665131c /arch/arm | |
parent | da8d1b38356853c37116f9afa29f15648d7fb159 (diff) |
ARM: mvebu: Add support for NOR flash device on Openblocks AX3 board
The Plat'home Openblocks AX3 has a 128 MiB NOR flash device connected
to the Device Bus. This commit adds the device tree node to support this device.
The SoC supports a flexible and dynamic decoding window allocation scheme;
but since this feature is still not implemented we need to specify the window
base address in the device tree node itself.
This base address has been selected in a completely arbitrary fashion.
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts b/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts index 3818a82176a2..b5c5f4d43688 100644 --- a/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts +++ b/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | |||
@@ -139,5 +139,34 @@ | |||
139 | usb@d0051000 { | 139 | usb@d0051000 { |
140 | status = "okay"; | 140 | status = "okay"; |
141 | }; | 141 | }; |
142 | |||
143 | devbus-bootcs@d0010400 { | ||
144 | status = "okay"; | ||
145 | ranges = <0 0xf0000000 0x8000000>; /* @addr 0xf000000, size 0x8000000 */ | ||
146 | |||
147 | /* Device Bus parameters are required */ | ||
148 | |||
149 | /* Read parameters */ | ||
150 | devbus,bus-width = <8>; | ||
151 | devbus,turn-off-ps = <60000>; | ||
152 | devbus,badr-skew-ps = <0>; | ||
153 | devbus,acc-first-ps = <124000>; | ||
154 | devbus,acc-next-ps = <248000>; | ||
155 | devbus,rd-setup-ps = <0>; | ||
156 | devbus,rd-hold-ps = <0>; | ||
157 | |||
158 | /* Write parameters */ | ||
159 | devbus,sync-enable = <0>; | ||
160 | devbus,wr-high-ps = <60000>; | ||
161 | devbus,wr-low-ps = <60000>; | ||
162 | devbus,ale-wr-ps = <60000>; | ||
163 | |||
164 | /* NOR 128 MiB */ | ||
165 | nor@0 { | ||
166 | compatible = "cfi-flash"; | ||
167 | reg = <0 0x8000000>; | ||
168 | bank-width = <2>; | ||
169 | }; | ||
170 | }; | ||
142 | }; | 171 | }; |
143 | }; | 172 | }; |