--- /dev/null
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/dts-v1/;
+
+#include "vr9_avm_fritz736x.dtsi"
+
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/mips/lantiq_rcu_gphy.h>
+
+/ {
+ compatible = "avm,fritz7360v2", "avm,fritz736x", "lantiq,xway", "lantiq,vr9";
+ model = "AVM FRITZ!Box 7360 V2";
+};
+
+&power_green {
+ label = "fritz7360v2:green:power";
+};
+
+&power_red {
+ label = "fritz7360v2:red:power";
+};
+
+&info_green {
+ label = "fritz7360v2:green:info";
+};
+
+&wifi {
+ label = "fritz7360v2:green:wlan";
+};
+
+&info_red {
+ label = "fritz7360v2:red:info";
+};
+
+&dect {
+ label = "fritz7360v2:green:dect";
+};
+
+&state_default {
+ pcie-rst {
+ lantiq,pins = "io21";
+ lantiq,pull = <0>;
+ lantiq,output = <1>;
+ };
+};
+
+&localbus {
+ flash@0 {
+ compatible = "lantiq,nor";
+ bank-width = <2>;
+ reg = <0 0x0 0x2000000>;
+
+ partitions {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "fixed-partitions";
+
+ urlader: partition@0 {
+ label = "urlader";
+ reg = <0x00000 0x20000>;
+ read-only;
+ };
+
+ partition@20000 {
+ label = "firmware";
+ reg = <0x20000 0x1f60000>;
+ };
+
+ partition@1f80000 {
+ label = "tffs (1)";
+ reg = <0x1f80000 0x40000>;
+ read-only;
+ };
+
+ partition@1fc0000 {
+ label = "tffs (2)";
+ reg = <0x1fc0000 0x40000>;
+ read-only;
+ };
+ };
+ };
+};
--- /dev/null
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/dts-v1/;
+
+#include "vr9_avm_fritz736x.dtsi"
+
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/mips/lantiq_rcu_gphy.h>
+
+/ {
+ compatible = "avm,fritz7360v2", "avm,fritz736x", "lantiq,xway", "lantiq,vr9";
+ model = "AVM FRITZ!Box 7360 V2";
+};
+
+&power_green {
+ label = "fritz7360v2:green:power";
+};
+
+&power_red {
+ label = "fritz7360v2:red:power";
+};
+
+&info_green {
+ label = "fritz7360v2:green:info";
+};
+
+&wifi {
+ label = "fritz7360v2:green:wlan";
+};
+
+&info_red {
+ label = "fritz7360v2:red:info";
+};
+
+&dect {
+ label = "fritz7360v2:green:dect";
+};
+
+&state_default {
+ pcie-rst {
+ lantiq,pins = "io21";
+ lantiq,pull = <0>;
+ lantiq,output = <1>;
+ };
+};
+
+&localbus {
+ flash@0 {
+ compatible = "lantiq,nor";
+ bank-width = <2>;
+ reg = <0 0x0 0x2000000>;
+
+ partitions {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "fixed-partitions";
+
+ urlader: partition@0 {
+ label = "urlader";
+ reg = <0x00000 0x20000>;
+ read-only;
+ };
+
+ partition@20000 {
+ label = "firmware";
+ reg = <0x20000 0x1f60000>;
+ };
+
+ partition@1f80000 {
+ label = "tffs (1)";
+ reg = <0x1f80000 0x40000>;
+ read-only;
+ };
+
+ partition@1fc0000 {
+ label = "tffs (2)";
+ reg = <0x1fc0000 0x40000>;
+ read-only;
+ };
+ };
+ };
+};
endef
TARGET_DEVICES += avm_fritz7360sl
+define Device/avm_fritz7360v2
+ $(Device/AVM)
+ DEVICE_MODEL := FRITZ!Box 7360
+ DEVICE_VARIANT := v2
+ IMAGE_SIZE := 32128k
+ DEVICE_PACKAGES := kmod-ath9k kmod-owl-loader wpad-basic kmod-usb-dwc2
+ SUPPORTED_DEVICES += FRITZ7360V2
+endef
+TARGET_DEVICES += avm_fritz7360v2
+
define Device/avm_fritz7362sl
$(Device/AVM)
$(Device/NAND)
avm,fritz3370-rev2-hynix|\
avm,fritz3370-rev2-micron|\
avm,fritz7360sl|\
+ avm,fritz7360v2|\
avm,fritz7362sl)
ucidef_add_switch "switch0" \
"0:lan:3" "1:lan:4" "2:lan:2" "4:lan:1" "6t@eth0"
avm,fritz7362sl)
caldata_extract_reverse "urlader" 0x1541 0x440
;;
- avm,fritz7360sl)
+ avm,fritz7360sl|\
+ avm,fritz7360v2)
caldata_extract "urlader" 0x985 0x1000
;;
avm,fritz7412)