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