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 label-mac-device = &gmac0;
14 compatible = "gpio-keys";
18 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
19 linux,code = <KEY_RESTART>;
24 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_WPS_BUTTON>;
34 compatible = "fixed-partitions";
46 reg = <0x80000 0x80000>;
50 factory: partition@100000 {
52 reg = <0x100000 0x40000>;
58 reg = <0x140000 0x40000>;
64 compatible = "sge,uimage";
65 reg = <0x180000 0x2800000>;
70 reg = <0x2980000 0x2000000>;
76 compatible = "sge,uimage";
77 reg = <0x4980000 0x2800000>;
82 reg = <0x7180000 0x600000>;
88 reg = <0x7780000 0x880000>;
100 compatible = "mediatek,mt76";
101 reg = <0x0000 0 0 0 0>;
102 mediatek,mtd-eeprom = <&factory 0x0000>;
103 ieee80211-freq-limit = <2400000 2500000>;
113 compatible = "mediatek,mt76";
114 reg = <0x0000 0 0 0 0>;
115 mediatek,mtd-eeprom = <&factory 0x8000>;
116 ieee80211-freq-limit = <5000000 6000000>;
125 mtd-mac-address = <&factory 0xe000>;
153 mtd-mac-address = <&factory 0xe006>;
160 groups = "i2c", "uart3", "jtag", "wdt";