df65e0d03d7d124801460ee83109db03c21542d3
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-4.1 / 352-ARM-BCM5301X-Add-back-Luxul-XWC-1000-NAND-flash-layo.patch
1 From b97e582cd05f6ba80bdb63d9f677a3395edc7ff1 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
3 Date: Sun, 7 Jun 2015 15:37:43 +0200
4 Subject: [PATCH] ARM: BCM5301X: Add back Luxul XWC-1000 NAND flash layout
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 In OpenWrt we still use old NAND driver instead of "brcm,nandcs", so
10 we need to add this DT entry back.
11
12 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
13 ---
14 arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts | 12 ++++++++++++
15 1 file changed, 12 insertions(+)
16
17 --- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
18 +++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
19 @@ -34,6 +34,18 @@
20 };
21 };
22
23 + axi@18000000 {
24 + nand@28000 {
25 + reg = <0x00028000 0x1000>;
26 + #address-cells = <1>;
27 + #size-cells = <1>;
28 + partition@0 {
29 + label = "ubi";
30 + reg = <0x00000000 0x08000000>;
31 + };
32 + };
33 + };
34 +
35 nand: nand@18028000 {
36 nandcs@0 {
37 partition@0 {