3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "poray,x5", "ralink,rt5350-soc";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_POWER;
23 color = <LED_COLOR_ID_GREEN>;
24 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
29 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
34 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
39 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
44 compatible = "gpio-keys-polled";
49 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_WPS_BUTTON>;
55 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_RESTART>;
61 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
63 linux,input-type = <EV_SW>;
68 compatible = "gpio-export";
72 gpio-export,name = "usb-mode";
73 gpio-export,output = <0>;
74 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
83 compatible = "jedec,spi-nor";
85 spi-max-frequency = <10000000>;
88 compatible = "fixed-partitions";
100 reg = <0x30000 0x10000>;
106 reg = <0x40000 0x10000>;
110 compatible = "fixed-layout";
111 #address-cells = <1>;
114 eeprom_factory_0: eeprom@0 {
118 macaddr_factory_4: macaddr@4 {
125 compatible = "denx,uimage";
127 reg = <0x50000 0x7b0000>;
135 groups = "i2c", "jtag", "uartf";
141 nvmem-cells = <&macaddr_factory_4>;
142 nvmem-cell-names = "mac-address";
146 mediatek,portmap = <0x2f>;
147 mediatek,led_polarity = <1>;
151 ralink,led-polarity = <1>;
152 nvmem-cells = <&eeprom_factory_0>;
153 nvmem-cell-names = "eeprom";