1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "planex,cs-qr10", "ralink,mt7620a-soc";
9 model = "Planex CS-QR10";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_POWER;
23 color = <LED_COLOR_ID_RED>;
24 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-keys";
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>;
55 pinctrl-names = "default";
56 pinctrl-0 = <&pcm_i2s_pins>;
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <10000000>;
68 compatible = "fixed-partitions";
80 reg = <0x30000 0x10000>;
84 factory: partition@40000 {
86 reg = <0x40000 0x10000>;
90 compatible = "fixed-layout";
94 eeprom_factory_0: eeprom@0 {
98 macaddr_factory_4: macaddr@4 {
105 compatible = "denx,uimage";
107 reg = <0x50000 0x7b0000>;
123 groups = "spi refclk", "rgmii1";
128 function = "wdt refclk";
133 pinctrl-names = "default";
134 pinctrl-0 = <&ephy_pins>;
136 nvmem-cells = <&macaddr_factory_4>;
137 nvmem-cell-names = "mac-address";
139 mediatek,portmap = "llllw";
155 nvmem-cells = <&eeprom_factory_0>;
156 nvmem-cell-names = "eeprom";