lantiq: several ARV7519RW22 fixes
Fixes ARV7519RW22 flash register (only 1 flash). Power LED is green, not red. Rename message LEDs to internet. Add LEDs configuration (lan, wan, power). Enable switch VLANs. Fix secondary USB. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com> SVN-Revision: 47132
This commit is contained in:
parent
2795592d91
commit
a0543c2bdc
3 changed files with 21 additions and 9 deletions
|
@ -51,6 +51,11 @@ P2812HNUF*)
|
||||||
ucidef_set_led_netdev "dsl" "dsl" "dsl" "nas0"
|
ucidef_set_led_netdev "dsl" "dsl" "dsl" "nas0"
|
||||||
ucidef_set_led_netdev "internet_green" "internet_green" "internet_green" "pppoe-wan"
|
ucidef_set_led_netdev "internet_green" "internet_green" "internet_green" "pppoe-wan"
|
||||||
;;
|
;;
|
||||||
|
ARV7519RW22)
|
||||||
|
ucidef_set_led_default "power" "power" "power" "1"
|
||||||
|
ucidef_set_led_netdev "internet_green" "internet_green" "internet_green" "pppoe-wan"
|
||||||
|
ucidef_set_led_netdev "lan" "lan" "lan" "eth0.1"
|
||||||
|
;;
|
||||||
ARV8539PW22)
|
ARV8539PW22)
|
||||||
ucidef_set_led_default "power" "power" "soc:green:power" "1"
|
ucidef_set_led_default "power" "power" "soc:green:power" "1"
|
||||||
ucidef_set_led_default "power2" "power2" "soc:red:power" "0"
|
ucidef_set_led_default "power2" "power2" "soc:red:power" "0"
|
||||||
|
|
|
@ -162,6 +162,9 @@ TDW8970|TDW8980)
|
||||||
ARV7519RW22)
|
ARV7519RW22)
|
||||||
lan_mac=$(mtd_get_mac_binary boardconfig 22)
|
lan_mac=$(mtd_get_mac_binary boardconfig 22)
|
||||||
wan_mac=$(macaddr_add "$lan_mac" 1)
|
wan_mac=$(macaddr_add "$lan_mac" 1)
|
||||||
|
ucidef_set_interface_lan "eth0.1"
|
||||||
|
ucidef_add_switch "switch0" "1" "1"
|
||||||
|
ucidef_add_switch_vlan "switch0" "1" "0 2 3 4 5 6t"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
BTHOMEHUBV2B|BTHOMEHUBV3A)
|
BTHOMEHUBV2B|BTHOMEHUBV3A)
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
nor-boot@0 {
|
nor-boot@0 {
|
||||||
compatible = "lantiq,nor";
|
compatible = "lantiq,nor";
|
||||||
bank-width = <2>;
|
bank-width = <2>;
|
||||||
reg = <0 0x0 0x2000000>, <1 0x2000000 0x2000000>;
|
reg = <0 0x0 0x2000000>;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
||||||
|
@ -151,7 +151,11 @@
|
||||||
ifxhcd@E101000 {
|
ifxhcd@E101000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
gpios = <&gpio 32 0>;
|
gpios = <&gpio 32 0>;
|
||||||
lantiq,portmask = <0x3>;
|
};
|
||||||
|
|
||||||
|
ifxhcd@E106000 {
|
||||||
|
status = "okay";
|
||||||
|
gpios = <&gpio 32 0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pcie@d900000 {
|
pcie@d900000 {
|
||||||
|
@ -202,11 +206,11 @@
|
||||||
label = "lan";
|
label = "lan";
|
||||||
gpios = <&gpio 2 1>;
|
gpios = <&gpio 2 1>;
|
||||||
};
|
};
|
||||||
message_red {
|
internet_red {
|
||||||
label = "message_red";
|
label = "internet_red";
|
||||||
gpios = <&gpio 10 1>;
|
gpios = <&gpio 10 1>;
|
||||||
};
|
};
|
||||||
power_red {
|
power_green {
|
||||||
label = "power";
|
label = "power";
|
||||||
gpios = <&gpio 14 1>;
|
gpios = <&gpio 14 1>;
|
||||||
default-state = "on";
|
default-state = "on";
|
||||||
|
@ -215,12 +219,12 @@
|
||||||
label = "alarm";
|
label = "alarm";
|
||||||
gpios = <&gpio 15 1>;
|
gpios = <&gpio 15 1>;
|
||||||
};
|
};
|
||||||
message_orange {
|
internet_orange {
|
||||||
label = "message_orange";
|
label = "internet_orange";
|
||||||
gpios = <&gpio 19 1>;
|
gpios = <&gpio 19 1>;
|
||||||
};
|
};
|
||||||
message_green {
|
internet_green {
|
||||||
label = "message_green";
|
label = "internet_green";
|
||||||
gpios = <&gpio 28 1>;
|
gpios = <&gpio 28 1>;
|
||||||
};
|
};
|
||||||
voice_green {
|
voice_green {
|
||||||
|
|
Loading…
Reference in a new issue