1 #include "qcom-ipq8064-v2.0.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/soc/qcom,tcsr.h>
7 model = "Edgecore ECW5410";
8 compatible = "edgecore,ecw5410", "qcom,ipq8064";
12 reg = <0x40000000 0x1000000>;
17 reg = <0x41000000 0x200000>;
22 reg = <0x44000000 0x600000>;
36 serial1 = &gsbi1_serial;
40 led-boot = &led_power_green;
41 led-failsafe = &led_power_red;
42 led-running = &led_power_green;
43 led-upgrade = &led_power_green;
47 bootargs-append = " console=ttyMSM0,115200n8 root=/dev/ubiblock0_1";
51 compatible = "gpio-keys";
52 pinctrl-0 = <&button_pins>;
53 pinctrl-names = "default";
57 gpios = <&qcom_pinmux 25 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_RESTART>;
59 debounce-interval = <60>;
65 compatible = "gpio-leds";
66 pinctrl-0 = <&led_pins>;
67 pinctrl-names = "default";
69 led_power_green: power_green {
70 label = "green:power";
71 gpios = <&qcom_pinmux 16 GPIO_ACTIVE_HIGH>;
75 label = "green:wlan2g";
76 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_LOW>;
80 label = "yellow:wlan2g";
81 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_LOW>;
85 label = "green:wlan5g";
86 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_LOW>;
89 led_power_red: power_red {
91 gpios = <&qcom_pinmux 28 GPIO_ACTIVE_LOW>;
95 label = "yellow:wlan5g";
96 gpios = <&qcom_pinmux 59 GPIO_ACTIVE_LOW>;
105 pins = "gpio18", "gpio19";
107 drive-strength = <10>;
114 drive-strength = <12>;
121 drive-strength = <10>;
128 pins = "gpio16", "gpio23", "gpio24", "gpio26",
131 drive-strength = <2>;
136 button_pins: button_pins {
140 drive-strength = <2>;
145 uart1_pins: uart1_pins {
147 pins = "gpio51", "gpio52", "gpio53", "gpio54";
149 drive-strength = <12>;
156 qcom,mode = <GSBI_PROT_UART_W_FC>;
162 pinctrl-0 = <&uart1_pins>;
163 pinctrl-names = "default";
168 qcom,mode = <GSBI_PROT_SPI>;
173 spi-max-frequency = <50000000>;
175 pinctrl-0 = <&spi_pins>;
176 pinctrl-names = "default";
178 cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>;
181 compatible = "jedec,spi-nor";
182 #address-cells = <1>;
184 spi-max-frequency = <50000000>;
188 compatible = "qcom,smem-part";
194 &hs_phy_0 { /* USB3 port 0 HS phy */
198 &hs_phy_1 { /* USB3 port 1 HS phy */
202 &ss_phy_0 { /* USB3 port 0 SS phy */
206 &ss_phy_1 { /* USB3 port 1 SS phy */
221 /delete-property/ pinctrl-0;
222 /delete-property/ pinctrl-names;
223 /delete-property/ perst-gpios;
226 reg = <0x00000000 0 0 0 0>;
227 #address-cells = <3>;
232 compatible = "qcom,ath10k";
234 reg = <0x00010000 0 0 0 0>;
235 qcom,ath10k-calibration-variant = "Edgecore-ECW5410-L";
243 /delete-property/ pinctrl-0;
244 /delete-property/ pinctrl-names;
245 /delete-property/ perst-gpios;
248 reg = <0x00000000 0 0 0 0>;
249 #address-cells = <3>;
254 compatible = "qcom,ath10k";
256 reg = <0x00010000 0 0 0 0>;
257 qcom,ath10k-calibration-variant = "Edgecore-ECW5410-L";
265 pinctrl-0 = <&nand_pins>;
266 pinctrl-names = "default";
269 compatible = "qcom,nandcs";
273 nand-ecc-strength = <4>;
274 nand-bus-width = <8>;
275 nand-ecc-step-size = <512>;
278 compatible = "fixed-partitions";
279 #address-cells = <1>;
284 reg = <0x0000000 0x4000000>;
289 reg = <0x4000000 0x4000000>;
298 pinctrl-0 = <&mdio0_pins>;
299 pinctrl-names = "default";
301 phy0: ethernet-phy@0 {
305 phy1: ethernet-phy@1 {
317 phy-handle = <&phy1>;
327 phy-handle = <&phy0>;