1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "phicomm,psg1208", "ralink,mt7620a-soc";
9 model = "Phicomm PSG1208";
13 led-failsafe = &led_wps;
14 led-running = &led_wps;
15 led-upgrade = &led_wps;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_WPS;
23 color = <LED_COLOR_ID_WHITE>;
24 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
28 label = "white:wlan2g";
29 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-keys";
38 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <80000000>;
62 compatible = "fixed-partitions";
74 reg = <0x30000 0x10000>;
80 reg = <0x40000 0x10000>;
84 compatible = "fixed-layout";
88 eeprom_factory_0: eeprom@0 {
92 eeprom_factory_8000: eeprom@8000 {
96 macaddr_factory_4: macaddr@4 {
103 compatible = "denx,uimage";
105 reg = <0x50000 0x7b0000>;
113 groups = "i2c", "spi refclk", "wled";
119 pinctrl-names = "default";
120 pinctrl-0 = <&ephy_pins>;
122 nvmem-cells = <&macaddr_factory_4>;
123 nvmem-cell-names = "mac-address";
125 mediatek,portmap = "llllw";
134 reg = <0x0000 0 0 0 0>;
135 nvmem-cells = <&eeprom_factory_8000>;
136 nvmem-cell-names = "eeprom";
137 ieee80211-freq-limit = <5000000 6000000>;
142 nvmem-cells = <&eeprom_factory_0>;
143 nvmem-cell-names = "eeprom";