5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "omnima,hpm", "ralink,rt3883-soc";
13 led-status = &led_status;
17 bootargs = "console=ttyS0,115200";
21 compatible = "gpio-keys-polled";
22 poll-interval = <100>;
26 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
27 linux,code = <KEY_RESTART>;
32 compatible = "gpio-leds";
35 label = "hpm:orange:power";
36 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
40 label = "hpm:green:status";
41 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
45 label = "hpm:green:eth";
46 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
50 label = "hpm:red:eth";
51 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
55 label = "hpm:green:wifi";
56 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
60 label = "hpm:red:wifi";
61 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
66 compatible = "gpio-export";
68 /* gpio 12 and 13 handle the OC input */
71 gpio-export,name = "usb0";
72 gpio-export,output = <1>;
73 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
77 gpio-export,name = "usb1";
78 gpio-export,output = <1>;
79 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
88 compatible = "jedec,spi-nor";
89 spi-max-frequency = <25000000>;
93 compatible = "fixed-partitions";
98 reg = <0x0 0x0030000>;
104 reg = <0x00030000 0x00010000>;
109 factory: partition@40000 {
110 reg = <0x00040000 0x00010000>;
116 reg = <0x00050000 0x00fb0000>;
124 state_default: pinctrl0 {
126 ralink,group = "i2c", "jtag", "uartf";
127 ralink,function = "gpio";
133 phy-handle = <&phy0>;
135 mtd-mac-address = <&factory 0x28>;
140 phy0: ethernet-phy@4 {
147 ralink,mtd-eeprom = <&factory 0>;