5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "omnima,hpm", "ralink,rt3662-soc", "ralink,rt3883-soc";
13 led-boot = &led_status;
14 led-failsafe = &led_status;
15 led-running = &led_status;
16 led-upgrade = &led_status;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-keys-polled";
25 poll-interval = <100>;
29 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
30 linux,code = <KEY_RESTART>;
35 compatible = "gpio-leds";
38 label = "hpm:orange:power";
39 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
44 label = "hpm:green:status";
45 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
50 label = "hpm:green:eth";
51 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
55 label = "hpm:red:eth";
56 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
60 label = "hpm:green:wifi";
61 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
65 label = "hpm:red:wifi";
66 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
71 compatible = "gpio-export";
73 /* gpio 12 and 13 handle the OC input */
76 gpio-export,name = "usb0";
77 gpio-export,output = <1>;
78 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
82 gpio-export,name = "usb1";
83 gpio-export,output = <1>;
84 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
93 compatible = "jedec,spi-nor";
94 spi-max-frequency = <25000000>;
98 compatible = "fixed-partitions";
103 reg = <0x0 0x0030000>;
109 reg = <0x00030000 0x00010000>;
114 factory: partition@40000 {
115 reg = <0x00040000 0x00010000>;
121 compatible = "denx,uimage";
122 reg = <0x00050000 0x00fb0000>;
131 ralink,group = "i2c", "jtag", "uartf";
132 ralink,function = "gpio";
137 phy-handle = <&phy0>;
139 mtd-mac-address = <&factory 0x28>;
144 phy0: ethernet-phy@4 {
151 ralink,mtd-eeprom = <&factory 0>;