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 {
lantiq,groups = "mdio";
lantiq,function = "mdio";
};
+ gphy-leds {
+ lantiq,groups = "gphy0 led1", "gphy1 led1";
+ lantiq,function = "gphy";
+ lantiq,pull = <2>;
+ lantiq,open-drain = <0>;
+ lantiq,output = <1>;
+ };
phy-rst {
lantiq,pins = "io42";
lantiq,pull = <0>;
>;
interrupt-parent = <&icu0>;
interrupts = <73 72>;
+ lantiq,switch;
lan: interface@0 {
compatible = "lantiq,xrx200-pdi";
phy0: ethernet-phy@0 {
reg = <0x0>;
compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
-// lantiq,c45-reg-init = <1 0 0 0>;
};
phy5: ethernet-phy@5 {
reg = <0x5>;
compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
-// lantiq,c45-reg-init = <1 0 0 0>;
};
phy11: ethernet-phy@11 {
reg = <0x11>;
compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
-// lantiq,c45-reg-init = <1 0 0 0>;
};
phy13: ethernet-phy@13 {
reg = <0x13>;
compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
-// lantiq,c45-reg-init = <1 0 0 0>;
};
};
};
};
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,led-pin = <0>;
};
gpio-keys-polled {
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 {
label = "internet";
gpios = <&gpio 5 0>;
};
- lan3 {
- label = "lan3";
- gpios = <&gpio 7 0>;
- };
usb0 {
label = "usb";
gpios = <&gpio 19 0>;
label = "wps";
gpios = <&gpio 37 0>;
};
- lan4 {
- label = "lan4";
- gpios = <&gpio 45 0>;
- };
};
};