aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-4.4/047-0003-ARM-dts-BCM5301X-Add-NAND-entries-to-bcm953012k.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-02-28 22:34:13 +0100
committerRafał Miłecki <rafal@milecki.pl>2017-03-03 11:41:10 +0100
commit514854d6368fc566339b29a51d69fc8a7b6a05bf (patch)
tree0d9cd436e263ae51c7b47a4002b5d6a3c546cc6a /target/linux/bcm53xx/patches-4.4/047-0003-ARM-dts-BCM5301X-Add-NAND-entries-to-bcm953012k.patch
parent0c05cadeb775f83fa40fbdd13941a5e7396505f5 (diff)
downloadupstream-514854d6368fc566339b29a51d69fc8a7b6a05bf.tar.gz
upstream-514854d6368fc566339b29a51d69fc8a7b6a05bf.tar.bz2
upstream-514854d6368fc566339b29a51d69fc8a7b6a05bf.zip
bcm53xx: backport accepted BCM5301X and BCM53573 patches
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm53xx/patches-4.4/047-0003-ARM-dts-BCM5301X-Add-NAND-entries-to-bcm953012k.patch')
-rw-r--r--target/linux/bcm53xx/patches-4.4/047-0003-ARM-dts-BCM5301X-Add-NAND-entries-to-bcm953012k.patch54
1 files changed, 54 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-4.4/047-0003-ARM-dts-BCM5301X-Add-NAND-entries-to-bcm953012k.patch b/target/linux/bcm53xx/patches-4.4/047-0003-ARM-dts-BCM5301X-Add-NAND-entries-to-bcm953012k.patch
new file mode 100644
index 0000000000..655548e85a
--- /dev/null
+++ b/target/linux/bcm53xx/patches-4.4/047-0003-ARM-dts-BCM5301X-Add-NAND-entries-to-bcm953012k.patch
@@ -0,0 +1,54 @@
+From 3344d946ff277425052383e0a7877baf39911046 Mon Sep 17 00:00:00 2001
+From: Jon Mason <jon.mason@broadcom.com>
+Date: Wed, 8 Feb 2017 15:45:15 -0500
+Subject: [PATCH] ARM: dts: BCM5301X: Add NAND entries to bcm953012k
+
+Add the NAND entry in the DTS for the bcm953012k reference board.
+
+Signed-off-by: Jon Mason <jon.mason@broadcom.com>
+Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
+---
+ arch/arm/boot/dts/bcm953012k.dts | 32 ++++++++++++++++++++++++++++++++
+ 1 file changed, 32 insertions(+)
+
+--- a/arch/arm/boot/dts/bcm953012k.dts
++++ b/arch/arm/boot/dts/bcm953012k.dts
+@@ -52,6 +52,38 @@
+ };
+ };
+
++&nand {
++ nandcs@0 {
++ compatible = "brcm,nandcs";
++ reg = <0>;
++ nand-on-flash-bbt;
++
++ #address-cells = <1>;
++ #size-cells = <1>;
++
++ nand-ecc-strength = <4>;
++ nand-ecc-step-size = <512>;
++
++ partition@0 {
++ label = "nboot";
++ reg = <0x00000000 0x00200000>;
++ read-only;
++ };
++ partition@200000 {
++ label = "nenv";
++ reg = <0x00200000 0x00400000>;
++ };
++ partition@600000 {
++ label = "nsystem";
++ reg = <0x00600000 0x00a00000>;
++ };
++ partition@1000000 {
++ label = "nrootfs";
++ reg = <0x01000000 0x07000000>;
++ };
++ };
++};
++
+ &uart0 {
+ clock-frequency = <62499840>;
+ };