lantiq: update default mii modes
[openwrt.git] / target / linux / lantiq / dts / ARV7518PW.dts
index 1439c67..c6f4759 100644 (file)
 
                                partition@0 {
                                        label = "uboot";
-                                       reg = <0x00000 0x10000>; 
+                                       reg = <0x00000 0x10000>;
                                        read-only;
                                };
 
                                partition@10000 {
                                        label = "uboot_env";
-                                       reg = <0x10000 0x10000>; 
+                                       reg = <0x10000 0x10000>;
                                };
 
                                partition@20000 {
-                                       label = "linux";
+                                       label = "firmware";
                                        reg = <0x20000 0x7d0000>;
                                };
 
 
                        ath9k_eep {
                                compatible = "ath9k,eeprom";
-                               reg = <0 0x7f0400 0x800
+                               reg = <0 0x7f0400 0x1000
                                        0 0x7f0016 0x6>;
                                ath,mac-increment = <1>;
                                ath,pci-slot = <14>;
-                               ath,eep-swap;
-                               ath,eep-csum;
+                               ath,eep-endian;
                        };
                };
 
                                        lantiq,function = "ebu";
                                };
                                pci_in {
-                                       lantiq,groups = "req1", "req2";
+                                       lantiq,groups = "req1";
                                        lantiq,function = "pci";
                                        lantiq,open-drain = <1>;
                                        lantiq,pull = <2>;
                                        lantiq,output = <0>;
                                };
                                pci_out {
-                                       lantiq,groups = "gnt1", "gnt2";
+                                       lantiq,groups = "gnt1";
                                        lantiq,function = "pci";
                                        lantiq,pull = <0>;
                                        lantiq,output = <1>;
                                        lantiq,pull = <2>;
                                        lantiq,output = <1>;
                                };
+                               leds {
+                                       lantiq,pins = "io2", "io4", "io5", "io6", "io7", "io8", "io19";
+                                       lantiq,output = <1>;
+                               };
+                               keys {
+                                       lantiq,pins = "io28", "io30";
+                                       lantiq,output = <0>;
+                                       lantiq,pull = <2>;
+                                       lantiq,open-drain = <1>;
+                               };
                        };
                };
 
                etop@E180000 {
-                       phy-mode = "rmii";
+                       phy-mode = "mii";
                };
 
                ifxhcd@E101000 {
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <100>;
-               
+
                rfkill {
                        label = "rfkill";
-                       gpios = <&gpio 25 1>;
+                       gpios = <&gpio 28 1>;
                        linux,code = <0xf7>;
                };
-/*             reset {
+               reset {
                        label = "reset";
                        gpios = <&gpio 30 1>;
                        linux,code = <0x198>;
-               };*/
+               };
        };
 
        gpio-leds {
                compatible = "gpio-leds";
                power {
                        label = "power";
-                       gpios = <&gpio 2 0>;
+                       gpios = <&gpio 2 1>;
                };
                dsl {
                        label = "dsl";