ralink: add pinctrl driver
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / RT-N15.dts
1 /dts-v1/;
2
3 /include/ "rt2880.dtsi"
4
5 / {
6 #address-cells = <1>;
7 #size-cells = <1>;
8 compatible = "RT-N15", "ralink,rt2880-soc";
9 model = "Asus RT-N15";
10
11 palmbus@300000 {
12 sysc@0 {
13 ralink,pinmux = "uartlite";
14 ralink,gpiomux = "i2c";
15 ralink,uartmux = "gpio";
16 ralink,wdtmux = <1>;
17 };
18
19 gpio0: gpio@600 {
20 status = "okay";
21 };
22 };
23
24 cfi@1f000000 {
25 compatible = "cfi-flash";
26 reg = <0x1f000000 0x800000>;
27
28 bank-width = <2>;
29 device-width = <2>;
30 #address-cells = <1>;
31 #size-cells = <1>;
32
33 partition@0 {
34 label = "uboot";
35 reg = <0x0 0x30000>;
36 read-only;
37 };
38 partition@30000 {
39 label = "uboot-env";
40 reg = <0x30000 0x10000>;
41 read-only;
42 };
43 partition@40000 {
44 label = "factory";
45 reg = <0x40000 0x10000>;
46 read-only;
47 };
48 partition@50000 {
49 label = "linux";
50 reg = <0x50000 0x3b0000>;
51 };
52 };
53
54 ethernet@400000 {
55 status = "okay";
56
57 port@0 {
58 ralink,fixed-link = <1000 1 1 1>;
59 };
60 };
61
62 rtl8366s {
63 compatible = "realtek,rtl8366s";
64 gpio-sda = <&gpio0 1 0>;
65 gpio-sck = <&gpio0 2 0>;
66 };
67
68 gpio-keys-polled {
69 compatible = "gpio-keys-polled";
70 #address-cells = <1>;
71 #size-cells = <0>;
72 poll-interval = <100>;
73 wps {
74 label = "wps";
75 gpios = <&gpio0 0 0>;
76 linux,code = <0x211>;
77 };
78 reset {
79 label = "reset";
80 gpios = <&gpio0 12 0>;
81 linux,code = <0x198>;
82 };
83 };
84
85 gpio-leds {
86 compatible = "gpio-leds";
87
88 power {
89 label = "rt-n15:blue:power";
90 gpios = <&gpio0 11 1>;
91 };
92 };
93 };