summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Mason <jon.mason@broadcom.com>2017-02-08 15:45:15 -0500
committerFlorian Fainelli <f.fainelli@gmail.com>2017-03-05 16:59:02 -0800
commitdf2992050f2606acd3b6db82abf3bda07e73c47d (patch)
tree594aa4ee4fb04cd9b7cc3629c73be573ee6848a8
parent4317d557e6290e3982db47f6379dee0ed4c9333a (diff)
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>
-rw-r--r--arch/arm/boot/dts/bcm953012k.dts32
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm953012k.dts b/arch/arm/boot/dts/bcm953012k.dts
index bfd923096a8c..8bb468c3c1de 100644
--- 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>;
};