1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "phicomm,psg1208", "ralink,mt7620a-soc";
8 model = "Phicomm PSG1208";
12 led-failsafe = &led_wps;
13 led-running = &led_wps;
14 led-upgrade = &led_wps;
18 compatible = "gpio-leds";
22 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
26 label = "white:wlan2g";
27 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys";
36 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <80000000>;
60 compatible = "fixed-partitions";
72 reg = <0x30000 0x10000>;
76 factory: partition@40000 {
77 compatible = "nvmem-cells";
79 reg = <0x40000 0x10000>;
84 eeprom_factory_0: eeprom@0 {
88 eeprom_factory_8000: eeprom@8000 {
92 macaddr_factory_4: macaddr@4 {
98 compatible = "denx,uimage";
100 reg = <0x50000 0x7b0000>;
108 groups = "i2c", "spi refclk", "wled";
114 pinctrl-names = "default";
115 pinctrl-0 = <&ephy_pins>;
117 nvmem-cells = <&macaddr_factory_4>;
118 nvmem-cell-names = "mac-address";
120 mediatek,portmap = "llllw";
129 reg = <0x0000 0 0 0 0>;
130 nvmem-cells = <&eeprom_factory_8000>;
131 nvmem-cell-names = "eeprom";
132 ieee80211-freq-limit = <5000000 6000000>;
137 nvmem-cells = <&eeprom_factory_0>;
138 nvmem-cell-names = "eeprom";