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-polled";
39 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <10000000>;
62 compatible = "fixed-partitions";
74 reg = <0x30000 0x10000>;
78 factory: partition@30000 {
80 reg = <0x40000 0x10000>;
85 compatible = "denx,uimage";
87 reg = <0x50000 0x7b0000>;
94 state_default: pinctrl0 {
96 ralink,group = "i2c", "spi refclk", "wled";
97 ralink,function = "gpio";
103 pinctrl-names = "default";
104 pinctrl-0 = <&ephy_pins>;
105 mtd-mac-address = <&factory 0x4>;
106 mediatek,portmap = "llllw";
115 reg = <0x0000 0 0 0 0>;
116 mediatek,mtd-eeprom = <&factory 0x8000>;
117 ieee80211-freq-limit = <5000000 6000000>;
122 ralink,mtd-eeprom = <&factory 0>;