aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm63xx/dts/bcm6368-netgear-dgnd3700-v1.dts
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2020-05-21 09:01:45 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2020-05-21 19:11:24 +0200
commit7a817752f67119be746d55dd90f6c43036f0c725 (patch)
tree5650c7f41f117d11093419da495b02843561ac84 /target/linux/bcm63xx/dts/bcm6368-netgear-dgnd3700-v1.dts
parent67861b2a66eb3af688691f941cabf334c81578f1 (diff)
downloadupstream-7a817752f67119be746d55dd90f6c43036f0c725.tar.gz
upstream-7a817752f67119be746d55dd90f6c43036f0c725.tar.bz2
upstream-7a817752f67119be746d55dd90f6c43036f0c725.zip
bcm63xx: dgnd3700-v1: add NAND support
NAND is used as extra storage on this device. Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bcm63xx/dts/bcm6368-netgear-dgnd3700-v1.dts')
-rw-r--r--target/linux/bcm63xx/dts/bcm6368-netgear-dgnd3700-v1.dts26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/bcm63xx/dts/bcm6368-netgear-dgnd3700-v1.dts b/target/linux/bcm63xx/dts/bcm6368-netgear-dgnd3700-v1.dts
index 0c88d56c86..546b0b1f60 100644
--- a/target/linux/bcm63xx/dts/bcm6368-netgear-dgnd3700-v1.dts
+++ b/target/linux/bcm63xx/dts/bcm6368-netgear-dgnd3700-v1.dts
@@ -187,6 +187,32 @@
};
};
+&nflash {
+ status = "okay";
+
+ nandcs@0 {
+ compatible = "brcm,nandcs";
+ #size-cells = <1>;
+ #address-cells = <1>;
+ reg = <0>;
+ nand-ecc-step-size = <512>;
+ nand-ecc-strength = <15>;
+ nand-on-flash-bbt;
+ brcm,nand-oob-sector-size = <64>;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "storage";
+ reg = <0x0000000 0x8000000>;
+ };
+ };
+ };
+};
+
&uart0 {
status = "okay";
};