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 = <&gpio 5 GPIO_ACTIVE_LOW>;
35 label = "wizfi630s:green:wps";
36 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
40 label = "wizfi630s:green:uart1";
41 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
45 label = "wizfi630s:green:uart2";
46 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
51 compatible = "gpio-keys";
58 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_RESTART>;
64 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
65 linux,code = <KEY_WPS_BUTTON>;
70 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
72 linux,input-type = <EV_SW>;
77 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
79 linux,input-type = <EV_SW>;
86 groups = "gpio", "i2s", "i2c", "wdt", "refclk", "p1led_an", "p2led_an";
94 pinctrl-names = "default";
95 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
98 compatible = "jedec,spi-nor";
100 spi-max-frequency = <40000000>;
101 m25p,chunked-io = <31>;
104 compatible = "fixed-partitions";
105 #address-cells = <1>;
115 label = "u-boot-env";
116 reg = <0x30000 0x10000>;
120 factory: partition@40000 {
122 reg = <0x40000 0x10000>;
127 compatible = "denx,uimage";
129 reg = <0x50000 0x1fb0000>;
148 mtd-mac-address = <&factory 0x28>;
152 mediatek,portmap = <0x3e>;
153 mediatek,portdisable = <0x26>;