mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
c71b68acdd
Common specifications: * Mediatek MT7988A (4x Cortex-A73, up to 1.8 GHz clock speed) * 8 GiB eMMC * 2 GiB DDR4 RAM * 1x 10000M/1000M/100M + 3x 1000M/100M/10M LAN ports * MT7996 Tri-band (2.4G, 5G, 6G) 4T4R 802.11be Wi-Fi * Airoha AG3352 GPS * Renesas DA14531MOD Bluetooth * 2 buttons (Reset, Mesh/WPS) * uC-controlled RGB LED via I2C * 2x LED for each 1G port, 3x LED for each 10G port * USB 3.0 type A 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 SDG-8733: 1x 10000M/1000M/100M WAN port SDG-8734: 1x USXGMII/10GBase-R/5GBase-R/2500Base-X/1000Base-X/SGMII SFP+ Both models are also available in versions including 2x FXS POTS interfaces for analog phones. Those interfaces are not supported by OpenWrt. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
58 lines
1.3 KiB
Plaintext
58 lines
1.3 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
|
/*
|
|
* Copyright (C) 2023 SmartRG Inc.
|
|
* Author: Chad Monroe <chad.monroe@smartrg.com>
|
|
*/
|
|
|
|
#include "mt7988a-smartrg-mt-stuart.dtsi"
|
|
|
|
/ {
|
|
model = "SmartRG SDG-8734";
|
|
compatible = "smartrg,sdg-8734", "mediatek,mt7988a";
|
|
|
|
gpio-leds {
|
|
compatible = "gpio-leds";
|
|
|
|
sfp_green {
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
function = "sfp";
|
|
gpios = <&pio 69 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
sfp_red {
|
|
color = <LED_COLOR_ID_RED>;
|
|
function = "sfp";
|
|
gpios = <&pio 70 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
i2c_sfp1: i2c-gpio-0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&sfp_i2c_pins>;
|
|
|
|
compatible = "i2c-gpio";
|
|
sda-gpios = <&pio 27 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
|
|
scl-gpios = <&pio 22 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
|
|
i2c-gpio,delay-us = <2>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|
|
|
|
sfp1: sfp1 {
|
|
compatible = "sff,sfp";
|
|
i2c-bus = <&i2c_sfp1>;
|
|
los-gpios = <&pio 32 GPIO_ACTIVE_HIGH>;
|
|
mod-def0-gpios = <&pio 35 GPIO_ACTIVE_LOW>;
|
|
rate-select0-gpios = <&pio 34 GPIO_ACTIVE_HIGH>;
|
|
rate-select1-gpios = <&pio 33 GPIO_ACTIVE_HIGH>;
|
|
tx-disable-gpios = <&pio 36 GPIO_ACTIVE_HIGH>;
|
|
tx-fault-gpios = <&pio 37 GPIO_ACTIVE_HIGH>;
|
|
maximum-power-milliwatt = <4000>;
|
|
};
|
|
};
|
|
|
|
&gmac1 {
|
|
sfp = <&sfp1>;
|
|
managed = "in-band-status";
|
|
};
|