summaryrefslogtreecommitdiffstats
path: root/arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch24.dtsi
diff options
context:
space:
mode:
authorJaedon Shin <jaedon.shin@gmail.com>2016-08-19 11:52:29 +0900
committerRalf Baechle <ralf@linux-mips.org>2016-10-06 17:31:02 +0200
commitcfc8be04c36a1a6546b6f9cb8f02fd9f215c9d38 (patch)
tree8aa0bbf46d7c3485b992f4a7986659de6bf68882 /arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch24.dtsi
parentb2420e2762e36ec3aab0c0b6b9ee277f7b1b48e2 (diff)
downloadlinux-cfc8be04c36a1a6546b6f9cb8f02fd9f215c9d38.tar.gz
linux-cfc8be04c36a1a6546b6f9cb8f02fd9f215c9d38.tar.bz2
linux-cfc8be04c36a1a6546b6f9cb8f02fd9f215c9d38.zip
MIPS: BMIPS: Add support NAND device nodes
Adds NAND device nodes to BCM7xxx MIPS based SoCs. Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com> Cc: Florian Fainelli <f.fainelli@gmail.com> Cc: Jonas Gorski <jonas.gorski@gmail.com> Cc: Kevin Cernekee <cernekee@gmail.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: MIPS Mailing List <linux-mips@linux-mips.org> Cc: devicetree@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/14003/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch24.dtsi')
-rw-r--r--arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch24.dtsi25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch24.dtsi b/arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch24.dtsi
new file mode 100644
index 000000000000..3c24f97de922
--- /dev/null
+++ b/arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch24.dtsi
@@ -0,0 +1,25 @@
+&nand {
+ nandcs@1 {
+ compatible = "brcm,nandcs";
+ reg = <1>;
+ nand-on-flash-bbt;
+
+ nand-ecc-strength = <24>;
+ nand-ecc-step-size = <1024>;
+ brcm,nand-oob-sector-size = <27>;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ flash1.rootfs@0 {
+ reg = <0x0 0x10000000>;
+ };
+
+ flash1.kernel@10000000 {
+ reg = <0x10000000 0x400000>;
+ };
+ };
+ };
+};