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 led-status = &led_power;
17 compatible = "gpio-leds";
20 label = "cs-qr10:red:power";
21 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
26 compatible = "gpio-keys-polled";
33 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_RESTART>;
39 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_WPS_BUTTON>;
67 pinctrl-names = "default";
68 pinctrl-0 = <&pcm_i2s_pins>;
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <10000000>;
89 reg = <0x30000 0x10000>;
93 factory: partition@40000 {
95 reg = <0x40000 0x10000>;
101 reg = <0x50000 0x7b0000>;
115 state_default: pinctrl0 {
117 ralink,group = "spi refclk", "rgmii1";
118 ralink,function = "gpio";
121 ralink,group = "wdt";
122 ralink,function = "wdt refclk";
128 pinctrl-names = "default";
129 pinctrl-0 = <&ephy_pins>;
130 mtd-mac-address = <&factory 0x4>;
131 mediatek,portmap = "llllw";
135 ralink,port4 = "ephy";
151 ralink,mtd-eeprom = <&factory 0>;