3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "omnima,hpm", "ralink,rt3662-soc", "ralink,rt3883-soc";
12 led-boot = &led_status;
13 led-failsafe = &led_status;
14 led-running = &led_status;
15 led-upgrade = &led_status;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-keys-polled";
24 poll-interval = <100>;
28 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
29 linux,code = <KEY_RESTART>;
34 compatible = "gpio-leds";
37 function = LED_FUNCTION_POWER;
38 color = <LED_COLOR_ID_ORANGE>;
39 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
44 function = LED_FUNCTION_STATUS;
45 color = <LED_COLOR_ID_GREEN>;
46 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
52 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
57 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
62 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
67 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
72 compatible = "gpio-export";
74 /* gpio 12 and 13 handle the OC input */
77 gpio-export,name = "usb0";
78 gpio-export,output = <1>;
79 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
83 gpio-export,name = "usb1";
84 gpio-export,output = <1>;
85 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
94 compatible = "jedec,spi-nor";
95 spi-max-frequency = <25000000>;
99 compatible = "fixed-partitions";
100 #address-cells = <1>;
104 reg = <0x0 0x0030000>;
110 reg = <0x00030000 0x00010000>;
115 factory: partition@40000 {
116 reg = <0x00040000 0x00010000>;
121 compatible = "fixed-layout";
122 #address-cells = <1>;
125 eeprom_factory_0: eeprom@0 {
129 macaddr_factory_28: macaddr@28 {
136 compatible = "denx,uimage";
137 reg = <0x00050000 0x00fb0000>;
146 groups = "i2c", "jtag", "uartf";
152 phy-handle = <&phy0>;
154 nvmem-cells = <&macaddr_factory_28>;
155 nvmem-cell-names = "mac-address";
160 phy0: ethernet-phy@4 {
167 nvmem-cells = <&eeprom_factory_0>;
168 nvmem-cell-names = "eeprom";