chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ boot = &power_red;
+ failsafe = &power_blue;
+ running = &power_red;
+
+ internet = &internet_red;
+ wifi = &wifi;
+ };
};
memory@0 {
#address-cells = <1>;
#size-cells = <1>;
- partition@0 {
- label = "uboot";
- reg = <0x00000 0x10000>;
- read-only;
- };
-
- partition@10000 {
- label = "uboot_env";
- reg = <0x10000 0x10000>;
- read-only;
- };
-
- partition@20000 {
- label = "linux";
- reg = <0x20000 0x7d0000>;
- };
-
- partition@7f0000 {
- label = "board_config";
- reg = <0x7f0000 0x10000>;
- read-only;
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "uboot";
+ reg = <0x00000 0x30000>;
+ read-only;
+ };
+
+ partition@10000 {
+ label = "uboot_env";
+ reg = <0x30000 0x10000>;
+ read-only;
+ };
+
+ partition@20000 {
+ label = "firmware";
+ reg = <0x40000 0x7b0000>;
+ };
+
+ boardconfig: partition@7f0000 {
+ label = "board_config";
+ reg = <0x7f0000 0x10000>;
+ read-only;
+ };
};
};
- mac_addr {
- compatible = "lantiq,eth-mac";
- reg = <0 0x7f0016 0x6>;
- mac-increment = <2>;
- };
-
gpiomm: gpiomm@4000000 {
compatible = "lantiq,gpio-mm";
reg = <1 0x0 0x10 >;
lantiq,output = <0>;
};
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";
lantiq,function = "pci";
+ lantiq,open-drain = <1>;
lantiq,output = <1>;
};
pci_rst {
lantiq,pins = "io21";
- lantiq,pull = <2>;
+ lantiq,open-drain = <1>;
lantiq,output = <1>;
};
leds {
lantiq,pins = "io3", "io5", "io6", "io8";
+ lantiq,open-drain = <1>;
lantiq,output = <1>;
};
+ buttons {
+ lantiq,pins = "io11", "io12", "io13", "io28";
+ lantiq,pull = <2>;
+ lantiq,output = <0>;
+ };
};
};
};
etop@E180000 {
- phy-mode = "rmii";
+ phy-mode = "mii";
+ mtd-mac-address = <&boardconfig 0x16>;
};
pci@E105400 {
};
+ ralink_eep {
+ compatible = "ralink,eeprom";
+ ralink,eeprom = "RT2860.eeprom";
+ };
+
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
gpio-leds {
compatible = "gpio-leds";
- power {
- label = "power";
+ power_blue: power1 {
+ label = "arv752dpw22:blue:power";
gpios = <&gpio 3 1>;
- default-state = "on";
+ };
+ internet_red: internet {
+ label = "arv752dpw22:red:internet";
+ gpios = <&gpio 4 1>;
};
message {
- label = "message";
+ label = "arv752dpw22:red:message";
gpios = <&gpio 5 1>;
- default-state = "on";
};
- power1 {
- label = "power1";
+ power_red: power {
+ label = "arv752dpw22:red:power";
gpios = <&gpio 6 1>;
- default-state = "on";
+ default-state = "keep";
};
voice1 {
- label = "voice1";
+ label = "arv752dpw22:red:voice";
gpios = <&gpio 8 1>;
- default-state = "on";
};
microphone {
- label = "microphone";
+ label = "arv752dpw22:red:umts";
gpios = <&gpiomm 3 1>;
- default-state = "on";
};
- wifi {
- label = "wifi_rt";
+ wifi: wifi {
+ label = "arv752dpw22:red:wifi";
gpios = <&gpiomm 4 1>;
- default-state = "on";
};
fxs1 {
- label = "fxs1";
+ label = "arv752dpw22:green:tae-n";
gpios = <&gpiomm 5 1>;
- default-state = "on";
};
fxs2 {
- label = "fxs2";
+ label = "arv752dpw22:green:tae-u";
gpios = <&gpiomm 6 1>;
- default-state = "on";
};
fxo {
- label = "fxo";
+ label = "arv752dpw22:green:isdn";
gpios = <&gpiomm 7 1>;
- default-state = "on";
};
- dsl {
- label = "dsl";
+ internet2 {
+ label = "arv752dpw22:blue:internet";
gpios = <&gpiomm 8 1>;
- default-state = "on";
};
voice2 {
- label = "voice2";
+ label = "arv752dpw22:blue:voice";
gpios = <&gpiomm 9 1>;
- default-state = "on";
};
eth1 {
- label = "eth1";
+ label = "arv752dpw22:green:lan1";
gpios = <&gpiomm 11 1>;
- default-state = "on";
};
eth2 {
- label = "eth2";
+ label = "arv752dpw22:green:lan2";
gpios = <&gpiomm 12 1>;
- default-state = "on";
};
eth3 {
- label = "eth3";
+ label = "arv752dpw22:green:lan3";
gpios = <&gpiomm 13 1>;
- default-state = "on";
};
eth4 {
- label = "eth4";
+ label = "arv752dpw22:green:lan4";
gpios = <&gpiomm 14 1>;
- default-state = "on";
};
};
};