ramips: specify "firmware" partition format
[oweals/openwrt.git] / target / linux / ramips / dts / WT1520.dtsi
1 #include "rt5350.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7         compatible = "nexx,wt1520", "ralink,rt5350-soc";
8
9         memory@0 {
10                 device_type = "memory";
11                 reg = <0x0 0x2000000>;
12         };
13
14         gpio-keys-polled {
15                 compatible = "gpio-keys-polled";
16                 poll-interval = <20>;
17
18                 reset {
19                         label = "reset";
20                         gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
21                         linux,code = <KEY_RESTART>;
22                 };
23         };
24 };
25
26 &pinctrl {
27         state_default: pinctrl0 {
28                 gpio {
29                         ralink,group = "jtag", "uartf";
30                         ralink,function = "gpio";
31                 };
32         };
33 };
34
35 &ethernet {
36         mtd-mac-address = <&factory 0x4>;
37 };
38
39 &wmac {
40         ralink,mtd-eeprom = <&factory 0>;
41 };
42
43 &ehci {
44         status = "okay";
45 };
46
47 &ohci {
48         status = "okay";
49 };