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-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
23 label = "cs-qr10:red:power";
24 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-keys-polled";
34 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
40 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_WPS_BUTTON>;
68 pinctrl-names = "default";
69 pinctrl-0 = <&pcm_i2s_pins>;
76 compatible = "jedec,spi-nor";
78 spi-max-frequency = <10000000>;
81 compatible = "fixed-partitions";
93 reg = <0x30000 0x10000>;
97 factory: partition@40000 {
99 reg = <0x40000 0x10000>;
104 compatible = "denx,uimage";
106 reg = <0x50000 0x7b0000>;
121 state_default: pinctrl0 {
123 ralink,group = "spi refclk", "rgmii1";
124 ralink,function = "gpio";
127 ralink,group = "wdt";
128 ralink,function = "wdt refclk";
134 pinctrl-names = "default";
135 pinctrl-0 = <&ephy_pins>;
136 mtd-mac-address = <&factory 0x4>;
137 mediatek,portmap = "llllw";
141 ralink,port4 = "ephy";
157 ralink,mtd-eeprom = <&factory 0>;