bcm53xx: backport upstream profiling and USB VCC patches
[15.05/openwrt.git] / target / linux / bcm53xx / patches-3.18 / 352-ARM-BCM5301X-Add-duplicated-NAND-entries-for-bcm_nand.patch
1 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
2 Date: Sun, 7 Jun 2015 15:37:43 +0200
3 Subject: [PATCH] ARM: BCM5301X: Add duplicated NAND entries for bcm_nand
4 MIME-Version: 1.0
5 Content-Type: text/plain; charset=UTF-8
6 Content-Transfer-Encoding: 8bit
7
8 In OpenWrt we still use old NAND driver instead of "brcm,nandcs", so
9 we need to add this DT entry back.
10
11 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
12 ---
13 --- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
14 +++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
15 @@ -24,6 +24,18 @@
16                 reg = <0x00000000 0x08000000>;
17         };
18  
19 +       axi@18000000 {
20 +               nand@28000 {
21 +                       reg = <0x00028000 0x1000>;
22 +                       #address-cells = <1>;
23 +                       #size-cells = <1>;
24 +                       partition@0 {
25 +                               label = "ubi";
26 +                               reg = <0x00000000 0x08000000>;
27 +                       };
28 +               };
29 +       };
30 +
31         nand: nand@18028000 {
32                 nandcs@0 {
33                         partition@0 {
34 --- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
35 +++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
36 @@ -25,6 +25,19 @@
37                        0x88000000 0x08000000>;
38         };
39  
40 +       axi@18000000 {
41 +               nand@28000 {
42 +                       reg = <0x00028000 0x1000>;
43 +                       #address-cells = <1>;
44 +                       #size-cells = <1>;
45 +
46 +                       partition@0 {
47 +                               label = "firmware";
48 +                               reg = <0x00000000 0x08000000>;
49 +                       };
50 +               };
51 +       };
52 +
53         nand: nand@18028000 {
54                 nandcs@0 {
55                         partition@0 {