3 #include "mt7620a.dtsi"
5 #include <dt-bindings/input/input.h>
8 compatible = "PSG1218", "ralink,mt7620a-soc";
9 model = "Phicomm PSG1218";
12 compatible = "gpio-leds";
15 label = "psg1218:blue:status";
16 gpios = <&gpio0 10 1>;
20 label = "psg1218:yellow:status";
21 gpios = <&gpio0 11 1>;
25 label = "psg1218:red:status";
31 compatible = "gpio-keys-polled";
39 linux,code = <KEY_RESTART>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <10000000>;
66 reg = <0x30000 0x10000>;
70 factory: partition@30000 {
72 reg = <0x40000 0x10000>;
78 reg = <0x50000 0x7b0000>;
84 state_default: pinctrl0 {
86 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled", "nd_sd";
87 ralink,function = "gpio";
92 ralink,function = "pa";
98 pinctrl-names = "default";
99 pinctrl-0 = <&ephy_pins>;
100 mtd-mac-address = <&factory 0x28>;
101 mediatek,portmap = "llllw";
109 reg = <0x0000 0 0 0 0>;
111 mediatek,mtd-eeprom = <&factory 0x8000>;
118 ralink,mtd-eeprom = <&factory 0>;