3 /include/ "rt3883.dtsi"
6 compatible = "HPM", "ralink,rt3883-soc";
10 bootargs = "console=ttyS0,115200";
18 compatible = "jedec,spi-nor";
19 spi-max-frequency = <25000000>;
25 reg = <0x0 0x0030000>;
31 reg = <0x00030000 0x00010000>;
36 factory: partition@40000 {
37 reg = <0x00040000 0x00010000>;
43 reg = <0x00050000 0x00fb0000>;
51 state_default: pinctrl0 {
53 ralink,group = "i2c", "jtag", "uartf";
54 ralink,function = "gpio";
62 mtd-mac-address = <&factory 0x28>;
67 phy0: ethernet-phy@4 {
74 ralink,mtd-eeprom = <&factory 0>;
86 compatible = "gpio-keys-polled";
89 poll-interval = <100>;
93 gpios = <&gpio0 14 0>;
99 compatible = "gpio-leds";
102 label = "hpm:orange:power";
103 gpios = <&gpio0 7 1>;
107 label = "hpm:green:status";
108 gpios = <&gpio0 21 1>;
112 label = "hpm:green:eth";
113 gpios = <&gpio0 20 1>;
117 label = "hpm:red:eth";
118 gpios = <&gpio0 18 1>;
122 label = "hpm:green:wifi";
123 gpios = <&gpio0 17 1>;
127 label = "hpm:red:wifi";
128 gpios = <&gpio0 19 1>;
133 compatible = "gpio-export";
135 /* gpio 12 and 13 handle the OC input */
138 gpio-export,name = "usb0";
139 gpio-export,output = <1>;
140 gpios = <&gpio0 2 0>;
144 gpio-export,name = "usb1";
145 gpio-export,output = <1>;
146 gpios = <&gpio0 1 0>;