summaryrefslogtreecommitdiff
path: root/arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch4.dtsi
diff options
context:
space:
mode:
authorJaedon Shin <jaedon.shin@gmail.com>2016-08-19 05:52:29 +0300
committerRalf Baechle <ralf@linux-mips.org>2016-10-06 18:31:02 +0300
commitcfc8be04c36a1a6546b6f9cb8f02fd9f215c9d38 (patch)
tree8aa0bbf46d7c3485b992f4a7986659de6bf68882 /arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch4.dtsi
parentb2420e2762e36ec3aab0c0b6b9ee277f7b1b48e2 (diff)
downloadlinux-cfc8be04c36a1a6546b6f9cb8f02fd9f215c9d38.tar.xz
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-bch4.dtsi')
-rw-r--r--arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch4.dtsi25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch4.dtsi b/arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch4.dtsi
new file mode 100644
index 000000000000..cb531816ef4c
--- /dev/null
+++ b/arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch4.dtsi
@@ -0,0 +1,25 @@
+&nand {
+ nandcs@1 {
+ compatible = "brcm,nandcs";
+ reg = <1>;
+ nand-on-flash-bbt;
+
+ nand-ecc-strength = <4>;
+ nand-ecc-step-size = <512>;
+ brcm,nand-oob-sector-size = <16>;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ flash1.rootfs@0 {
+ reg = <0x0 0x10000000>;
+ };
+
+ flash1.kernel@10000000 {
+ reg = <0x10000000 0x400000>;
+ };
+ };
+ };
+};