mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
d0a2b3f824
Specification is similar to other devices of the MT Stuart series: * Mediatek MT7988D (3x Cortex-A73, up to 1.8 GHz clock speed) * 8 GiB eMMC * 2 GiB DDR4 RAM * 2500M/1000M/100M LAN port * 10000M/5000M/2500M/1000M/100M/10M WAN port * MT7992 Tri-band (2.4G, 5G, 6G) 2T2R+3T3R+3T3R 802.11be Wi-Fi * Renesas DA14531MOD Bluetooth * 2 buttons (Reset, Mesh/WPS) * uC-controlled RGB LED via I2C * 2x LED for the 2.5G port, 3x LED for the 10G port * 3.3V-level 115200 baud UART console via 4-pin Dupont connector exposed at the bottom of the device * USB-C PD power input Signed-off-by: Daniel Golle <daniel@makrotopia.org>
154 lines
2.2 KiB
Plaintext
154 lines
2.2 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
|
/*
|
|
* Copyright (C) 2024 SmartRG Inc.
|
|
* Author: Chad Monroe <chad.monroe@smartrg.com>
|
|
*/
|
|
|
|
#include "mt7988a-smartrg-mt-stuart.dtsi"
|
|
|
|
/ {
|
|
model = "SmartRG SDG-8733A";
|
|
compatible = "smartrg,sdg-8733a", "mediatek,mt7988d";
|
|
|
|
cpus {
|
|
/delete-node/ cpu@3;
|
|
};
|
|
|
|
/delete-node/ gpio-export;
|
|
/delete-node/ gpio-leds;
|
|
|
|
gpio-export {
|
|
compatible = "gpio-export";
|
|
|
|
bluetooth_reset: bluetooth-reset {
|
|
gpio-export,name = "bt_reset";
|
|
gpio-export,direction_may_change;
|
|
gpios = <&pio 36 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
bluetooth_txrx_ctl: bluetooth-txrx-ctl {
|
|
gpio-export,name = "bt_txrx_ctl";
|
|
gpio-export,direction_may_change;
|
|
gpios = <&pio 37 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
gpio-leds {
|
|
compatible = "gpio-leds";
|
|
|
|
lan_amber {
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
function = "lan";
|
|
gpios = <&pio 59 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
lan_green {
|
|
color = <LED_COLOR_ID_AMBER>;
|
|
function = "lan";
|
|
gpios = <&pio 60 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&fan {
|
|
pwms = <&pwm 1 40000 0>;
|
|
|
|
interrupts = <57 IRQ_TYPE_EDGE_FALLING>;
|
|
};
|
|
|
|
&gmac0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&gmac1 {
|
|
label = "lan";
|
|
phy-mode = "internal";
|
|
phy-connection-type = "internal";
|
|
phy = <&int_2p5g_phy>;
|
|
};
|
|
|
|
&gmac2 {
|
|
label = "wan";
|
|
phy-mode = "usxgmii";
|
|
phy-connection-type = "usxgmii";
|
|
phy = <&phy8>;
|
|
};
|
|
|
|
&int_2p5g_phy {
|
|
pinctrl-names = "i2p5gbe-led";
|
|
pinctrl-0 = <&i2p5gbe_led0_pins>;
|
|
};
|
|
|
|
&mdio_bus {
|
|
/delete-node/ ethernet-phy@0;
|
|
};
|
|
|
|
&pio {
|
|
pcie3_1_pins: pcie3-pins-g1 {
|
|
mux {
|
|
function = "pcie";
|
|
groups = "pcie_1l_1_pereset", "pcie_clk_req_n3";
|
|
};
|
|
};
|
|
};
|
|
|
|
&pcie0 {
|
|
reset-gpios = <&pio 9 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
&pcie1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&pcie3 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pcie3_1_pins>;
|
|
status = "okay";
|
|
};
|
|
|
|
&phy8 {
|
|
reset-gpios = <&pio 62 GPIO_ACTIVE_LOW>;
|
|
marvell,mdi-cfg-order = <0>;
|
|
};
|
|
|
|
&aqr_green_led {
|
|
function = LED_FUNCTION_WAN;
|
|
};
|
|
|
|
&aqr_orange_led {
|
|
function = LED_FUNCTION_WAN;
|
|
};
|
|
|
|
&aqr_white_led {
|
|
function = LED_FUNCTION_WAN;
|
|
};
|
|
|
|
&i2p5gbe_led0 {
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
status = "okay";
|
|
};
|
|
|
|
&ssusb0 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&ssusb1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&switch {
|
|
status = "disabled";
|
|
};
|
|
|
|
&tphy {
|
|
status = "disabled";
|
|
};
|
|
|
|
&uart1 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&xphy {
|
|
status = "disabled";
|
|
};
|