5 #include <dt-bindings/input/input.h>
8 compatible = "HPM", "ralink,rt3883-soc";
12 bootargs = "console=ttyS0,115200";
16 compatible = "gpio-keys-polled";
19 poll-interval = <100>;
23 gpios = <&gpio0 14 0>;
24 linux,code = <KEY_RESTART>;
29 compatible = "gpio-leds";
32 label = "hpm:orange:power";
37 label = "hpm:green:status";
38 gpios = <&gpio0 21 1>;
42 label = "hpm:green:eth";
43 gpios = <&gpio0 20 1>;
47 label = "hpm:red:eth";
48 gpios = <&gpio0 18 1>;
52 label = "hpm:green:wifi";
53 gpios = <&gpio0 17 1>;
57 label = "hpm:red:wifi";
58 gpios = <&gpio0 19 1>;
63 compatible = "gpio-export";
65 /* gpio 12 and 13 handle the OC input */
68 gpio-export,name = "usb0";
69 gpio-export,output = <1>;
74 gpio-export,name = "usb1";
75 gpio-export,output = <1>;
85 compatible = "jedec,spi-nor";
86 spi-max-frequency = <25000000>;
92 reg = <0x0 0x0030000>;
98 reg = <0x00030000 0x00010000>;
103 factory: partition@40000 {
104 reg = <0x00040000 0x00010000>;
110 reg = <0x00050000 0x00fb0000>;
117 state_default: pinctrl0 {
119 ralink,group = "i2c", "jtag", "uartf";
120 ralink,function = "gpio";
126 phy-handle = <&phy0>;
128 mtd-mac-address = <&factory 0x28>;
133 phy0: ethernet-phy@4 {
140 ralink,mtd-eeprom = <&factory 0>;