0a403c195c9d78301cffb4c3b08fe340c504ac94
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / ASL26555-8M.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "ASL26555", "ralink,rt3050-soc";
7 model = "Alpha ASL26555";
8
9 palmbus@10000000 {
10 sysc@0 {
11 ralink,pinmux = "spi", "mdio", "uartlite", "sdram", "rgmii";
12 ralink,gpiomux = "i2c", "jtag";
13 ralink,uartmux = "gpio";
14 ralink,wdtmux = <1>;
15 };
16
17 gpio0: gpio@600 {
18 status = "okay";
19 };
20
21 spi@b00 {
22 status = "okay";
23 m25p80@0 {
24 #address-cells = <1>;
25 #size-cells = <1>;
26 compatible = "s25sl064p";
27 reg = <0 0>;
28 linux,modalias = "m25p80", "s25sl064p";
29 spi-max-frequency = <10000000>;
30
31 partition@0 {
32 label = "uboot";
33 reg = <0x0 0x30000>;
34 read-only;
35 };
36 partition@30000 {
37 label = "devdata";
38 reg = <0x30000 0x10000>;
39 read-only;
40 };
41 partition@40000 {
42 label = "rgdb";
43 reg = <0x40000 0x10000>;
44 read-only;
45 };
46 partition@50000 {
47 label = "firmware";
48 reg = <0x50000 0x790000>;
49 };
50 partition@7e0000 {
51 label = "cert";
52 reg = <0x7e0000 0x10000>;
53 read-only;
54 };
55 partition@7f0000 {
56 label = "langpack";
57 reg = <0x7f0000 0x10000>;
58 read-only;
59 };
60 };
61 };
62 };
63
64 ethernet@10100000 {
65 status = "okay";
66 };
67
68 esw@10110000 {
69 status = "okay";
70 ralink,portmap = <0x1e>;
71 };
72
73 wmac@10180000 {
74 status = "okay";
75 };
76
77 otg@101c0000 {
78 status = "okay";
79 };
80
81 gpio-keys-polled {
82 compatible = "gpio-keys-polled";
83 #address-cells = <1>;
84 #size-cells = <0>;
85 poll-interval = <20>;
86 reset {
87 label = "reset";
88 gpios = <&gpio0 10 0>;
89 linux,code = <0x198>;
90 };
91 wps {
92 label = "wps";
93 gpios = <&gpio0 12 0>;
94 linux,code = <0x211>;
95 };
96 };
97
98 gpio-leds {
99 compatible = "gpio-leds";
100 eth {
101 label = "asl26555:green:eth";
102 gpios = <&gpio0 0 1>;
103 };
104 wan-red {
105 label = "asl26555:red:wan";
106 gpios = <&gpio0 1 0>;
107 };
108 wan-green {
109 label = "asl26555:green:wan";
110 gpios = <&gpio0 2 0>;
111 };
112 wlan {
113 label = "asl26555:green:wlan";
114 gpios = <&gpio0 7 0>;
115 };
116 power-green {
117 label = "asl26555:green:power";
118 gpios = <&gpio0 8 0>;
119 };
120 power-red {
121 label = "asl26555:red:power";
122 gpios = <&gpio0 9 0>;
123 };
124 3g-green {
125 label = "asl26555:green:3g";
126 gpios = <&gpio0 14 1>;
127 };
128 3g-red {
129 label = "asl26555:red:3g";
130 gpios = <&gpio0 17 1>;
131 };
132 };
133 };