3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
8 label-mac-device = &wan;
12 compatible = "gpio-keys";
16 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
17 linux,code = <KEY_RESTART>;
22 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_WPS_BUTTON>;
32 compatible = "jedec,spi-nor";
34 spi-max-frequency = <80000000>;
38 compatible = "fixed-partitions";
50 reg = <0x30000 0x10000>;
54 factory: partition@40000 {
56 reg = <0x40000 0x10000>;
61 compatible = "denx,uimage";
63 reg = <0x50000 0xfb0000>;
75 compatible = "mediatek,mt76";
76 reg = <0x0000 0 0 0 0>;
77 mediatek,mtd-eeprom = <&factory 0x0>;
88 compatible = "mediatek,mt76";
89 reg = <0x0000 0 0 0 0>;
90 mediatek,mtd-eeprom = <&factory 0x8000>;
91 ieee80211-freq-limit = <5000000 6000000>;
101 nvmem-cells = <&macaddr_factory_e000>;
102 nvmem-cell-names = "mac-address";
129 nvmem-cells = <&macaddr_factory_2e>;
130 nvmem-cell-names = "mac-address";
137 groups = "wdt", "rgmii2";
143 compatible = "nvmem-cells";
144 #address-cells = <1>;
147 macaddr_factory_2e: macaddr@2e {
151 macaddr_factory_e000: macaddr@e000 {