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>;
41 label = "hpm:green:status";
42 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
47 label = "hpm:green:eth";
48 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
52 label = "hpm:red:eth";
53 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
57 label = "hpm:green:wifi";
58 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
62 label = "hpm:red:wifi";
63 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
68 compatible = "gpio-export";
70 /* gpio 12 and 13 handle the OC input */
73 gpio-export,name = "usb0";
74 gpio-export,output = <1>;
75 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
79 gpio-export,name = "usb1";
80 gpio-export,output = <1>;
81 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
90 compatible = "jedec,spi-nor";
91 spi-max-frequency = <25000000>;
95 compatible = "fixed-partitions";
100 reg = <0x0 0x0030000>;
106 reg = <0x00030000 0x00010000>;
111 factory: partition@40000 {
112 reg = <0x00040000 0x00010000>;
118 reg = <0x00050000 0x00fb0000>;
126 state_default: pinctrl0 {
128 ralink,group = "i2c", "jtag", "uartf";
129 ralink,function = "gpio";
135 phy-handle = <&phy0>;
137 mtd-mac-address = <&factory 0x28>;
142 phy0: ethernet-phy@4 {
149 ralink,mtd-eeprom = <&factory 0>;