3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "omnima,hpm", "ralink,rt3662-soc", "ralink,rt3883-soc";
11 led-boot = &led_status;
12 led-failsafe = &led_status;
13 led-running = &led_status;
14 led-upgrade = &led_status;
18 bootargs = "console=ttyS0,115200";
22 compatible = "gpio-keys-polled";
23 poll-interval = <100>;
27 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
28 linux,code = <KEY_RESTART>;
33 compatible = "gpio-leds";
36 label = "hpm:orange:power";
37 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
42 label = "hpm:green:status";
43 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
48 label = "hpm:green:eth";
49 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
53 label = "hpm:red:eth";
54 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
58 label = "hpm:green:wifi";
59 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
63 label = "hpm:red:wifi";
64 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
69 compatible = "gpio-export";
71 /* gpio 12 and 13 handle the OC input */
74 gpio-export,name = "usb0";
75 gpio-export,output = <1>;
76 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
80 gpio-export,name = "usb1";
81 gpio-export,output = <1>;
82 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
91 compatible = "jedec,spi-nor";
92 spi-max-frequency = <25000000>;
96 compatible = "fixed-partitions";
101 reg = <0x0 0x0030000>;
107 reg = <0x00030000 0x00010000>;
112 factory: partition@40000 {
113 reg = <0x00040000 0x00010000>;
119 compatible = "denx,uimage";
120 reg = <0x00050000 0x00fb0000>;
129 groups = "i2c", "jtag", "uartf";
135 phy-handle = <&phy0>;
137 mtd-mac-address = <&factory 0x28>;
142 phy0: ethernet-phy@4 {
149 ralink,mtd-eeprom = <&factory 0x0>;