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";
13 led-status = &led_wps;
17 compatible = "gpio-leds";
20 label = "psg1208:white:wps";
21 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
25 label = "psg1208:white:wlan2g";
26 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys-polled";
36 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <10000000>;
59 compatible = "fixed-partitions";
71 reg = <0x30000 0x10000>;
75 factory: partition@30000 {
77 reg = <0x40000 0x10000>;
83 reg = <0x50000 0x7b0000>;
90 state_default: pinctrl0 {
92 ralink,group = "i2c", "spi refclk", "wled";
93 ralink,function = "gpio";
99 pinctrl-names = "default";
100 pinctrl-0 = <&ephy_pins>;
101 mtd-mac-address = <&factory 0x4>;
102 mediatek,portmap = "llllw";
111 reg = <0x0000 0 0 0 0>;
112 mediatek,mtd-eeprom = <&factory 0x8000>;
113 ieee80211-freq-limit = <5000000 6000000>;
118 ralink,mtd-eeprom = <&factory 0>;