kernel: update 4.4 to 4.4.86
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-4.4 / 047-0003-ARM-dts-BCM5301X-Add-NAND-entries-to-bcm953012k.patch
1 From 3344d946ff277425052383e0a7877baf39911046 Mon Sep 17 00:00:00 2001
2 From: Jon Mason <jon.mason@broadcom.com>
3 Date: Wed, 8 Feb 2017 15:45:15 -0500
4 Subject: [PATCH] ARM: dts: BCM5301X: Add NAND entries to bcm953012k
5
6 Add the NAND entry in the DTS for the bcm953012k reference board.
7
8 Signed-off-by: Jon Mason <jon.mason@broadcom.com>
9 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
10 ---
11 arch/arm/boot/dts/bcm953012k.dts | 32 ++++++++++++++++++++++++++++++++
12 1 file changed, 32 insertions(+)
13
14 --- a/arch/arm/boot/dts/bcm953012k.dts
15 +++ b/arch/arm/boot/dts/bcm953012k.dts
16 @@ -52,6 +52,38 @@
17 };
18 };
19
20 +&nand {
21 + nandcs@0 {
22 + compatible = "brcm,nandcs";
23 + reg = <0>;
24 + nand-on-flash-bbt;
25 +
26 + #address-cells = <1>;
27 + #size-cells = <1>;
28 +
29 + nand-ecc-strength = <4>;
30 + nand-ecc-step-size = <512>;
31 +
32 + partition@0 {
33 + label = "nboot";
34 + reg = <0x00000000 0x00200000>;
35 + read-only;
36 + };
37 + partition@200000 {
38 + label = "nenv";
39 + reg = <0x00200000 0x00400000>;
40 + };
41 + partition@600000 {
42 + label = "nsystem";
43 + reg = <0x00600000 0x00a00000>;
44 + };
45 + partition@1000000 {
46 + label = "nrootfs";
47 + reg = <0x01000000 0x07000000>;
48 + };
49 + };
50 +};
51 +
52 &uart0 {
53 clock-frequency = <62499840>;
54 };