1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "wiznet,wizfi630s", "mediatek,mt7628an-soc";
10 model = "WIZnet WizFi630S";
13 bootargs = "console=ttyS1,115200";
18 led-failsafe = &led_run;
19 led-running = &led_run;
20 led-upgrade = &led_run;
26 compatible = "gpio-leds";
30 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
35 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
39 label = "green:uart1";
40 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
44 label = "green:uart2";
45 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
50 compatible = "gpio-keys";
57 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_RESTART>;
63 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
64 linux,code = <KEY_WPS_BUTTON>;
69 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
71 linux,input-type = <EV_SW>;
76 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
78 linux,input-type = <EV_SW>;
85 groups = "gpio", "i2s", "i2c", "wdt", "refclk", "p1led_an", "p2led_an";
93 pinctrl-names = "default";
94 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
97 compatible = "jedec,spi-nor";
99 spi-max-frequency = <40000000>;
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
113 label = "u-boot-env";
114 reg = <0x30000 0x10000>;
118 factory: partition@40000 {
120 reg = <0x40000 0x10000>;
125 compatible = "denx,uimage";
127 reg = <0x50000 0x1fb0000>;
146 mtd-mac-address = <&factory 0x2e>;
150 mediatek,portmap = <0x3e>;
151 mediatek,portdisable = <0x26>;