// SPDX-License-Identifier: GPL-2.0-or-later OR MIT #include "mt7628an_hiwifi_hc5x61a.dtsi" / { compatible = "hiwifi,hc5761a", "mediatek,mt7628an-soc"; model = "HiWiFi HC5761A"; aliases { label-mac-device = ðernet; led-boot = &led_status; led-failsafe = &led_status; led-running = &led_status; led-upgrade = &led_status; }; leds { compatible = "gpio-leds"; led_status: led-0 { color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 37 GPIO_ACTIVE_HIGH>; }; led-1 { color = ; function = LED_FUNCTION_WAN; gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; }; led-2 { color = ; function = LED_FUNCTION_WLAN_2GHZ; gpios = <&gpio 44 GPIO_ACTIVE_HIGH>; linux,default-trigger = "phy0tpt"; }; led-3 { color = ; function = LED_FUNCTION_WLAN_5GHZ; gpios = <&gpio 40 GPIO_ACTIVE_HIGH>; linux,default-trigger = "phy1tpt"; }; }; gpio_export { compatible = "gpio-export"; usb_power { gpio-export,name = "usb_power"; gpio-export,output = <0>; gpios = <&gpio 41 GPIO_ACTIVE_LOW>; }; }; }; &esw { mediatek,portmap = <0x2f>; mediatek,portdisable = <0x2c>; }; &pinctrl { ephy-analog; sdxc_router_mode: sdxc_router_mode { groups = "esd", "gpio", "i2c", "sdmode", "uart1"; function = "gpio"; }; }; &sdhci { status = "okay"; pinctrl-0 = <&sdxc_router_mode>; pinctrl-1 = <&sdxc_router_mode>; }; &state_default { gpio { groups = "i2s", "refclk", "wdt", "p2led_an", "p3led_an", "wled_an"; function = "gpio"; }; }; &pcie { status = "okay"; }; &pcie0 { wifi@0,0 { compatible = "mediatek,mt76"; reg = <0x0000 0 0 0 0>; nvmem-cells = <&eeprom_factory_8000>, <&macaddr_bdinfo_18a 0>; nvmem-cell-names = "eeprom", "mac-address"; ieee80211-freq-limit = <5000000 6000000>; }; };