]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: BCM5301X: Add NAND entries to bcm953012k
authorJon Mason <jon.mason@broadcom.com>
Wed, 8 Feb 2017 20:45:15 +0000 (15:45 -0500)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 6 Mar 2017 00:59:02 +0000 (16:59 -0800)
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

index bfd923096a8c1f5487b4bed2302ee8c784c395c7..8bb468c3c1de7d02edb4e1c826afb78f9024f83f 100644 (file)
        };
 };
 
+&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>;
 };