ramips: use new image build code for WHR-G300N
[openwrt/openwrt.git] / target / linux / lantiq / dts / EASY98000NOR.dts
index 46497f48d1c4ed6e3063f401b9fdb4179ec6b235..ad53bf96e99118261c9fca5f4674bb166fbf09b7 100644 (file)
@@ -1,65 +1,38 @@
 /dts-v1/;
 
-/include/ "falcon.dtsi"
+#include "falcon.dtsi"
+#include "EASY98000-base.dtsi"
 
 / {
-       model = "EASY98000 - Lantiq Falcon (NOR)";
+       model = "Lantiq Falcon (NOR)";
+       compatible = "lantiq,easy98000-nor", "lantiq,easy98000", "lantiq,falcon";
 
-       chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+       aliases {
+               spi0 = &spi;
        };
+};
 
-       memory@0 {
-               reg = <0x0 0x2000000>;
-       };
-       
-       localbus@10000000 {
-               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>;
-                       };
+&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@20000 {
-                               label = "linux";
-                               reg = <0x80000 0x3d0000>;
-                       };
+               partition@10000 {
+                       label = "uboot_env";
+                       reg = <0x40000 0x40000>;
                };
-       };
-       
-       pinmux0 {
-               compatible = "lantiq,pinctrl-falcon";
-               pinctrl-names = "default";
-               pinctrl-0 = <&state_default>;
 
-               state_default: pinmux {
-                       asc0 {
-                               lantiq,groups = "asc0";
-                               lantiq,function = "asc";
-                       };
-                       ntr {
-                               lantiq,groups = "ntr8k";
-                               lantiq,function = "ntr";
-                       };
-                       i2c {
-                               lantiq,groups = "i2c";
-                               lantiq,function = "i2c";
-                       };
-                       hrst {
-                               lantiq,groups = "hrst";
-                               lantiq,function = "rst";
-                       };
+               partition@20000 {
+                       label = "linux";
+                       reg = <0x80000 0x3d0000>;
                };
        };
 };