1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
14 label-mac-device = &wan;
18 bootargs = "console=ttyS0,57600";
22 compatible = "gpio-leds";
25 label = "iodata:green:wps";
26 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
30 label = "iodata:green:power";
31 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
36 compatible = "gpio-keys";
40 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
46 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
48 linux,input-type = <EV_SW>;
53 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_WPS_BUTTON>;
62 partitions: partitions {
63 compatible = "fixed-partitions";
69 reg = <0x0 0x0100000>;
75 reg = <0x0100000 0x0100000>;
79 factory: partition@200000 {
81 reg = <0x0200000 0x0100000>;
86 reg = <0x0300000 0x0100000>;
92 reg = <0x0400000 0x0400000>;
97 reg = <0x0800000 0x2e00000>;
102 reg = <0x3600000 0x0100000>;
107 label = "firmware_2";
108 reg = <0x3700000 0x3200000>;
113 reg = <0x6900000 0x0100000>;
119 reg = <0x6a00000 0x0100000>;
125 mtd-mac-address = <&factory 0xe000>;
133 mtd-mac-address = <&factory 0xe006>;
164 groups = "uart2", "uart3", "wdt";