069970782753a856aec476b7d45fc3f44edb07f1
[openwrt/staging/noltari.git] / target / linux / lantiq / dts / ARV4518PWR01.dtsi
1 /include/ "danube.dtsi"
2
3 / {
4 chosen {
5 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
6 };
7
8 memory@0 {
9 reg = <0x0 0x4000000>;
10 };
11
12 sram@1F000000 {
13 vmmc@107000 {
14 status = "okay";
15 gpios = <&gpio 31 0>;
16 };
17 };
18
19 fpi@10000000 {
20 localbus@0 {
21 nor-boot@0 {
22 compatible = "lantiq,nor";
23 bank-width = <2>;
24 reg = <0 0x0 0x2000000>;
25 #address-cells = <1>;
26 #size-cells = <1>;
27
28 partition@0 {
29 label = "uboot";
30 reg = <0x00000 0x10000>; /* 64 KB */
31 read-only;
32 };
33
34 partition@10000 {
35 label = "uboot_env";
36 reg = <0x10000 0x10000>; /* 64 KB */
37 read-only;
38 };
39
40 partition@20000 {
41 label = "firmware";
42 reg = <0x20000 0x3d0000>;
43 };
44
45 partition@400000 {
46 label = "boardconfig";
47 reg = <0x3f0000 0x10000>;
48 read-only;
49 };
50 };
51
52 gpiomm: gpiomm@4000000 {
53 compatible = "lantiq,gpio-mm";
54 reg = <1 0x0 0x10 >;
55 #address-cells = <1>;
56 #size-cells = <1>;
57 #gpio-cells = <2>;
58 gpio-controller;
59 lantiq,shadow = <0x0>;
60 };
61
62 mac_addr {
63 compatible = "lantiq,eth-mac";
64 reg = <0 0x3f0016 0x6>;
65 mac-increment = <2>;
66 };
67
68 ath5k_eep {
69 compatible = "ath5k,eeprom";
70 reg = <0 0x3f0400 0x1000
71 0 0x3f0016 0x6>;
72 ath,mac-increment = <1>;
73 ath,eep-swap;
74 };
75 };
76
77 gpio: pinmux@E100B10 {
78 pinctrl-names = "default";
79 pinctrl-0 = <&state_default>;
80
81 state_default: pinmux {
82 ebu {
83 lantiq,groups = "ebu cs1";
84 lantiq,function = "ebu";
85 };
86 pci_in {
87 lantiq,groups = "req1", "req2";
88 lantiq,function = "pci";
89 lantiq,open-drain = <1>;
90 lantiq,pull = <2>;
91 lantiq,output = <0>;
92 };
93 pci_out {
94 lantiq,groups = "gnt1", "gnt2";
95 lantiq,function = "pci";
96 lantiq,pull = <0>;
97 lantiq,output = <1>;
98 };
99 };
100 };
101
102 etop@E180000 {
103 phy-mode = "mii";
104 };
105
106 ifxhcd@E101000 {
107 status = "okay";
108 gpios = <&gpio 14 0>;
109 };
110
111 pci@E105400 {
112 status = "okay";
113 gpio-reset = <&gpio 21 0>;
114 req-mask = <0xf>;
115 };
116
117 };
118
119 gpio-keys-polled {
120 compatible = "gpio-keys-polled";
121 #address-cells = <1>;
122 #size-cells = <0>;
123 poll-interval = <100>;
124
125 rfkill {
126 label = "rfkill";
127 gpios = <&gpio 28 1>;
128 linux,code = <0xf7>;
129 };
130 reset {
131 label = "reset";
132 gpios = <&gpio 30 1>;
133 linux,code = <0x198>;
134 };
135 };
136
137 gpio-leds {
138 compatible = "gpio-leds";
139 power {
140 label = "power";
141 gpios = <&gpio 3 0>;
142 };
143 dsl {
144 label = "dsl";
145 gpios = <&gpio 4 1>;
146 };
147 online {
148 label = "online";
149 gpios = <&gpio 5 1>;
150 };
151 wifi {
152 label = "wifi";
153 gpios = <&gpio 6 1>;
154 };
155 wps {
156 label = "wps";
157 gpios = <&gpio 7 1>;
158 };
159 dsl2 {
160 label = "dsl2";
161 gpios = <&gpio 8 1>;
162 };
163 usb {
164 label = "usb";
165 gpios = <&gpio 19 1>;
166 };
167 voice {
168 label = "voice";
169 gpios = <&gpiomm 0 1>;
170 };
171 fxs1 {
172 label = "fxs1";
173 gpios = <&gpiomm 1 1>;
174 };
175 fxs2 {
176 label = "fxs2";
177 gpios = <&gpiomm 2 1>;
178 };
179 fxo {
180 label = "fxo";
181 gpios = <&gpiomm 3 1>;
182 };
183 };
184 };