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";
31 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_RESTART>;
37 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_WPS_BUTTON>;
65 pinctrl-names = "default";
66 pinctrl-0 = <&pcm_i2s_pins>;
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <10000000>;
78 compatible = "fixed-partitions";
90 reg = <0x30000 0x10000>;
94 factory: partition@40000 {
96 reg = <0x40000 0x10000>;
102 reg = <0x50000 0x7b0000>;
117 state_default: pinctrl0 {
119 ralink,group = "spi refclk", "rgmii1";
120 ralink,function = "gpio";
123 ralink,group = "wdt";
124 ralink,function = "wdt refclk";
130 pinctrl-names = "default";
131 pinctrl-0 = <&ephy_pins>;
132 mtd-mac-address = <&factory 0x4>;
133 mediatek,portmap = "llllw";
137 ralink,port4 = "ephy";
153 ralink,mtd-eeprom = <&factory 0>;