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 {
66 compatible = "nvmem-cells";
68 reg = <0x40000 0x10000>;
73 eeprom_factory_0: eeprom@0 {
77 macaddr_factory_2e: macaddr@2e {
81 macaddr_factory_e000: macaddr@e000 {
87 compatible = "denx,uimage";
89 reg = <0x50000 0xfb0000>;
101 compatible = "mediatek,mt76";
102 reg = <0x0000 0 0 0 0>;
103 nvmem-cells = <&eeprom_factory_0>;
104 nvmem-cell-names = "eeprom";
115 compatible = "mediatek,mt76";
116 reg = <0x0000 0 0 0 0>;
117 mediatek,mtd-eeprom = <&factory 0x8000>;
118 ieee80211-freq-limit = <5000000 6000000>;
128 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
132 nvmem-cells = <&macaddr_factory_e000>;
133 nvmem-cell-names = "mac-address";
160 nvmem-cells = <&macaddr_factory_2e>;
161 nvmem-cell-names = "mac-address";
168 groups = "wdt", "rgmii2";