lantiq: add 3.18 support
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / ASL26555-16M.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 gpio0: gpio@600 {
11 status = "okay";
12 };
13
14 spi@b00 {
15 status = "okay";
16 m25p80@0 {
17 #address-cells = <1>;
18 #size-cells = <1>;
19 compatible = "s25sl12801";
20 reg = <0 0>;
21 linux,modalias = "m25p80", "s25sl12801";
22 spi-max-frequency = <10000000>;
23
24 partition@0 {
25 label = "uboot";
26 reg = <0x0 0x30000>;
27 read-only;
28 };
29 partition@30000 {
30 label = "uboot-env";
31 reg = <0x30000 0x10000>;
32 read-only;
33 };
34 partition@40000 {
35 label = "factory";
36 reg = <0x40000 0x10000>;
37 read-only;
38 };
39 partition@50000 {
40 label = "firmware";
41 reg = <0x50000 0xf80000>;
42 };
43 partition@fd0000 {
44 label = "cert";
45 reg = <0xfd0000 0x10000>;
46 read-only;
47 };
48 partition@fe0000 {
49 label = "langpack";
50 reg = <0xfe0000 0x10000>;
51 read-only;
52 };
53 devdata: partition@ff0000 {
54 label = "devdata";
55 reg = <0xff0000 0x10000>;
56 read-only;
57 };
58 };
59 };
60 };
61
62 pinctrl {
63 state_default: pinctrl0 {
64 gpio {
65 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
66 ralink,function = "gpio";
67 };
68 };
69 };
70
71 ethernet@10100000 {
72 mtd-mac-address = <&devdata 0x4004>;
73 };
74
75 esw@10110000 {
76 ralink,portmap = <0x1e>;
77 };
78
79 wmac@10180000 {
80 ralink,mtd-eeprom = <&devdata 0x4000>;
81 };
82
83 otg@101c0000 {
84 status = "okay";
85 };
86
87 gpio-keys-polled {
88 compatible = "gpio-keys-polled";
89 #address-cells = <1>;
90 #size-cells = <0>;
91 poll-interval = <20>;
92 reset {
93 label = "reset";
94 gpios = <&gpio0 10 0>;
95 linux,code = <0x198>;
96 };
97 wps {
98 label = "wps";
99 gpios = <&gpio0 12 0>;
100 linux,code = <0x211>;
101 };
102 };
103
104 gpio-leds {
105 compatible = "gpio-leds";
106 eth {
107 label = "asl26555:green:eth";
108 gpios = <&gpio0 0 1>;
109 };
110 wan-red {
111 label = "asl26555:red:wan";
112 gpios = <&gpio0 1 0>;
113 };
114 wan-green {
115 label = "asl26555:green:wan";
116 gpios = <&gpio0 2 0>;
117 };
118 wlan {
119 label = "asl26555:green:wlan";
120 gpios = <&gpio0 7 0>;
121 };
122 power-green {
123 label = "asl26555:green:power";
124 gpios = <&gpio0 8 0>;
125 };
126 power-red {
127 label = "asl26555:red:power";
128 gpios = <&gpio0 9 0>;
129 };
130 3g-green {
131 label = "asl26555:green:3g";
132 gpios = <&gpio0 14 1>;
133 };
134 3g-red {
135 label = "asl26555:red:3g";
136 gpios = <&gpio0 17 1>;
137 };
138 };
139 };