1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include "ipq8074.dtsi"
6 #include "ipq8074-hk-cpu.dtsi"
7 #include "ipq8074-ess.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
13 model = "Spectrum SAX1V1K";
14 compatible = "spectrum,sax1v1k", "qcom,ipq8074";
17 led-boot = &led_system_red;
18 led-failsafe = &led_system_red;
19 led-running = &led_system_blue;
20 led-upgrade = &led_system_red;
21 serial0 = &blsp1_uart5;
22 /* Aliases as required by u-boot to patch MAC addresses */
27 label-mac-device = &dp6_syn;
31 stdout-path = "serial0:115200n8";
35 compatible = "gpio-keys";
39 gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
45 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_WPS_BUTTON>;
51 compatible = "gpio-leds";
53 led_system_blue: system-blue {
54 gpios = <&tlmm 26 GPIO_ACTIVE_HIGH>;
55 color = <LED_COLOR_ID_BLUE>;
56 function = LED_FUNCTION_STATUS;
59 led_system_red: system-red {
60 gpios = <&tlmm 25 GPIO_ACTIVE_HIGH>;
61 color = <LED_COLOR_ID_RED>;
62 function = LED_FUNCTION_STATUS;
68 mdio_pins: mdio-pins {
106 pinctrl-0 = <&mdio_pins>;
107 pinctrl-names = "default";
108 reset-gpios = <&tlmm 37 GPIO_ACTIVE_LOW>;
111 ethernet-phy-package@0 {
112 #address-cells = <1>;
114 compatible = "qcom,qca8075-package";
117 qcom,package-mode = "qsgmii";
119 qca8075_1: ethernet-phy@1 {
120 compatible = "ethernet-phy-ieee802.3-c22";
124 qca8075_2: ethernet-phy@2 {
125 compatible = "ethernet-phy-ieee802.3-c22";
129 qca8075_3: ethernet-phy@3 {
130 compatible = "ethernet-phy-ieee802.3-c22";
135 qca8081: ethernet-phy@28 {
136 compatible = "ethernet-phy-id004d.d101";
138 reset-gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;
139 reset-deassert-us = <10000>;
144 /* Following same rule as QNAP 301W
145 * the emmc has a problem with the hs400 > hs200 speed switch.
146 * Therefore remove the mmc-hs400-1_8v property
148 /delete-property/ mmc-hs400-1_8v;
151 vqmmc-supply = <&l11>;
156 switch_lan_bmp = <(ESS_PORT2 | ESS_PORT3 | ESS_PORT4)>; /* lan port bitmap */
157 switch_wan_bmp = <ESS_PORT6>; /* wan port bitmap */
158 switch_mac_mode = <MAC_MODE_QSGMII>; /* mac mode for uniphy instance0*/
159 switch_mac_mode2 = <MAC_MODE_SGMII_PLUS>; /* mac mode for uniphy instance2*/
181 port_mac_sel = "QGMAC_PORT";
192 phy-handle = <&qca8075_1>;
199 phy-handle = <&qca8075_2>;
206 phy-handle = <&qca8075_3>;
212 phy-handle = <&qca8081>;
218 qcom,ath11k-calibration-variant = "Spectrum-SAX1V1K";