forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lantiq: add support for AVM Fritzbox 3490
This adds support for the Fritzbox 3490 device. It contains two SoCs, one Lantiq with a 5GHz WiFi and one QCA9558 with 2.4GHz and 5 GHz WiFi. Only the Lantiq has access to the flash memory, the Atheros runs fully from RAM and is booted by using a remoteproc kernel module which is not supported with this commit. The devices were manufactured with varying NAND chips which requires Micron and non-Micron versions of the images. Specifications: - SoC: Lantiq 500 MHz - RAM: 256 MB - Storage: 512 MB NAND, 1MB FLASH - Wireless, separate SOC QCA9558 with 128MB RAM (not supported yet): · Qualcomm-QCA9558 w/ 3×3 MIMO for 2.4GHz 802.11b/g/n · Qualcomm-QCA9880 w/ 3×3 MIMO for 5GHz 802.11a/ac · AG71xx ethernet - Ethernet: Built-in AR 803x, 7 port 4 phy switch, 4x 1000/100/10 port, Port 5 is fixed and connected to the WASP SOC - Renesas µPD720202 USB3 PCIe, requires firmware binary on the device - VDSL2 modem - Without telephony or ISDN Installation: Check which NAND the device has by using the following procedure with stock firmware: Go to to http://<fritzbox_ip>/support.lua, download the support data file and search for string "NAND device" to get the manufacturer kernel output. Use Micron image if Micron is displayed otherwise the non-Micron image. Use the eva_ramboot.py script to boot the initramfs image. Follow the procedure to interrupt booting by ftp into 192.168.178.1 within 5 seconds after poweron. Then transfer the sysupgrade image to the device and run sysupgrade to flash it to the NAND. For making USB work, an renesas xhci firmware file (e.g. v2026) is needed and it should be copied to /lib/firmware/ (file name renesas_usb_fw.mem). Signed-off-by: Daniel Kestrel <[email protected]>
- Loading branch information
1 parent
31ba162
commit 0e0c48d
Showing
7 changed files
with
135 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz3490-micron.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT | ||
|
||
#include "vr9_avm_fritz3490.dtsi" | ||
|
||
/ { | ||
compatible = "avm,fritz3490-micron", "lantiq,xway", "lantiq,vr9"; | ||
model = "AVM FRITZ!Box 3490 (Micron NAND)"; | ||
}; | ||
|
||
&nand1 { | ||
nand-ecc-engine = <&nand1>; | ||
}; |
8 changes: 8 additions & 0 deletions
8
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz3490.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT | ||
|
||
#include "vr9_avm_fritz3490.dtsi" | ||
|
||
/ { | ||
compatible = "avm,fritz3490", "lantiq,xway", "lantiq,vr9"; | ||
model = "AVM FRITZ!Box 3490"; | ||
}; |
81 changes: 81 additions & 0 deletions
81
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz3490.dtsi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT | ||
|
||
#include "vr9_avm_fritzxx90.dtsi" | ||
|
||
/ { | ||
compatible = "avm,fritz3490", "lantiq,xway", "lantiq,vr9"; | ||
model = "AVM FRITZ!Box 3490"; | ||
}; | ||
|
||
&aliases { | ||
led-dsl = &led_info_green; | ||
led-internet = &led_internet; | ||
led-wifi = &led_wifi; | ||
}; | ||
|
||
&leds { | ||
led_lan: lan { | ||
label = "green:lan"; | ||
gpios = <&gpio 47 GPIO_ACTIVE_LOW>; | ||
}; | ||
|
||
led_wifi: wifi { | ||
label = "green:wlan"; | ||
gpios = <&gpio 36 GPIO_ACTIVE_LOW>; | ||
}; | ||
|
||
led_internet: internet { | ||
label = "green:internet"; | ||
gpios = <&gpio 35 GPIO_ACTIVE_LOW>; | ||
}; | ||
}; | ||
|
||
&gswip_mdio { | ||
phy0: ethernet-phy@0 { | ||
reg = <0x00>; | ||
reset-gpios = <&gpio 32 GPIO_ACTIVE_LOW>; | ||
}; | ||
|
||
phy1: ethernet-phy@1 { | ||
reg = <0x01>; | ||
reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>; | ||
}; | ||
|
||
phy11: ethernet-phy@11 { | ||
reg = <0x11>; | ||
}; | ||
|
||
phy13: ethernet-phy@13 { | ||
reg = <0x13>; | ||
}; | ||
}; | ||
|
||
&gswip_ports { | ||
port@0 { | ||
reg = <0>; | ||
label = "lan3"; | ||
phy-mode = "rgmii-rxid"; | ||
phy-handle = <&phy0>; | ||
}; | ||
|
||
port@1 { | ||
reg = <1>; | ||
label = "lan4"; | ||
phy-mode = "rgmii-rxid"; | ||
phy-handle = <&phy1>; | ||
}; | ||
|
||
port@2 { | ||
reg = <2>; | ||
label = "lan2"; | ||
phy-mode = "internal"; | ||
phy-handle = <&phy11>; | ||
}; | ||
|
||
port@4 { | ||
reg = <4>; | ||
label = "lan1"; | ||
phy-mode = "internal"; | ||
phy-handle = <&phy13>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters