Skip to content

Commit

Permalink
ARM: dts: BCM5301X: Add NAND entries to bcm953012k
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jon Mason authored and Florian Fainelli committed Mar 6, 2017
1 parent 4317d55 commit df29920
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions arch/arm/boot/dts/bcm953012k.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
};
Expand Down

0 comments on commit df29920

Please sign in to comment.