3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "poray,x5", "ralink,rt5350-soc";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-leds";
21 label = "green:power";
22 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
27 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
32 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
37 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
42 compatible = "gpio-keys-polled";
47 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_WPS_BUTTON>;
53 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_RESTART>;
59 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
61 linux,input-type = <EV_SW>;
66 compatible = "gpio-export";
70 gpio-export,name = "usb-mode";
71 gpio-export,output = <0>;
72 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
81 compatible = "jedec,spi-nor";
83 spi-max-frequency = <10000000>;
86 compatible = "fixed-partitions";
98 reg = <0x30000 0x10000>;
102 factory: partition@40000 {
104 reg = <0x40000 0x10000>;
109 compatible = "denx,uimage";
111 reg = <0x50000 0x7b0000>;
119 groups = "i2c", "jtag", "uartf";
125 nvmem-cells = <&macaddr_factory_4>;
126 nvmem-cell-names = "mac-address";
130 mediatek,portmap = <0x2f>;
131 mediatek,led_polarity = <1>;
135 ralink,mtd-eeprom = <&factory 0x0>;
136 ralink,led-polarity = <1>;
140 compatible = "nvmem-cells";
141 #address-cells = <1>;
144 macaddr_factory_4: macaddr@4 {