model = "TDW8970 - TP-LINK TD-W8970";
chosen {
- bootargs = "console=ttyLTQ0,115200 init=/etc/preinit rootfstype=jffs2";
+ bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
};
memory@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
- mac-address = [ 00 11 22 33 44 55 ];
+ mtd-mac-address = <&ath9k_cal 0xf100>;
+ lantiq,switch;
ethernet@0 {
compatible = "lantiq,xrx200-pdi-port";
gpios = <&gpio 33 0>;
lantiq,portmask = <0x3>;
};
+
+ ifxhcd@E106000 {
+ status = "okay";
+ gpios = <&gpio 33 0>;
+ };
};
gphy-xrx200 {
};
partition@20000 {
- reg = <0x20000 0x7a0000>;
+ reg = <0x20000 0x6a0000>;
label = "firmware";
};
+ partition@6c0000 {
+ reg = <0x6c0000 0x100000>;
+ label = "dsl_fw";
+ };
+
partition@7c0000 {
reg = <0x7c0000 0x10000>;
label = "config";
ath9k_eep {
compatible = "ath9k,eeprom";
ath,eep-flash = <&ath9k_cal 0x21000>;
- ath,pci-slot = <0>;
+ ath,mac-offset = <0xf100>;
+ ath,mac-increment;
+ ath,led-pin = <0>;
};
gpio-keys-polled {
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
- power {
+ reset {
label = "reset";
gpios = <&gpio 0 1>;
- linux,code = <0x100>;
+ linux,code = <0x198>;
};
wifi {
label = "wifi";
gpios = <&gpio 9 0>;
- linux,code = <0x101>;
+ linux,code = <0xf7>;
linux,input-type = <5>; /* EV_SW */
};
wps {
label = "wps";
gpios = <&gpio 39 1>;
- linux,code = <0x102>;
+ linux,code = <0x211>;
};
};
gpio-leds {
compatible = "gpio-leds";
- adsl {
- label = "adsl";
+ dsl {
+ label = "dsl";
gpios = <&gpio 4 0>;
};
internet {