lantiq: fix building AVM/EVA sysupgrade images on NOR devices
[oweals/openwrt.git] / target / linux / lantiq / dts / ARV4510PW.dts
index adba211eacae5651f5e1d2474927f288e2768f2d..bbfec2f7f9f3a1d71d9ba1bba2b656b95392147b 100644 (file)
@@ -7,6 +7,18 @@
 
        chosen {
                bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+               leds {
+                       boot = &power;
+                       failsafe = &power2;
+                       running = &power;
+
+                       dsl = &adsl;
+                       internet = &internet;
+                       usb = &usb;
+                       usb2 = &usb2;
+                       wifi = &wifi;
+               };
        };
 
        memory@0 {
 
                                lantiq,noxip;
 
-                               partition@0 {
-                                       label = "uboot";
-                                       reg = <0x00000 0x40000>;
-                                       read-only;
-                               };
-
-                               partition@40000 {
-                                       label = "uboot_env";
-                                       reg = <0x40000 0x20000>;
-                                       read-only;
-                               };
-
-                               partition@60000 {
-                                       label = "firmware";
-                                       reg = <0x60000 0xfa0000>;
+                               partitions {
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       partition@0 {
+                                               label = "uboot";
+                                               reg = <0x00000 0x40000>;
+                                               read-only;
+                                       };
+
+                                       partition@40000 {
+                                               label = "uboot_env";
+                                               reg = <0x40000 0x20000>;
+                                               read-only;
+                                       };
+
+                                       partition@60000 {
+                                               label = "firmware";
+                                               reg = <0x60000 0xfa0000>;
+                                       };
                                };
                        };
                };
                                ebu {
                                        lantiq,groups = "ebu a23";
                                        lantiq,function = "ebu";
+                                       lantiq,open-drain = <0>;
                                        lantiq,output = <1>;
                                };
                                stp {
                                        lantiq,groups = "stp";
                                        lantiq,function = "stp";
+                                       lantiq,open-drain = <0>;
                                        lantiq,output = <1>;
                                };
                                exin {
                                pci_out {
                                        lantiq,groups = "gnt1", "gnt2";
                                        lantiq,function = "pci";
+                                       lantiq,open-drain = <0>;
+                                       lantiq,pull = <0>;
                                        lantiq,output = <1>;
                                };
                                pci_rst {
                                        lantiq,pins = "io21";
-                                       lantiq,open-drain;
+                                       lantiq,open-drain = <0>;
                                        lantiq,output = <1>;
                                };
                                buttons {
 
        gpio-leds {
                compatible = "gpio-leds";
-               power {
+               power: power {
                        label = "power";
                        gpios = <&gpios 21 0>;
+                       default-state = "keep";
                };
-               power2 {
+               power2: power2 {
                        label = "power2";
                        gpios = <&gpios 20 0>;
                };
                        label = "lan4";
                        gpios = <&gpios 16 0>;
                };
-               wifi {
+               wifi: wifi {
                        label = "wifi";
                        gpios = <&gpios 15 0>;
                };
-               adsl {
+               adsl: adsl {
                        label = "adsl";
                        gpios = <&gpios 14 0>;
                };
-               internet {
+               internet: internet {
                        label = "internet";
                        gpios = <&gpios 13 0>;
                };
                        label = "phone2";
                        gpios = <&gpios 9 0>;
                };
-               usb {
+               usb: usb {
                        label = "usb";
                        gpios = <&gpios 8 0>;
                };
-               usb2 {
+               usb2: usb2 {
                        label = "usb2";
                        gpios = <&gpios 7 0>;
                };