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 compatible = "gpio-leds";
16 label = "f7c027:blue:status";
17 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
21 label = "f7c027:blue:power";
22 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
26 label = "f7c027:orange:status";
27 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
31 label = "f7c027:device:relay";
32 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
37 compatible = "gpio-keys-polled";
44 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
50 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RFKILL>;
56 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
68 compatible = "jedec,spi-nor";
70 spi-max-frequency = <10000000>;
80 reg = <0x30000 0x10000>;
84 factory: partition@40000 {
86 reg = <0x40000 0x10000>;
92 reg = <0x50000 0x770000>;
97 reg = <0x7c0000 0x770000>;
101 label = "belkin_settings";
102 reg = <0xf30000 0xa0000>;
107 reg = <0xfd0000 0x10000>;
112 reg = <0xfe0000 0x10000>;
116 label = "user_factory";
117 reg = <0xff0000 0x10000>;
123 ralink,mtd-eeprom = <&factory 0>;
127 state_default: pinctrl0 {
129 ralink,group = "i2c", "jtag", "uartf";
130 ralink,function = "gpio";