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>;
103 compatible = "fixed-partitions";
104 #address-cells = <1>;
114 label = "u-boot-env";
115 reg = <0x30000 0x10000>;
119 factory: partition@40000 {
121 reg = <0x40000 0x10000>;
125 compatible = "fixed-layout";
126 #address-cells = <1>;
129 eeprom_factory_0: eeprom@0 {
133 macaddr_factory_2e: macaddr@2e {
140 compatible = "denx,uimage";
142 reg = <0x50000 0x1fb0000>;
161 nvmem-cells = <&macaddr_factory_2e>;
162 nvmem-cell-names = "mac-address";
166 mediatek,portmap = <0x3e>;
167 mediatek,portdisable = <0x26>;
178 nvmem-cells = <&eeprom_factory_0>;
179 nvmem-cell-names = "eeprom";