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";
46 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
52 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_RFKILL>;
58 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <10000000>;
82 reg = <0x30000 0x10000>;
86 factory: partition@40000 {
88 reg = <0x40000 0x10000>;
94 reg = <0x50000 0x770000>;
99 reg = <0x7c0000 0x770000>;
103 label = "belkin_settings";
104 reg = <0xf30000 0xa0000>;
109 reg = <0xfd0000 0x10000>;
114 reg = <0xfe0000 0x10000>;
118 label = "user_factory";
119 reg = <0xff0000 0x10000>;
125 ralink,mtd-eeprom = <&factory 0>;
129 state_default: pinctrl0 {
131 ralink,group = "i2c", "jtag", "uartf";
132 ralink,function = "gpio";