lantiq: copy target to kernel 4.19
[openwrt/staging/yousong.git] / target / linux / lantiq / files / arch / mips / boot / dts / EASY98000NOR.dts
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/EASY98000NOR.dts b/target/linux/lantiq/files/arch/mips/boot/dts/EASY98000NOR.dts
new file mode 100644 (file)
index 0000000..ad53bf9
--- /dev/null
@@ -0,0 +1,38 @@
+/dts-v1/;
+
+#include "falcon.dtsi"
+#include "EASY98000-base.dtsi"
+
+/ {
+       model = "Lantiq Falcon (NOR)";
+       compatible = "lantiq,easy98000-nor", "lantiq,easy98000", "lantiq,falcon";
+
+       aliases {
+               spi0 = &spi;
+       };
+};
+
+&ebu_cs0 {
+       cfi@0 {
+               compatible = "lantiq,nor";
+               bank-width = <2>;
+               reg = <0x0 0x4000000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+
+               partition@0 {
+                       label = "uboot";
+                       reg = <0x00000 0x40000>;
+               };
+
+               partition@10000 {
+                       label = "uboot_env";
+                       reg = <0x40000 0x40000>;
+               };
+
+               partition@20000 {
+                       label = "linux";
+                       reg = <0x80000 0x3d0000>;
+               };
+       };
+};