--- /dev/null
+// 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>;
+};
--- /dev/null
+// 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";
+};
--- /dev/null
+// 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>;
+ };
+};
endef
TARGET_DEVICES += avm_fritz3390
+define Device/avm_fritz3490
+ $(Device/dsa-migration)
+ $(Device/AVM)
+ $(Device/NAND)
+ DEVICE_MODEL := FRITZ!Box 3490
+ DEVICE_VARIANT := Other NAND
+ KERNEL_SIZE := 4096k
+ IMAGE_SIZE := 49152k
+ DEVICE_PACKAGES := kmod-usb3 fritz-tffs -kmod-owl-loader
+endef
+TARGET_DEVICES += avm_fritz3490
+
+define Device/avm_fritz3490-micron
+ $(Device/dsa-migration)
+ $(Device/AVM)
+ $(Device/NAND)
+ DEVICE_MODEL := FRITZ!Box 3490
+ DEVICE_VARIANT := Micron NAND
+ KERNEL_SIZE := 4096k
+ IMAGE_SIZE := 49152k
+ DEVICE_PACKAGES := kmod-usb3 fritz-tffs -kmod-owl-loader
+endef
+TARGET_DEVICES += avm_fritz3490-micron
+
define Device/avm_fritz5490
$(Device/dsa-migration)
$(Device/AVM)
avm,fritz3370-rev2-hynix|\
avm,fritz3370-rev2-micron|\
avm,fritz3390|\
+avm,fritz3490|\
+avm,fritz3490-micron|\
avm,fritz5490|\
avm,fritz5490-micron|\
avm,fritz7490|\
avm,fritz3370-rev2-hynix|\
avm,fritz3370-rev2-micron|\
avm,fritz3390|\
+ avm,fritz3490|\
+ avm,fritz3490-micron|\
avm,fritz7360sl|\
avm,fritz7360-v2|\
avm,fritz7362sl|\
avm,fritz3370-rev2-hynix|\
avm,fritz3370-rev2-micron|\
avm,fritz3390|\
+ avm,fritz3490|\
+ avm,fritz3490-micron|\
avm,fritz7360sl|\
avm,fritz7362sl|\
avm,fritz7412|\
wan_mac=$(macaddr_add "$(mtd_get_mac_binary urlader 0xa91)" 1)
;;
avm,fritz3390|\
+ avm,fritz3490|\
+ avm,fritz3490-micron|\
avm,fritz5490|\
avm,fritz5490-micron|\
avm,fritz7362sl|\
avm,fritz3370-rev2-hynix|\
avm,fritz3370-rev2-micron|\
avm,fritz3390|\
+ avm,fritz3490|\
+ avm,fritz3490-micron|\
avm,fritz5490|\
avm,fritz5490-micron|\
avm,fritz7362sl|\