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;
41 led-boot = &led_power_green;
42 led-failsafe = &led_power_red;
43 led-running = &led_power_green;
44 led-upgrade = &led_power_green;
48 bootargs-append = " console=ttyMSM0,115200n8 root=/dev/ubiblock0_1";
52 compatible = "gpio-keys";
53 pinctrl-0 = <&button_pins>;
54 pinctrl-names = "default";
58 gpios = <&qcom_pinmux 25 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_RESTART>;
64 compatible = "gpio-leds";
65 pinctrl-0 = <&led_pins>;
66 pinctrl-names = "default";
68 led_power_green: power_green {
69 label = "green:power";
70 gpios = <&qcom_pinmux 16 GPIO_ACTIVE_HIGH>;
74 label = "green:wlan2g";
75 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_LOW>;
79 label = "yellow:wlan2g";
80 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_LOW>;
84 label = "green:wlan5g";
85 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_LOW>;
88 led_power_red: power_red {
90 gpios = <&qcom_pinmux 28 GPIO_ACTIVE_LOW>;
94 label = "yellow:wlan5g";
95 gpios = <&qcom_pinmux 59 GPIO_ACTIVE_LOW>;
104 pins = "gpio18", "gpio19";
106 drive-strength = <10>;
113 drive-strength = <12>;
120 drive-strength = <10>;
127 pins = "gpio16", "gpio23", "gpio24", "gpio26",
130 drive-strength = <2>;
135 button_pins: button_pins {
139 drive-strength = <2>;
144 uart1_pins: uart1_pins {
146 pins = "gpio51", "gpio52", "gpio53", "gpio54";
148 drive-strength = <12>;
155 qcom,mode = <GSBI_PROT_UART_W_FC>;
161 pinctrl-0 = <&uart1_pins>;
162 pinctrl-names = "default";
167 qcom,mode = <GSBI_PROT_SPI>;
172 spi-max-frequency = <50000000>;
174 pinctrl-0 = <&spi_pins>;
175 pinctrl-names = "default";
177 cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>;
180 compatible = "jedec,spi-nor";
181 #address-cells = <1>;
183 spi-max-frequency = <50000000>;
187 compatible = "qcom,smem";
193 &hs_phy_0 { /* USB3 port 0 HS phy */
197 &hs_phy_1 { /* USB3 port 1 HS phy */
201 &ss_phy_0 { /* USB3 port 0 SS phy */
205 &ss_phy_1 { /* USB3 port 1 SS phy */
220 /delete-property/ pinctrl-0;
221 /delete-property/ pinctrl-names;
222 /delete-property/ perst-gpios;
225 reg = <0x00000000 0 0 0 0>;
226 #address-cells = <3>;
231 compatible = "qcom,ath10k";
233 reg = <0x00010000 0 0 0 0>;
234 qcom,ath10k-calibration-variant = "Edgecore-ECW5410-L";
242 /delete-property/ pinctrl-0;
243 /delete-property/ pinctrl-names;
244 /delete-property/ perst-gpios;
247 reg = <0x00000000 0 0 0 0>;
248 #address-cells = <3>;
253 compatible = "qcom,ath10k";
255 reg = <0x00010000 0 0 0 0>;
256 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>;
296 compatible = "virtual,mdio-gpio";
297 #address-cells = <1>;
302 pinctrl-0 = <&mdio0_pins>;
303 pinctrl-names = "default";
305 gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH &qcom_pinmux 0 GPIO_ACTIVE_HIGH>;
307 phy0: ethernet-phy@0 {
311 phy1: ethernet-phy@1 {
324 phy-handle = <&phy1>;
334 phy-handle = <&phy0>;