lantiq: fix console print
[openwrt/staging/chunkeey.git] / target / linux / lantiq / dts / ARV7525PW.dts
1 /dts-v1/;
2
3 #include "danube.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "ARV7525PW - Speedport W303V Typ A";
9
10 chosen {
11 bootargs = "console=ttyLTQ0,115200";
12 };
13
14 aliases {
15 led-boot = &power_green;
16 led-failsafe = &power_red;
17 led-running = &power_green;
18
19 led-dsl = &power_green;
20 led-internet = &online;
21 led-wifi = &wifi;
22 };
23
24 memory@0 {
25 reg = <0x0 0x2000000>;
26 };
27
28 sram@1F000000 {
29 vmmc@107000 {
30 status = "okay";
31 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
32 };
33 };
34
35 fpi@10000000 {
36 localbus@0 {
37 nor-boot@0 {
38 compatible = "lantiq,nor";
39 bank-width = <2>;
40 reg = <0 0x0 0x2000000>;
41 #address-cells = <1>;
42 #size-cells = <1>;
43
44 partitions {
45 compatible = "fixed-partitions";
46 #address-cells = <1>;
47 #size-cells = <1>;
48
49 partition@0 {
50 label = "uboot";
51 reg = <0x00000 0x10000>;
52 read-only;
53 };
54
55 partition@10000 {
56 label = "uboot_env";
57 reg = <0x10000 0x10000>;
58 read-only;
59 };
60
61 partition@20000 {
62 label = "firmware";
63 reg = <0x20000 0x3d0000>;
64 };
65
66 boardconfig: partition@400000 {
67 label = "board_config";
68 reg = <0x3f0000 0x10000>;
69 read-only;
70 };
71 };
72 };
73 };
74
75 gpio: pinmux@E100B10 {
76 pinctrl-names = "default";
77 pinctrl-0 = <&state_default>;
78
79 state_default: pinmux {
80 exin {
81 lantiq,groups = "exin1";
82 lantiq,function = "exin";
83 };
84 pci {
85 lantiq,groups = "gnt1", "req1";
86 lantiq,function = "pci";
87 };
88 };
89 };
90
91 etop@E180000 {
92 phy-mode = "mii";
93 mtd-mac-address = <&boardconfig 0x16>;
94 };
95 };
96
97 gpio-keys-polled {
98 compatible = "gpio-keys-polled";
99 #address-cells = <1>;
100 #size-cells = <0>;
101 poll-interval = <100>;
102
103 wps {
104 label = "wps";
105 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
106 linux,code = <KEY_WPS_BUTTON>;
107 };
108 reset {
109 label = "reset";
110 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
111 linux,code = <KEY_RESTART>;
112 };
113 };
114
115 gpio-leds {
116 compatible = "gpio-leds";
117 power_green: power {
118 label = "arv7525pw:green:power";
119 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
120 default-state = "keep";
121 };
122 power_red: power1 {
123 label = "arv7525pw:red:power";
124 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
125 };
126 online: online {
127 label = "arv7525pw:green:online";
128 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
129 };
130 voice {
131 label = "arv7525pw:green:telefonie";
132 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
133 };
134 voice2 {
135 label = "arv7525pw:red:telefonie";
136 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
137 };
138 wifi: wifi {
139 label = "arv7525pw:green:wlan";
140 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
141 };
142 };
143 };
144
145 &pci0 {
146 status = "okay";
147 interrupt-map = <0x7000 0 0 1 &icu0 135 1>;
148
149 wifi@0,0 {
150 compatible = "pci0,0";
151 reg = <0x7000 0 0 0 0>;
152 ralink,mtd-eeprom = <&boardconfig 0x410>;
153 };
154 };