380af7d558989fb016be58d114887c26ff52489e
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / WCR150GN.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "WCR150GN", "ralink,rt3052-soc";
7 model = "Sparklan WCR-150GN";
8
9 palmbus@10000000 {
10 sysc@0 {
11 ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
12 ralink,uartmux = "gpio";
13 ralink,wdtmux = <1>;
14 };
15
16 gpio0: gpio@600 {
17 status = "okay";
18 };
19 };
20
21 cfi@1f000000 {
22 compatible = "cfi-flash";
23 reg = <0x1f000000 0x800000>;
24
25 bank-width = <2>;
26 device-width = <2>;
27 #address-cells = <1>;
28 #size-cells = <1>;
29
30 partition@0 {
31 label = "u-boot";
32 reg = <0x0 0x30000>;
33 read-only;
34 };
35
36 partition@30000 {
37 label = "u-boot-env";
38 reg = <0x30000 0x10000>;
39 read-only;
40 };
41
42 factory: partition@40000 {
43 label = "factory";
44 reg = <0x40000 0x10000>;
45 read-only;
46 };
47
48 partition@50000 {
49 label = "firmware";
50 reg = <0x50000 0x3b0000>;
51 };
52 };
53
54 gpio-leds {
55 compatible = "gpio-leds";
56 user {
57 label = "wcr150gn:amber:user";
58 gpios = <&gpio0 12 1>;
59 };
60 power {
61 label = "wcr150gn:amber:power";
62 gpios = <&gpio0 8 1>;
63 };
64 };
65
66 gpio-keys-polled {
67 compatible = "gpio-keys-polled";
68 #address-cells = <1>;
69 #size-cells = <0>;
70 poll-interval = <20>;
71 wps {
72 label = "wps";
73 gpios = <&gpio0 10 1>;
74 linux,code = <0x211>;
75 };
76 reset {
77 label = "reset";
78 gpios = <&gpio0 0 1>;
79 linux,code = <0x198>;
80 };
81 };
82
83 ethernet@10100000 {
84 status = "okay";
85 };
86
87 esw@10110000 {
88 status = "okay";
89 ralink,portmap = <0x2f>;
90 };
91
92 wmac@10180000 {
93 status = "okay";
94 };
95
96 otg@101c0000 {
97 status = "okay";
98 };
99 };