3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "planex,cs-qr10", "ralink,mt7620a-soc";
10 model = "Planex CS-QR10";
13 compatible = "gpio-leds";
16 label = "cs-qr10:red:power";
17 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
22 compatible = "gpio-keys-polled";
29 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
35 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_WPS_BUTTON>;
63 pinctrl-names = "default";
64 pinctrl-0 = <&pcm_i2s_pins>;
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <10000000>;
85 reg = <0x30000 0x10000>;
89 factory: partition@40000 {
91 reg = <0x40000 0x10000>;
97 reg = <0x50000 0x7b0000>;
111 state_default: pinctrl0 {
113 ralink,group = "spi refclk", "rgmii1";
114 ralink,function = "gpio";
117 ralink,group = "wdt";
118 ralink,function = "wdt refclk";
124 pinctrl-names = "default";
125 pinctrl-0 = <&ephy_pins>;
126 mtd-mac-address = <&factory 0x4>;
127 mediatek,portmap = "llllw";
131 ralink,port4 = "ephy";
147 ralink,mtd-eeprom = <&factory 0>;