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-boot = &led_status_orange;
14 led-failsafe = &led_status_orange;
15 led-running = &led_status_orange;
16 led-upgrade = &led_status_orange;
20 compatible = "gpio-leds";
23 label = "f7c027:blue:status";
24 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
28 label = "f7c027:blue:power";
29 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
32 led_status_orange: orange {
33 label = "f7c027:orange:status";
34 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
38 label = "f7c027:device:relay";
39 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
44 compatible = "gpio-keys-polled";
49 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
55 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_RFKILL>;
61 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
71 compatible = "jedec,spi-nor";
73 spi-max-frequency = <10000000>;
76 compatible = "fixed-partitions";
88 reg = <0x30000 0x10000>;
92 factory: partition@40000 {
94 reg = <0x40000 0x10000>;
99 compatible = "denx,uimage";
101 reg = <0x50000 0x770000>;
106 reg = <0x7c0000 0x770000>;
110 label = "belkin_settings";
111 reg = <0xf30000 0xa0000>;
116 reg = <0xfd0000 0x10000>;
121 reg = <0xfe0000 0x10000>;
125 label = "user_factory";
126 reg = <0xff0000 0x10000>;
133 ralink,mtd-eeprom = <&factory 0>;
137 state_default: pinctrl0 {
139 ralink,group = "i2c", "jtag", "uartf";
140 ralink,function = "gpio";