3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "belkin,f7c027", "ralink,rt5350-soc";
9 model = "Belkin F7C027";
12 led-boot = &led_status_orange;
13 led-failsafe = &led_status_orange;
14 led-running = &led_status_orange;
15 led-upgrade = &led_status_orange;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_STATUS;
23 color = <LED_COLOR_ID_BLUE>;
24 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
28 function = LED_FUNCTION_POWER;
29 color = <LED_COLOR_ID_BLUE>;
30 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
33 led_status_orange: orange {
34 function = LED_FUNCTION_STATUS;
35 color = <LED_COLOR_ID_ORANGE>;
36 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
40 label = "device:relay";
41 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
46 compatible = "gpio-keys-polled";
51 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART>;
57 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_RFKILL>;
63 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <10000000>;
78 compatible = "fixed-partitions";
90 reg = <0x30000 0x10000>;
96 reg = <0x40000 0x10000>;
100 compatible = "fixed-layout";
101 #address-cells = <1>;
104 eeprom_factory_0: eeprom@0 {
111 compatible = "denx,uimage";
113 reg = <0x50000 0x770000>;
118 reg = <0x7c0000 0x770000>;
122 label = "belkin_settings";
123 reg = <0xf30000 0xa0000>;
128 reg = <0xfd0000 0x10000>;
133 reg = <0xfe0000 0x10000>;
137 label = "user_factory";
138 reg = <0xff0000 0x10000>;
145 nvmem-cells = <&eeprom_factory_0>;
146 nvmem-cell-names = "eeprom";
151 groups = "i2c", "jtag", "uartf";