3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
8 label-mac-device = &wan;
12 compatible = "gpio-leds";
16 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
17 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
18 linux,default-trigger = "usbport";
23 compatible = "gpio-keys";
27 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RESTART>;
33 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_WPS_BUTTON>;
43 compatible = "jedec,spi-nor";
45 spi-max-frequency = <80000000>;
49 compatible = "fixed-partitions";
61 reg = <0x30000 0x10000>;
65 factory: partition@40000 {
67 reg = <0x40000 0x10000>;
72 compatible = "denx,uimage";
74 reg = <0x50000 0xfb0000>;
86 compatible = "mediatek,mt76";
87 reg = <0x0000 0 0 0 0>;
88 mediatek,mtd-eeprom = <&factory 0x0>;
99 compatible = "mediatek,mt76";
100 reg = <0x0000 0 0 0 0>;
101 mediatek,mtd-eeprom = <&factory 0x8000>;
102 ieee80211-freq-limit = <5000000 6000000>;
112 nvmem-cells = <&macaddr_factory_e000>;
113 nvmem-cell-names = "mac-address";
140 nvmem-cells = <&macaddr_factory_2e>;
141 nvmem-cell-names = "mac-address";
148 groups = "wdt", "rgmii2";
154 compatible = "nvmem-cells";
155 #address-cells = <1>;
158 macaddr_factory_2e: macaddr@2e {
162 macaddr_factory_e000: macaddr@e000 {