3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "phicomm,psg1208", "ralink,mt7620a-soc";
10 model = "Phicomm PSG1208";
14 led-failsafe = &led_wps;
15 led-running = &led_wps;
16 led-upgrade = &led_wps;
20 compatible = "gpio-leds";
23 label = "psg1208:white:wps";
24 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
28 label = "psg1208: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 = <10000000>;
61 compatible = "fixed-partitions";
73 reg = <0x30000 0x10000>;
77 factory: partition@30000 {
79 reg = <0x40000 0x10000>;
84 compatible = "denx,uimage";
86 reg = <0x50000 0x7b0000>;
93 state_default: pinctrl0 {
95 ralink,group = "i2c", "spi refclk", "wled";
96 ralink,function = "gpio";
102 pinctrl-names = "default";
103 pinctrl-0 = <&ephy_pins>;
104 mtd-mac-address = <&factory 0x4>;
105 mediatek,portmap = "llllw";
114 reg = <0x0000 0 0 0 0>;
115 mediatek,mtd-eeprom = <&factory 0x8000>;
116 ieee80211-freq-limit = <5000000 6000000>;
121 ralink,mtd-eeprom = <&factory 0>;