ipq40xx: pakedge_wr-1: convert to DSA
Convert pakedge_wr-1 device to DSA and enable it. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com> Reviewed-by: Robert Marko <robimarko@gmail.com>i [ improve commit description ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
70d9193b51
commit
ee38573093
3 changed files with 39 additions and 2 deletions
|
@ -21,6 +21,7 @@ ipq40xx_setup_interfaces()
|
||||||
mikrotik,hap-ac3|\
|
mikrotik,hap-ac3|\
|
||||||
p2w,r619ac-64m|\
|
p2w,r619ac-64m|\
|
||||||
p2w,r619ac-128m|\
|
p2w,r619ac-128m|\
|
||||||
|
pakedge,wr-1|\
|
||||||
zyxel,nbg6617)
|
zyxel,nbg6617)
|
||||||
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
|
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
compatible = "pakedge,wr-1";
|
compatible = "pakedge,wr-1";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
|
label-mac-device = &gmac;
|
||||||
led-boot = &led_power;
|
led-boot = &led_power;
|
||||||
led-failsafe = &led_power;
|
led-failsafe = &led_power;
|
||||||
led-running = &led_power;
|
led-running = &led_power;
|
||||||
|
@ -177,6 +178,10 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&gmac {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&mdio {
|
&mdio {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
@ -185,6 +190,38 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&switch {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&swport1 {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
label = "lan4";
|
||||||
|
};
|
||||||
|
|
||||||
|
&swport2 {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
label = "lan3";
|
||||||
|
};
|
||||||
|
|
||||||
|
&swport3 {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
label = "lan2";
|
||||||
|
};
|
||||||
|
|
||||||
|
&swport4 {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
label = "lan1";
|
||||||
|
};
|
||||||
|
|
||||||
|
&swport5 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&tlmm {
|
&tlmm {
|
||||||
key_pins: key_pinmux {
|
key_pins: key_pinmux {
|
||||||
mux {
|
mux {
|
||||||
|
|
|
@ -938,8 +938,7 @@ define Device/pakedge_wr-1
|
||||||
IMAGE_SIZE := 31232k
|
IMAGE_SIZE := 31232k
|
||||||
IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | append-metadata
|
IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | append-metadata
|
||||||
endef
|
endef
|
||||||
# Missing DSA Setup
|
TARGET_DEVICES += pakedge_wr-1
|
||||||
#TARGET_DEVICES += pakedge_wr-1
|
|
||||||
|
|
||||||
define Device/plasmacloud_pa1200
|
define Device/plasmacloud_pa1200
|
||||||
$(call Device/FitImageLzma)
|
$(call Device/FitImageLzma)
|
||||||
|
|
Loading…
Reference in a new issue