lantiq: copy target to kernel 5.4
[openwrt/staging/mkresin.git] / target / linux / lantiq / files-4.19 / arch / mips / boot / dts / lantiq / falcon_lantiq_easy98000-nand.dts
diff --git a/target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/falcon_lantiq_easy98000-nand.dts b/target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/falcon_lantiq_easy98000-nand.dts
new file mode 100644 (file)
index 0000000..13f9f82
--- /dev/null
@@ -0,0 +1,38 @@
+/dts-v1/;
+
+#include "falcon_lantiq_easy98000.dtsi"
+
+/ {
+       model = "Lantiq Falcon (NAND)";
+       compatible = "lantiq,easy98000-nand", "lantiq,easy98000", "lantiq,falcon";
+
+       aliases {
+               spi0 = &spi;
+       };
+};
+
+&ebu_cs0 {
+       flash@0 {
+               compatible = "gen_nand", "lantiq,nand-falcon";
+               bank-width = <1>;
+               reg = <0x0 0x40000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               bbt-use-flash;
+
+               partition@0 {
+                       label = "uboot";
+                       reg = <0x00000 0x40000>;
+               };
+
+               partition@10000 {
+                       label = "uboot_env";
+                       reg = <0x40000 0x40000>;
+               };
+
+               partition@20000 {
+                       label = "linux";
+                       reg = <0x80000 0x3d0000>;
+               };
+       };
+};