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 {
78 reg = <0x40000 0x10000>;
82 compatible = "fixed-layout";
86 eeprom_factory_0: eeprom@0 {
90 eeprom_factory_8000: eeprom@8000 {
94 macaddr_factory_4: macaddr@4 {
101 compatible = "denx,uimage";
103 reg = <0x50000 0x7b0000>;
111 groups = "i2c", "spi refclk", "wled";
117 pinctrl-names = "default";
118 pinctrl-0 = <&ephy_pins>;
120 nvmem-cells = <&macaddr_factory_4>;
121 nvmem-cell-names = "mac-address";
123 mediatek,portmap = "llllw";
132 reg = <0x0000 0 0 0 0>;
133 nvmem-cells = <&eeprom_factory_8000>;
134 nvmem-cell-names = "eeprom";
135 ieee80211-freq-limit = <5000000 6000000>;
140 nvmem-cells = <&eeprom_factory_0>;
141 nvmem-cell-names = "eeprom";