2022-12-22 13:22:49 -07:00
|
|
|
--- a/target/linux/ath79/image/mikrotik.mk
|
|
|
|
+++ a/target/linux/ath79/image/mikrotik.mk
|
2023-01-26 14:34:48 -07:00
|
|
|
@@ -102,6 +102,34 @@
|
2022-12-22 13:22:49 -07:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += mikrotik_routerboard-mapl-2nd
|
|
|
|
|
2023-01-11 19:19:47 -07:00
|
|
|
+define Device/mikrotik_routerboard-ldf-5nd
|
|
|
|
+ $(Device/mikrotik_nor)
|
|
|
|
+ SOC := ar9344
|
|
|
|
+ DEVICE_MODEL := RouterBOARD LDF 5nD
|
|
|
|
+ DEVICE_PACKAGES += rssileds
|
2023-01-13 12:15:10 -07:00
|
|
|
+ SUPPORTED_DEVICES += rb-ldf-5nd
|
2023-01-11 19:19:47 -07:00
|
|
|
+ IMAGE_SIZE := 16256k
|
|
|
|
+endef
|
|
|
|
+TARGET_DEVICES += mikrotik_routerboard-ldf-5nd
|
|
|
|
+
|
2023-01-26 14:34:48 -07:00
|
|
|
+define Device/mikrotik_routerboard-sxt-5hpnd
|
|
|
|
+ $(Device/mikrotik_nor)
|
|
|
|
+ SOC := ar9344
|
|
|
|
+ DEVICE_MODEL := RouterBOARD SXT 5HPnD (SXT 5 High Power)
|
|
|
|
+ DEVICE_PACKAGES += rssileds
|
|
|
|
+ IMAGE_SIZE := 16256k
|
|
|
|
+endef
|
|
|
|
+TARGET_DEVICES += mikrotik_routerboard-sxt-5hpnd
|
|
|
|
+
|
2022-12-22 13:22:49 -07:00
|
|
|
+define Device/mikrotik_routerboard-sxt-5nd
|
|
|
|
+ $(Device/mikrotik_nor)
|
|
|
|
+ SOC := ar9344
|
|
|
|
+ DEVICE_MODEL := RouterBOARD SXT 5nD (SXT Lite5)
|
|
|
|
+ DEVICE_PACKAGES += rssileds
|
|
|
|
+ IMAGE_SIZE := 16256k
|
|
|
|
+endef
|
|
|
|
+TARGET_DEVICES += mikrotik_routerboard-sxt-5nd
|
|
|
|
+
|
|
|
|
define Device/mikrotik_routerboard-sxt-5nd-r2
|
|
|
|
$(Device/mikrotik_nand)
|
|
|
|
SOC := ar9344
|
|
|
|
|
2023-01-11 19:19:47 -07:00
|
|
|
--- /dev/null
|
|
|
|
+++ b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-ldf-5nd.dts
|
2023-12-06 11:12:11 -07:00
|
|
|
@@ -0,0 +1,92 @@
|
2023-01-11 19:19:47 -07:00
|
|
|
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
+
|
2023-12-06 11:12:11 -07:00
|
|
|
+#include "ar9344_mikrotik_routerboard.dtsi"
|
2023-01-11 19:19:47 -07:00
|
|
|
+#include "ar9344_mikrotik_routerboard-16m-nor.dtsi"
|
|
|
|
+
|
|
|
|
+#include <dt-bindings/gpio/gpio.h>
|
|
|
|
+#include <dt-bindings/input/input.h>
|
|
|
|
+
|
|
|
|
+/ {
|
|
|
|
+ compatible = "mikrotik,routerboard-ldf-5nd", "qca,ar9344";
|
|
|
|
+ model = "MikroTik RouterBOARD LDF 5nD";
|
|
|
|
+
|
|
|
|
+ aliases {
|
|
|
|
+ led-boot = &led_user;
|
|
|
|
+ led-failsafe = &led_user;
|
|
|
|
+ led-running = &led_user;
|
|
|
|
+ led-upgrade = &led_user;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ leds {
|
|
|
|
+ compatible = "gpio-leds";
|
|
|
|
+
|
|
|
|
+ power {
|
|
|
|
+ label = "blue:power";
|
|
|
|
+ gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
|
|
|
|
+ default-state = "on";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ rssilow {
|
|
|
|
+ label = "green:rssilow";
|
|
|
|
+ gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ rssimediumlow {
|
|
|
|
+ label = "green:rssimediumlow";
|
|
|
|
+ gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ rssimedium {
|
|
|
|
+ label = "green:rssimedium";
|
|
|
|
+ gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ rssimediumhigh {
|
|
|
|
+ label = "green:rssimediumhigh";
|
|
|
|
+ gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ rssihigh {
|
|
|
|
+ label = "green:rssihigh";
|
|
|
|
+ gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ led_user: user {
|
|
|
|
+ label = "white:user";
|
|
|
|
+ gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ lan {
|
|
|
|
+ label = "green:lan";
|
|
|
|
+ gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ keys {
|
|
|
|
+ compatible = "gpio-keys";
|
|
|
|
+
|
|
|
|
+ reset {
|
|
|
|
+ label = "reset";
|
|
|
|
+ linux,code = <KEY_RESTART>;
|
|
|
|
+ gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
|
|
|
|
+ debounce-interval = <60>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+ð0 {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ phy-handle = <&swphy0>;
|
|
|
|
+
|
|
|
|
+ gmac-config {
|
|
|
|
+ device = <&gmac>;
|
|
|
|
+ switch-phy-swap = <1>;
|
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+ð1 {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ compatible = "syscon", "simple-mfd";
|
|
|
|
+};
|
|
|
|
--- /dev/null
|
2022-12-22 13:22:49 -07:00
|
|
|
+++ b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5nd.dts
|
2023-12-06 11:12:11 -07:00
|
|
|
@@ -0,0 +1,92 @@
|
2022-12-22 13:22:49 -07:00
|
|
|
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
+
|
2023-12-06 11:12:11 -07:00
|
|
|
+#include "ar9344_mikrotik_routerboard.dtsi"
|
2022-12-22 13:22:49 -07:00
|
|
|
+#include "ar9344_mikrotik_routerboard-16m-nor.dtsi"
|
|
|
|
+
|
|
|
|
+#include <dt-bindings/gpio/gpio.h>
|
|
|
|
+#include <dt-bindings/input/input.h>
|
|
|
|
+
|
|
|
|
+/ {
|
|
|
|
+ compatible = "mikrotik,routerboard-sxt-5nd", "qca,ar9344";
|
|
|
|
+ model = "MikroTik RouterBOARD SXT 5nD (SXT Lite5)";
|
|
|
|
+
|
|
|
|
+ aliases {
|
|
|
|
+ led-boot = &led_user;
|
|
|
|
+ led-failsafe = &led_user;
|
|
|
|
+ led-running = &led_user;
|
|
|
|
+ led-upgrade = &led_user;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ leds {
|
|
|
|
+ compatible = "gpio-leds";
|
|
|
|
+
|
|
|
|
+ power {
|
|
|
|
+ label = "blue:power";
|
|
|
|
+ gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
|
|
|
|
+ default-state = "on";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ rssilow {
|
|
|
|
+ label = "green:rssilow";
|
|
|
|
+ gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ rssimediumlow {
|
|
|
|
+ label = "green:rssimediumlow";
|
|
|
|
+ gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ rssimedium {
|
|
|
|
+ label = "green:rssimedium";
|
|
|
|
+ gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ rssimediumhigh {
|
|
|
|
+ label = "green:rssimediumhigh";
|
|
|
|
+ gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ rssihigh {
|
|
|
|
+ label = "green:rssihigh";
|
|
|
|
+ gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ led_user: user {
|
|
|
|
+ label = "white:user";
|
|
|
|
+ gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ lan {
|
|
|
|
+ label = "green:lan";
|
|
|
|
+ gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ keys {
|
|
|
|
+ compatible = "gpio-keys";
|
|
|
|
+
|
|
|
|
+ reset {
|
|
|
|
+ label = "reset";
|
|
|
|
+ linux,code = <KEY_RESTART>;
|
|
|
|
+ gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
|
|
|
|
+ debounce-interval = <60>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+ð0 {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ phy-handle = <&swphy0>;
|
|
|
|
+
|
|
|
|
+ gmac-config {
|
2023-01-10 00:56:12 -07:00
|
|
|
+ device = <&gmac>;
|
2022-12-22 13:22:49 -07:00
|
|
|
+ switch-phy-swap = <1>;
|
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+ð1 {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ compatible = "syscon", "simple-mfd";
|
|
|
|
+};
|
2023-01-26 14:34:48 -07:00
|
|
|
--- /dev/null
|
|
|
|
+++ b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5hpnd.dts
|
|
|
|
@@ -0,0 +1,8 @@
|
|
|
|
+// SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
+
|
|
|
|
+#include "ar9344_mikrotik_routerboard-sxt-5nd.dts"
|
|
|
|
+
|
|
|
|
+/ {
|
|
|
|
+ compatible = "mikrotik,routerboard-sxt-5hpnd", "qca,ar9344";
|
|
|
|
+ model = "MikroTik RouterBOARD SXT 5HPnD (SXT 5 High Power)";
|
|
|
|
+};
|
2022-12-22 13:22:49 -07:00
|
|
|
--- a/target/linux/ipq40xx/image/mikrotik.mk
|
|
|
|
+++ b/target/linux/ipq40xx/image/mikrotik.mk
|
2023-12-06 11:12:11 -07:00
|
|
|
@@ -71,6 +71,30 @@
|
2022-12-22 13:22:49 -07:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += mikrotik_sxtsq-5-ac
|
2023-12-06 11:12:11 -07:00
|
|
|
|
2023-05-17 21:52:51 -06:00
|
|
|
+define Device/mikrotik_ldf-5acd
|
|
|
|
+ $(call Device/mikrotik_nor)
|
|
|
|
+ DEVICE_MODEL := RouterBOARD LDF 5 AC (RBLDFG-5acD)
|
|
|
|
+ SOC := qcom-ipq4018
|
|
|
|
+ DEVICE_PACKAGES := rssileds
|
|
|
|
+endef
|
|
|
|
+TARGET_DEVICES += mikrotik_ldf-5acd
|
|
|
|
+
|
2022-12-22 13:22:49 -07:00
|
|
|
+define Device/mikrotik_lhgg-5acd
|
|
|
|
+ $(call Device/mikrotik_nor)
|
|
|
|
+ DEVICE_MODEL := RouterBOARD LHG 5 AC
|
|
|
|
+ SOC := qcom-ipq4018
|
|
|
|
+ DEVICE_PACKAGES := rssileds
|
|
|
|
+endef
|
|
|
|
+TARGET_DEVICES += mikrotik_lhgg-5acd
|
2023-01-26 14:34:48 -07:00
|
|
|
+
|
|
|
|
+define Device/mikrotik_lhgg-5acd-xl
|
|
|
|
+ $(call Device/mikrotik_nor)
|
|
|
|
+ DEVICE_MODEL := RouterBOARD LHG 5 AC XL
|
|
|
|
+ SOC := qcom-ipq4018
|
|
|
|
+ DEVICE_PACKAGES := rssileds
|
|
|
|
+endef
|
|
|
|
+TARGET_DEVICES += mikrotik_lhgg-5acd-xl
|
2023-12-06 11:12:11 -07:00
|
|
|
+
|
|
|
|
define Device/mikrotik_wap-ac
|
|
|
|
$(call Device/mikrotik_nor)
|
|
|
|
DEVICE_MODEL := wAP ac
|
|
|
|
|
2022-12-22 13:22:49 -07:00
|
|
|
--- a/target/linux/ipq40xx/base-files/etc/board.d/02_network
|
|
|
|
+++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network
|
2023-05-17 21:52:51 -06:00
|
|
|
@@ -35,6 +35,8 @@
|
2022-12-22 13:22:49 -07:00
|
|
|
zyxel,wre6606)
|
|
|
|
ucidef_set_interface_lan "eth0"
|
|
|
|
;;
|
2023-01-26 14:34:48 -07:00
|
|
|
+ mikrotik,lhgg-5acd*|\
|
2023-05-17 21:52:51 -06:00
|
|
|
+ mikrotik,ldf-5acd|\
|
2022-12-22 13:22:49 -07:00
|
|
|
mikrotik,sxtsq-5-ac)
|
|
|
|
ucidef_set_interfaces_lan_wan "lan" "lan.1"
|
|
|
|
ucidef_set_interface "wifi" device "wlan0" protocol "static"
|
2023-05-17 21:52:51 -06:00
|
|
|
@@ -216,6 +217,8 @@
|
2022-12-22 13:22:49 -07:00
|
|
|
label_mac="$wan_mac"
|
|
|
|
;;
|
|
|
|
mikrotik,lhgg-60ad|\
|
2023-01-26 14:34:48 -07:00
|
|
|
+ mikrotik,lhgg-5acd*|\
|
2023-05-17 21:52:51 -06:00
|
|
|
+ mikrotik,ldf-5acd|\
|
2022-12-22 13:22:49 -07:00
|
|
|
mikrotik,sxtsq-5-ac)
|
|
|
|
lan_mac=$(cat /sys/firmware/mikrotik/hard_config/mac_base)
|
|
|
|
label_mac="$lan_mac"
|
|
|
|
--- /dev/null
|
|
|
|
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-lhgg-5acd.dts
|
|
|
|
@@ -0,0 +1,239 @@
|
|
|
|
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
+/* Copyright (c) 2020, Robert Marko <robimarko@gmail.com> */
|
|
|
|
+
|
|
|
|
+#include "qcom-ipq4019.dtsi"
|
|
|
|
+#include <dt-bindings/gpio/gpio.h>
|
|
|
|
+#include <dt-bindings/input/input.h>
|
|
|
|
+#include <dt-bindings/soc/qcom,tcsr.h>
|
|
|
|
+
|
|
|
|
+/ {
|
|
|
|
+ model = "MikroTik LHG 5 ac (RBLHGG-5acD)";
|
|
|
|
+ compatible = "mikrotik,lhgg-5acd";
|
|
|
|
+
|
|
|
|
+ memory {
|
|
|
|
+ device_type = "memory";
|
|
|
|
+ reg = <0x80000000 0x10000000>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ chosen {
|
|
|
|
+ stdout-path = "serial0:115200n8";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ aliases {
|
|
|
|
+ led-boot = &led_user;
|
|
|
|
+ led-failsafe = &led_user;
|
|
|
|
+ led-running = &led_user;
|
|
|
|
+ led-upgrade = &led_user;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ soc {
|
|
|
|
+ rng@22000 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ mdio@90000 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ counter@4a1000 {
|
|
|
|
+ compatible = "qcom,qca-gcnt";
|
|
|
|
+ reg = <0x4a1000 0x4>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ tcsr@1949000 {
|
|
|
|
+ compatible = "qcom,tcsr";
|
|
|
|
+ reg = <0x1949000 0x100>;
|
|
|
|
+ qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ ess_tcsr@1953000 {
|
|
|
|
+ compatible = "qcom,tcsr";
|
|
|
|
+ reg = <0x1953000 0x1000>;
|
|
|
|
+ qcom,ess-interface-select = <TCSR_ESS_PSGMII_RGMII4>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ tcsr@1957000 {
|
|
|
|
+ compatible = "qcom,tcsr";
|
|
|
|
+ reg = <0x1957000 0x100>;
|
|
|
|
+ qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ crypto@8e3a000 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ watchdog@b017000 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ keys {
|
|
|
|
+ compatible = "gpio-keys";
|
|
|
|
+
|
|
|
|
+ reset {
|
|
|
|
+ label = "reset";
|
|
|
|
+ gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
|
|
|
|
+ linux,code = <KEY_RESTART>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ leds {
|
|
|
|
+ compatible = "gpio-leds";
|
|
|
|
+
|
|
|
|
+ power {
|
|
|
|
+ label = "blue:power";
|
|
|
|
+ gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
|
|
|
|
+ default-state = "keep";
|
|
|
|
+ panic-indicator;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ led_user: user {
|
|
|
|
+ label = "green:user";
|
|
|
|
+ gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ rssilow {
|
|
|
|
+ label = "green:rssilow";
|
|
|
|
+ gpios = <&tlmm 58 GPIO_ACTIVE_HIGH>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ rssimediumlow {
|
|
|
|
+ label = "green:rssimediumlow";
|
|
|
|
+ gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ rssimedium {
|
|
|
|
+ label = "green:rssimedium";
|
|
|
|
+ gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ rssimediumhigh {
|
|
|
|
+ label = "green:rssimediumhigh";
|
|
|
|
+ gpios = <&tlmm 4 GPIO_ACTIVE_HIGH>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ rssihigh {
|
|
|
|
+ label = "green:rssihigh";
|
|
|
|
+ gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+&tlmm {
|
|
|
|
+ serial_pins: serial_pinmux {
|
|
|
|
+ mux {
|
|
|
|
+ pins = "gpio60", "gpio61";
|
|
|
|
+ function = "blsp_uart0";
|
|
|
|
+ bias-disable;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ spi_0_pins: spi_0_pinmux {
|
|
|
|
+ pin {
|
|
|
|
+ function = "blsp_spi0";
|
|
|
|
+ pins = "gpio55", "gpio56", "gpio57";
|
|
|
|
+ drive-strength = <2>;
|
|
|
|
+ bias-disable;
|
|
|
|
+ };
|
|
|
|
+ pin_cs {
|
|
|
|
+ function = "gpio";
|
|
|
|
+ pins = "gpio54";
|
|
|
|
+ drive-strength = <2>;
|
|
|
|
+ bias-disable;
|
|
|
|
+ output-high;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+&blsp_dma {
|
|
|
|
+ status = "okay";
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+&blsp1_spi1 {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ pinctrl-0 = <&spi_0_pins>;
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
|
|
|
|
+
|
|
|
|
+ flash@0 {
|
|
|
|
+ reg = <0>;
|
|
|
|
+ compatible = "jedec,spi-nor";
|
|
|
|
+ spi-max-frequency = <40000000>;
|
|
|
|
+
|
|
|
|
+ partitions {
|
|
|
|
+ compatible = "fixed-partitions";
|
|
|
|
+ #address-cells = <1>;
|
|
|
|
+ #size-cells = <1>;
|
|
|
|
+
|
|
|
|
+ partition@0 {
|
|
|
|
+ label = "Qualcomm";
|
|
|
|
+ reg = <0x0 0x80000>;
|
|
|
|
+ read-only;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ partition@80000 {
|
|
|
|
+ compatible = "mikrotik,routerboot-partitions";
|
|
|
|
+ #address-cells = <1>;
|
|
|
|
+ #size-cells = <1>;
|
|
|
|
+ label = "RouterBoot";
|
|
|
|
+ reg = <0x80000 0x80000>;
|
|
|
|
+
|
|
|
|
+ hard_config {
|
|
|
|
+ read-only;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ dtb_config {
|
|
|
|
+ read-only;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ soft_config {
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ partition@100000 {
|
|
|
|
+ compatible = "mikrotik,minor";
|
|
|
|
+ label = "firmware";
|
|
|
|
+ reg = <0x100000 0xf00000>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+&blsp1_uart1 {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ pinctrl-0 = <&serial_pins>;
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+&cryptobam {
|
|
|
|
+ status = "okay";
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+&wifi1 {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ qcom,ath10k-calibration-variant = "MikroTik-LHGG-5acD";
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+&mdio {
|
|
|
|
+ status = "okay";
|
|
|
|
+};
|
|
|
|
+
|
2023-12-06 11:12:11 -07:00
|
|
|
+&gmac {
|
2022-12-22 13:22:49 -07:00
|
|
|
+ status = "okay";
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+&switch {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ /delete-property/ psgmii-ethphy;
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+&swport5 {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ label = "lan";
|
|
|
|
+ phy-mode = "rgmii";
|
|
|
|
+};
|
2023-01-26 14:34:48 -07:00
|
|
|
--- /dev/null
|
|
|
|
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-lhgg-5acd-xl.dts
|
|
|
|
@@ -0,0 +1,8 @@
|
|
|
|
+// SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
+
|
|
|
|
+#include "qcom-ipq4018-lhgg-5acd.dts"
|
|
|
|
+
|
|
|
|
+/ {
|
|
|
|
+ compatible = "mikrotik,lhgg-5acd-xl";
|
|
|
|
+ model = "MikroTik LHG 5 ac XL (RBLHGG-5acD-XL)";
|
|
|
|
+};
|
2023-05-17 21:52:51 -06:00
|
|
|
--- /dev/null
|
|
|
|
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ldf-5acd.dts
|
|
|
|
@@ -0,0 +1,8 @@
|
|
|
|
+// SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
+
|
|
|
|
+#include "qcom-ipq4018-sxtsq-5-ac.dts"
|
|
|
|
+
|
|
|
|
+/ {
|
|
|
|
+ compatible = "mikrotik,ldf-5acd";
|
|
|
|
+ model = "MikroTik LDF 5 ac (RBLDFG-5acD)";
|
|
|
|
+};
|
2022-12-22 13:22:49 -07:00
|
|
|
--- a/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
|
|
|
+++ b/target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
2023-12-06 11:12:11 -07:00
|
|
|
@@ -210,6 +210,8 @@
|
2022-12-22 13:22:49 -07:00
|
|
|
mikrotik,hap-ac3 |\
|
2023-12-06 11:12:11 -07:00
|
|
|
mikrotik,hap-ac3-lte6-kit |\
|
|
|
|
mikrotik,sxtsq-5-ac |\
|
2023-03-13 17:04:43 -06:00
|
|
|
+ mikrotik,lhgg-5acd* |\
|
2023-05-17 21:52:51 -06:00
|
|
|
+ mikrotik,ldf-5acd |\
|
2023-12-06 11:12:11 -07:00
|
|
|
mikrotik,wap-ac |\
|
|
|
|
mikrotik,wap-ac-lte |\
|
|
|
|
mikrotik,wap-r-ac)
|
|
|
|
@@ -249,6 +251,8 @@
|
2022-12-22 13:22:49 -07:00
|
|
|
mikrotik,hap-ac2 |\
|
|
|
|
mikrotik,hap-ac3 |\
|
2023-12-06 11:12:11 -07:00
|
|
|
mikrotik,hap-ac3-lte6-kit |\
|
2023-03-13 17:04:43 -06:00
|
|
|
+ mikrotik,lhgg-5acd* |\
|
2023-05-17 21:52:51 -06:00
|
|
|
+ mikrotik,ldf-5acd |\
|
2023-12-06 11:12:11 -07:00
|
|
|
mikrotik,wap-ac |\
|
|
|
|
mikrotik,wap-ac-lte |\
|
|
|
|
mikrotik,wap-r-ac)
|
|
|
|
@@ -265,6 +269,8 @@
|
|
|
|
mikrotik,hap-ac3 |\
|
|
|
|
mikrotik,hap-ac3-lte6-kit |\
|
|
|
|
mikrotik,sxtsq-5-ac |\
|
|
|
|
+ mikrotik,lhgg-5acd*|\
|
|
|
|
+ mikrotik,ldf-5acd|\
|
|
|
|
mikrotik,wap-ac |\
|
|
|
|
mikrotik,wap-ac-lte |\
|
|
|
|
mikrotik,wap-r-ac)
|
2022-12-22 13:22:49 -07:00
|
|
|
--- a/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh
|
|
|
|
+++ b/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh
|
2023-12-06 11:12:11 -07:00
|
|
|
@@ -181,6 +181,8 @@
|
2022-12-22 13:22:49 -07:00
|
|
|
mikrotik,cap-ac|\
|
|
|
|
mikrotik,hap-ac2|\
|
2023-12-06 11:12:11 -07:00
|
|
|
mikrotik,hap-ac3-lte6-kit|\
|
2023-03-13 17:04:43 -06:00
|
|
|
+ mikrotik,lhgg-5acd*|\
|
2023-05-17 21:52:51 -06:00
|
|
|
+ mikrotik,ldf-5acd|\
|
2022-12-22 13:22:49 -07:00
|
|
|
mikrotik,lhgg-60ad|\
|
2023-12-06 11:12:11 -07:00
|
|
|
mikrotik,sxtsq-5-ac|\
|
|
|
|
mikrotik,wap-ac|\
|
2022-12-22 13:22:49 -07:00
|
|
|
--- a/target/linux/ath79/image/mikrotik.mk
|
|
|
|
+++ b/target/linux/ath79/image/mikrotik.mk
|
|
|
|
@@ -28,6 +28,16 @@
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += mikrotik_routerboard-921gs-5hpacd-15s
|
|
|
|
|
|
|
|
+define Device/mikrotik_routerboard-921gs-5hpacd-19s
|
|
|
|
+ $(Device/mikrotik_nand)
|
|
|
|
+ SOC := qca9558
|
|
|
|
+ DEVICE_MODEL := RouterBOARD 921GS-5HPacD-19s (mANTBox 19s)
|
|
|
|
+ DEVICE_PACKAGES += kmod-ath10k-ct ath10k-firmware-qca988x-ct kmod-i2c-gpio \
|
|
|
|
+ kmod-sfp
|
|
|
|
+ SUPPORTED_DEVICES += rb-921gs-5hpacd-r2
|
|
|
|
+endef
|
|
|
|
+TARGET_DEVICES += mikrotik_routerboard-921gs-5hpacd-19s
|
|
|
|
+
|
|
|
|
define Device/mikrotik_routerboard-922uags-5hpacd
|
|
|
|
$(Device/mikrotik_nand)
|
|
|
|
SOC := qca9558
|
|
|
|
--- /dev/null
|
|
|
|
+++ b/target/linux/ath79/dts/qca9558_mikrotik_routerboard-921gs-5hpacd-19s.dts
|
|
|
|
@@ -0,0 +1,29 @@
|
|
|
|
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
+
|
|
|
|
+#include "qca9558_mikrotik_routerboard-92x.dtsi"
|
|
|
|
+
|
|
|
|
+/ {
|
|
|
|
+ compatible = "mikrotik,routerboard-921gs-5hpacd-19s", "qca,qca9558";
|
|
|
|
+ model = "MikroTik RouterBOARD 921GS-5HPacD-19s";
|
|
|
|
+
|
|
|
|
+ ath10k-leds {
|
|
|
|
+ compatible = "gpio-leds";
|
|
|
|
+
|
|
|
|
+ wlan5g {
|
|
|
|
+ label = "green:wlan5g";
|
|
|
|
+ gpios = <&ath10k 0 GPIO_ACTIVE_LOW>;
|
|
|
|
+ linux,default-trigger = "phy0tpt";
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+&pcie1 {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ ath10k: wifi@0,0 {
|
|
|
|
+ compatible = "qcom,ath10k";
|
|
|
|
+ reg = <0 0 0 0 0>;
|
|
|
|
+ #gpio-cells = <2>;
|
|
|
|
+ gpio-controller;
|
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
--- a/target/linux/ath79/mikrotik/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
|
|
|
+++ b/target/linux/ath79/mikrotik/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
|
|
|
|
@@ -12,6 +12,7 @@
|
|
|
|
"ath10k/cal-pci-0000:00:00.0.bin")
|
|
|
|
case $board in
|
|
|
|
mikrotik,routerboard-921gs-5hpacd-15s|\
|
|
|
|
+ mikrotik,routerboard-921gs-5hpacd-19s|\
|
|
|
|
mikrotik,routerboard-951ui-2nd|\
|
|
|
|
mikrotik,routerboard-952ui-5ac2nd|\
|
|
|
|
mikrotik,routerboard-962uigs-5hact2hnt|\
|
|
|
|
--- a/target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh
|
|
|
|
+++ b/target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh
|
|
|
|
@@ -34,6 +34,7 @@
|
|
|
|
mikrotik,routerboard-493g|\
|
|
|
|
mikrotik,routerboard-912uag-2hpnd|\
|
|
|
|
mikrotik,routerboard-921gs-5hpacd-15s|\
|
|
|
|
+ mikrotik,routerboard-921gs-5hpacd-19s|\
|
|
|
|
mikrotik,routerboard-922uags-5hpacd|\
|
|
|
|
mikrotik,routerboard-sxt-5nd-r2)
|
|
|
|
platform_do_upgrade_mikrotik_nand "$1"
|
2022-12-22 22:34:43 -07:00
|
|
|
|
|
|
|
--- /dev/null
|
|
|
|
+++ b/target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-5hpnd.dts
|
2023-12-06 11:12:11 -07:00
|
|
|
@@ -0,0 +1,8 @@
|
|
|
|
+// SPDX-License-Identifier: GPL-2.0-only
|
2022-12-22 22:34:43 -07:00
|
|
|
+
|
2023-12-06 11:12:11 -07:00
|
|
|
+#include "ar9342_mikrotik_routerboard-912uag-2hpnd.dts"
|
2022-12-22 22:34:43 -07:00
|
|
|
+
|
|
|
|
+/ {
|
|
|
|
+ compatible = "mikrotik,routerboard-912uag-5hpnd", "qca,ar9342";
|
|
|
|
+ model = "MikroTik RouterBOARD 912UAG-5HPnD";
|
|
|
|
+};
|
2023-01-29 20:22:53 -07:00
|
|
|
--- /dev/null
|
|
|
|
+++ b/target/linux/ath79/dts/ar9342_mikrotik_routerboard-911g-5hpnd-qrt.dts
|
|
|
|
@@ -0,0 +1,8 @@
|
|
|
|
+// SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
+
|
|
|
|
+#include "ar9342_mikrotik_routerboard-912uag-5hpnd.dts"
|
|
|
|
+
|
|
|
|
+/ {
|
|
|
|
+ compatible = "mikrotik,routerboard-911g-5hpnd-qrt", "qca,ar9342";
|
|
|
|
+ model = "MikroTik RouterBOARD 911G-5HPnD-QRT";
|
|
|
|
+};
|
2022-12-22 22:34:43 -07:00
|
|
|
--- a/target/linux/ath79/mikrotik/base-files/etc/board.d/02_network
|
|
|
|
+++ b/target/linux/ath79/mikrotik/base-files/etc/board.d/02_network
|
2023-12-06 11:12:11 -07:00
|
|
|
@@ -14,8 +14,10 @@
|
|
|
|
ucidef_add_switch "switch1" \
|
2022-12-22 22:34:43 -07:00
|
|
|
"0@eth1" "1:lan:4" "2:lan:1" "3:lan:2" "4:lan:3"
|
|
|
|
;;
|
2023-01-29 20:22:53 -07:00
|
|
|
+ mikrotik,routerboard-911g-5hpnd*|\
|
2023-12-06 11:12:11 -07:00
|
|
|
mikrotik,routerboard-911-lite|\
|
2022-12-22 22:34:43 -07:00
|
|
|
mikrotik,routerboard-912uag-2hpnd|\
|
|
|
|
+ mikrotik,routerboard-912uag-5hpnd|\
|
|
|
|
mikrotik,routerboard-lhg-2nd|\
|
|
|
|
mikrotik,routerboard-lhg-5nd|\
|
|
|
|
mikrotik,routerboard-mapl-2nd|\
|
2023-12-06 11:12:11 -07:00
|
|
|
@@ -73,8 +75,10 @@
|
|
|
|
local mac_base="$(cat /sys/firmware/mikrotik/hard_config/mac_base)"
|
2022-12-22 22:34:43 -07:00
|
|
|
|
|
|
|
case "$board" in
|
2023-01-29 20:22:53 -07:00
|
|
|
+ mikrotik,routerboard-911g-5hpnd*|\
|
2023-12-06 11:12:11 -07:00
|
|
|
mikrotik,routerboard-911-lite|\
|
2022-12-22 22:34:43 -07:00
|
|
|
mikrotik,routerboard-912uag-2hpnd|\
|
|
|
|
+ mikrotik,routerboard-912uag-5hpnd|\
|
|
|
|
mikrotik,routerboard-lhg-2nd|\
|
|
|
|
mikrotik,routerboard-lhg-5nd|\
|
|
|
|
mikrotik,routerboard-map-2nd|\
|
|
|
|
--- a/target/linux/ath79/mikrotik/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
|
|
|
|
+++ b/target/linux/ath79/mikrotik/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
|
2023-12-06 11:12:11 -07:00
|
|
|
@@ -23,8 +23,10 @@
|
|
|
|
case "$FIRMWARE" in
|
2022-12-22 22:34:43 -07:00
|
|
|
"ath9k-eeprom-ahb-18100000.wmac.bin")
|
|
|
|
case $board in
|
2023-01-29 20:22:53 -07:00
|
|
|
+ mikrotik,routerboard-911g-5hpnd*|\
|
2023-12-06 11:12:11 -07:00
|
|
|
mikrotik,routerboard-911-lite|\
|
2022-12-22 22:34:43 -07:00
|
|
|
mikrotik,routerboard-912uag-2hpnd|\
|
|
|
|
+ mikrotik,routerboard-912uag-5hpnd|\
|
|
|
|
mikrotik,routerboard-lhg-2nd|\
|
|
|
|
mikrotik,routerboard-lhg-5nd|\
|
|
|
|
mikrotik,routerboard-sxt-5nd|\
|
|
|
|
--- a/target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh
|
|
|
|
+++ b/target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh
|
2023-12-06 11:12:11 -07:00
|
|
|
@@ -30,7 +30,9 @@
|
|
|
|
|
2022-12-22 22:34:43 -07:00
|
|
|
case "$board" in
|
|
|
|
mikrotik,routerboard-493g|\
|
2023-01-29 20:22:53 -07:00
|
|
|
+ mikrotik,routerboard-911g-5hpnd*|\
|
2022-12-22 22:34:43 -07:00
|
|
|
mikrotik,routerboard-912uag-2hpnd|\
|
|
|
|
+ mikrotik,routerboard-912uag-5hpnd|\
|
|
|
|
mikrotik,routerboard-921gs-5hpacd-15s|\
|
|
|
|
mikrotik,routerboard-922uags-5hpacd|\
|
2023-12-06 11:12:11 -07:00
|
|
|
mikrotik,routerboard-951g-2hnd|\
|
2022-12-22 22:34:43 -07:00
|
|
|
--- a/target/linux/ath79/image/mikrotik.mk
|
|
|
|
+++ b/target/linux/ath79/image/mikrotik.mk
|
2023-01-29 20:22:53 -07:00
|
|
|
@@ -18,6 +18,24 @@
|
2022-12-22 22:34:43 -07:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += mikrotik_routerboard-912uag-2hpnd
|
|
|
|
|
|
|
|
+define Device/mikrotik_routerboard-912uag-5hpnd
|
|
|
|
+ $(Device/mikrotik_nand)
|
|
|
|
+ SOC := ar9342
|
|
|
|
+ DEVICE_MODEL := RouterBOARD 912UAG-5HPnD
|
|
|
|
+ DEVICE_PACKAGES += kmod-usb-ehci kmod-usb2
|
|
|
|
+ SUPPORTED_DEVICES += rb-912uag-5hpnd
|
|
|
|
+endef
|
|
|
|
+TARGET_DEVICES += mikrotik_routerboard-912uag-5hpnd
|
2023-01-29 20:22:53 -07:00
|
|
|
+
|
|
|
|
+define Device/mikrotik_routerboard-911g-5hpnd-qrt
|
|
|
|
+ $(Device/mikrotik_nand)
|
|
|
|
+ SOC := ar9342
|
|
|
|
+ DEVICE_MODEL := RouterBOARD 911G-5HPnD-QRT
|
|
|
|
+ DEVICE_PACKAGES += kmod-usb-ehci kmod-usb2
|
|
|
|
+ SUPPORTED_DEVICES += rb-912uag-5hpnd
|
|
|
|
+endef
|
|
|
|
+TARGET_DEVICES += mikrotik_routerboard-911g-5hpnd-qrt
|
2022-12-22 22:34:43 -07:00
|
|
|
+
|
|
|
|
define Device/mikrotik_routerboard-921gs-5hpacd-15s
|
|
|
|
$(Device/mikrotik_nand)
|
|
|
|
SOC := qca9558
|
2024-01-24 20:28:36 -07:00
|
|
|
--- a/target/linux/ath79/image/mikrotik.mk
|
|
|
|
+++ b/target/linux/ath79/image/mikrotik.mk
|
|
|
|
@@ -28,6 +28,15 @@
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += mikrotik_routerboard-912uag-2hpnd
|
|
|
|
|
|
|
|
+define Device/mikrotik_routerboard-911g-2hpnd-12s
|
|
|
|
+ $(Device/mikrotik_nand)
|
|
|
|
+ SOC := ar9342
|
|
|
|
+ DEVICE_MODEL := RouterBOARD 911G-2HPnD-12s
|
|
|
|
+ DEVICE_PACKAGES += kmod-usb-ehci kmod-usb2
|
|
|
|
+ SUPPORTED_DEVICES += rb-912uag-2hpnd
|
|
|
|
+endef
|
|
|
|
+TARGET_DEVICES += mikrotik_routerboard-911g-2hpnd-12s
|
|
|
|
+
|
|
|
|
define Device/mikrotik_routerboard-912uag-5hpnd
|
|
|
|
$(Device/mikrotik_nand)
|
|
|
|
SOC := ar9342
|
|
|
|
|
|
|
|
--- /dev/null
|
|
|
|
+++ b/target/linux/ath79/dts/ar9342_mikrotik_routerboard-911g-2hpnd-12s.dts
|
|
|
|
@@ -0,0 +1,8 @@
|
|
|
|
+// SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
+
|
|
|
|
+#include "ar9342_mikrotik_routerboard-912uag-2hpnd.dts"
|
|
|
|
+
|
|
|
|
+/ {
|
|
|
|
+ compatible = "mikrotik,routerboard-911g-2hpnd-12s", "qca,ar9342";
|
|
|
|
+ model = "MikroTik RouterBOARD 911G-2HPnD-12s";
|
|
|
|
+};
|
|
|
|
--- a/target/linux/ath79/mikrotik/base-files/etc/board.d/02_network
|
|
|
|
+++ b/target/linux/ath79/mikrotik/base-files/etc/board.d/02_network
|
|
|
|
@@ -16,6 +16,7 @@
|
|
|
|
;;
|
|
|
|
mikrotik,routerboard-911g-5hpnd*|\
|
|
|
|
mikrotik,routerboard-911-lite|\
|
|
|
|
+ mikrotik,routerboard-911g-2hpnd*|\
|
|
|
|
mikrotik,routerboard-912uag-2hpnd|\
|
|
|
|
mikrotik,routerboard-912uag-5hpnd|\
|
|
|
|
mikrotik,routerboard-lhg-2nd|\
|
|
|
|
@@ -82,6 +83,7 @@
|
|
|
|
case "$board" in
|
|
|
|
mikrotik,routerboard-911g-5hpnd*|\
|
|
|
|
mikrotik,routerboard-911-lite|\
|
|
|
|
+ mikrotik,routerboard-911g-2hpnd*|\
|
|
|
|
mikrotik,routerboard-912uag-2hpnd|\
|
|
|
|
mikrotik,routerboard-912uag-5hpnd|\
|
|
|
|
mikrotik,routerboard-lhg-2nd|\
|
|
|
|
--- a/target/linux/ath79/mikrotik/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
|
|
|
|
+++ b/target/linux/ath79/mikrotik/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
|
|
|
|
@@ -25,6 +25,7 @@
|
|
|
|
case $board in
|
|
|
|
mikrotik,routerboard-911g-5hpnd*|\
|
|
|
|
mikrotik,routerboard-911-lite|\
|
|
|
|
+ mikrotik,routerboard-911g-2hpnd*|\
|
|
|
|
mikrotik,routerboard-912uag-2hpnd|\
|
|
|
|
mikrotik,routerboard-912uag-5hpnd|\
|
|
|
|
mikrotik,routerboard-lhg-2nd|\
|
|
|
|
--- a/target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh
|
|
|
|
+++ b/target/linux/ath79/mikrotik/base-files/lib/upgrade/platform.sh
|
|
|
|
@@ -33,6 +33,7 @@
|
|
|
|
case "$board" in
|
|
|
|
mikrotik,routerboard-493g|\
|
|
|
|
mikrotik,routerboard-911g-5hpnd*|\
|
|
|
|
+ mikrotik,routerboard-911g-2hpnd*|\
|
|
|
|
mikrotik,routerboard-912uag-2hpnd|\
|
|
|
|
mikrotik,routerboard-912uag-5hpnd|\
|
|
|
|
mikrotik,routerboard-921gs-5hpacd-15s|\
|