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 bootargs = "console=ttyS0,115200";
14 compatible = "gpio-keys";
18 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
19 linux,code = <KEY_WPS_BUTTON>;
24 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
34 compatible = "fixed-partitions";
46 reg = <0x80000 0x40000>;
50 factory: partition@c0000 {
52 reg = <0xc0000 0x40000>;
58 reg = <0x100000 0x40000>;
63 reg = <0x140000 0x40000>;
69 reg = <0x180000 0x400000>;
74 reg = <0x580000 0x2400000>;
79 reg = <0x2980000 0x400000>;
85 reg = <0x2d80000 0x2400000>;
91 reg = <0x5180000 0x100000>;
97 reg = <0x5280000 0x2d00000>;
105 groups = "i2c", "uart2", "uart3", "jtag", "wdt";
116 compatible = "mediatek,mt76";
117 reg = <0x0000 0 0 0 0>;
118 mediatek,mtd-eeprom = <&factory 0x0000>;
124 compatible = "mediatek,mt76";
125 reg = <0x0000 0 0 0 0>;
126 mediatek,mtd-eeprom = <&factory 0x8000>;