1 //SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include "mt7628an.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "wiznet,wizfi630s", "mediatek,mt7628an-soc";
11 model = "WIZnet WizFi630S";
14 bootargs = "console=ttyS1,115200";
19 led-failsafe = &led_run;
20 led-running = &led_run;
21 led-upgrade = &led_run;
27 compatible = "gpio-leds";
30 label = "wizfi630s:green:run";
31 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
35 label = "wizfi630s:green:wps";
36 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
40 label = "wizfi630s:green:uart1";
41 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
45 label = "wizfi630s:green:uart2";
46 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
51 compatible = "gpio-keys";
58 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_RESTART>;
64 gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
65 linux,code = <KEY_WPS_BUTTON>;
70 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
76 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
83 state_default: pinctrl0 {
85 ralink,group = "gpio";
86 ralink,function = "gpio";
91 ralink,function = "gpio";
96 ralink,function = "gpio";
100 ralink,group = "i2c";
101 ralink,function = "gpio";
105 ralink,group = "refclk";
106 ralink,function = "gpio";
118 pinctrl-names = "default";
119 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
122 compatible = "jedec,spi-nor";
124 spi-max-frequency = <40000000>;
125 m25p,chunked-io = <31>;
128 compatible = "fixed-partitions";
129 #address-cells = <1>;
139 label = "u-boot-env";
140 reg = <0x30000 0x10000>;
144 factory: partition@40000 {
146 reg = <0x40000 0x10000>;
151 compatible = "denx,uimage";
153 reg = <0x50000 0x1fb0000>;
172 mtd-mac-address = <&factory 0x28>;
176 mediatek,portmap = <0x3e>;