--- /dev/null
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/dts-v1/;
+
+#include "an7581-evb-emmc.dtsi"
+#include "an7581-npu-mt7996.dtsi"
+
+/ {
+ model = "Airoha AN7581 Evaluation Board (eMMC + Eagle)";
+ compatible = "airoha,an7581-evb", "airoha,an7581", "airoha,en7581";
+
+ aliases {
+ serial0 = &uart1;
+ };
+
+ chosen {
+ bootargs = "console=ttyS0,115200 earlycon";
+ stdout-path = "serial0:115200n8";
+ };
+
+ memory@80000000 {
+ device_type = "memory";
+ reg = <0x0 0x80000000 0x2 0x00000000>;
+ };
+};
+
+&pcie2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pcie2_rst_pins>;
+ status = "okay";
+};
+
+&en7581_pinctrl {
+ pcie2_rst_pins: pcie2-rst-pins {
+ conf {
+ pins = "pcie_reset2";
+ drive-open-drain = <1>;
+ };
+ };
+};
--- /dev/null
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/dts-v1/;
+
+#include "an7581-evb-emmc.dtsi"
+#include "an7581-npu-mt7992.dtsi"
+
+/ {
+ model = "Airoha AN7581 Evaluation Board (eMMC + Kite)";
+ compatible = "airoha,an7581-evb", "airoha,an7581", "airoha,en7581";
+
+ aliases {
+ serial0 = &uart1;
+ };
+
+ chosen {
+ bootargs = "console=ttyS0,115200 earlycon";
+ stdout-path = "serial0:115200n8";
+ };
+
+ memory@80000000 {
+ device_type = "memory";
+ reg = <0x0 0x80000000 0x2 0x00000000>;
+ };
+};
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
/dts-v1/;
-/* Bootloader installs ATF here */
-/memreserve/ 0x80000000 0x200000;
-
#include <dt-bindings/leds/common.h>
#include <dt-bindings/gpio/gpio.h>
#include "an7581.dtsi"
-#include "an7581-npu-mt7996.dtsi"
-
-/ {
- model = "Airoha AN7581 Evaluation Board";
- compatible = "airoha,an7581-evb", "airoha,an7581", "airoha,en7581";
-
- aliases {
- serial0 = &uart1;
- };
-
- chosen {
- bootargs = "console=ttyS0,115200 earlycon";
- stdout-path = "serial0:115200n8";
- linux,usable-memory-range = <0x0 0x80200000 0x0 0x1fe00000>;
- };
-
- memory@80000000 {
- device_type = "memory";
- reg = <0x0 0x80000000 0x2 0x00000000>;
- };
-};
&sound {
audio-routing = "Headphone", "HP_L",
};
};
- pcie2_rst_pins: pcie2-rst-pins {
- conf {
- pins = "pcie_reset2";
- drive-open-drain = <1>;
- };
- };
-
gswp1_led0_pins: gswp1-led0-pins {
mux {
function = "phy1_led0";
};
};
-&pcie2 {
- pinctrl-names = "default";
- pinctrl-0 = <&pcie2_rst_pins>;
- status = "okay";
-};
-
&mdio {
as21xx_1: ethernet-phy@1d {
compatible = "ethernet-phy-ieee802.3-c45";
endef
TARGET_DEVICES += airoha_an7581-evb
-define Device/airoha_an7581-evb-emmc
+define Device/airoha_an7581-evb-emmc-eagle
DEVICE_VENDOR := Airoha
- DEVICE_MODEL := AN7581 Evaluation Board (EMMC)
- DEVICE_DTS := an7581-evb-emmc
- DEVICE_PACKAGES := kmod-i2c-an7581
+ DEVICE_MODEL := AN7581 Evaluation Board (eMMC + Eagle)
+ DEVICE_DTS := an7581-evb-emmc-eagle
+ DEVICE_PACKAGES := kmod-i2c-an7581 airoha-en7581-mt7996-npu-firmware \
+ kmod-mt7996-firmware wpad-basic-mbedtls
ARTIFACT/preloader.bin := an7581-preloader rfb
ARTIFACT/bl31-uboot.fip := an7581-bl31-uboot rfb
ARTIFACTS := preloader.bin bl31-uboot.fip
endef
-TARGET_DEVICES += airoha_an7581-evb-emmc
+TARGET_DEVICES += airoha_an7581-evb-emmc-eagle
+
+define Device/airoha_an7581-evb-emmc-kite
+ DEVICE_VENDOR := Airoha
+ DEVICE_MODEL := AN7581 Evaluation Board (eMMC + Kite)
+ DEVICE_DTS := an7581-evb-emmc-kite
+ DEVICE_PACKAGES := kmod-i2c-an7581 airoha-en7581-mt7992-npu-firmware \
+ kmod-mt7992-firmware wpad-basic-mbedtls
+ ARTIFACT/preloader.bin := an7581-preloader rfb
+ ARTIFACT/bl31-uboot.fip := an7581-bl31-uboot rfb
+ ARTIFACTS := preloader.bin bl31-uboot.fip
+endef
+TARGET_DEVICES += airoha_an7581-evb-emmc-kite
define Device/gemtek_w1700k-ubi
DEVICE_VENDOR := Gemtek