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";
54 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_RESTART>;
60 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_WPS_BUTTON>;
66 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
68 linux,input-type = <EV_SW>;
73 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
75 linux,input-type = <EV_SW>;
82 groups = "gpio", "i2s", "i2c", "wdt", "refclk", "p1led_an", "p2led_an";
90 pinctrl-names = "default";
91 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
94 compatible = "jedec,spi-nor";
96 spi-max-frequency = <40000000>;
100 compatible = "fixed-partitions";
101 #address-cells = <1>;
111 label = "u-boot-env";
112 reg = <0x30000 0x10000>;
116 factory: partition@40000 {
118 reg = <0x40000 0x10000>;
122 compatible = "fixed-layout";
123 #address-cells = <1>;
126 eeprom_factory_0: eeprom@0 {
130 macaddr_factory_2e: macaddr@2e {
137 compatible = "denx,uimage";
139 reg = <0x50000 0x1fb0000>;
158 nvmem-cells = <&macaddr_factory_2e>;
159 nvmem-cell-names = "mac-address";
163 mediatek,portmap = <0x3e>;
164 mediatek,portdisable = <0x26>;
175 nvmem-cells = <&eeprom_factory_0>;
176 nvmem-cell-names = "eeprom";