5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "belkin,f7c027", "ralink,rt5350-soc";
10 model = "Belkin F7C027";
13 led-status = &led_status_orange;
17 compatible = "gpio-leds";
20 label = "f7c027:blue:status";
21 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
25 label = "f7c027:blue:power";
26 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
29 led_status_orange: orange {
30 label = "f7c027:orange:status";
31 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
35 label = "f7c027:device:relay";
36 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
41 compatible = "gpio-keys-polled";
48 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_RESTART>;
54 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_RFKILL>;
60 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
72 compatible = "jedec,spi-nor";
74 spi-max-frequency = <10000000>;
84 reg = <0x30000 0x10000>;
88 factory: partition@40000 {
90 reg = <0x40000 0x10000>;
96 reg = <0x50000 0x770000>;
101 reg = <0x7c0000 0x770000>;
105 label = "belkin_settings";
106 reg = <0xf30000 0xa0000>;
111 reg = <0xfd0000 0x10000>;
116 reg = <0xfe0000 0x10000>;
120 label = "user_factory";
121 reg = <0xff0000 0x10000>;
127 ralink,mtd-eeprom = <&factory 0>;
131 state_default: pinctrl0 {
133 ralink,group = "i2c", "jtag", "uartf";
134 ralink,function = "gpio";