lantiq: Sanitize device tree files
[oweals/openwrt.git] / target / linux / lantiq / dts / ARV7506PW11.dts
1 /dts-v1/;
2
3 #include "danube.dtsi"
4
5 / {
6         model = "ARV7506PW11 - Alice/O2 IAD 4421";
7
8         aliases {
9                 led-boot = &power;
10                 led-failsafe = &power_red;
11                 led-running = &power;
12
13                 led-dsl = &dsl;
14                 led-internet = &internet;
15                 led-wifi = &wlan;
16         };
17
18         memory@0 {
19                 reg = <0x0 0x4000000>;
20         };
21
22         fpi@10000000 {
23                 localbus@0 {
24                         nor-boot@0 {
25                                 compatible = "lantiq,nor";
26                                 bank-width = <2>;
27                                 reg = <0 0x0 0x800000>;
28
29                                 partitions {
30                                         compatible = "fixed-partitions";
31                                         #address-cells = <1>;
32                                         #size-cells = <1>;
33
34                                         partition@0 {
35                                                 label = "uboot";
36                                                 reg = <0x00000 0x40000>;
37                                                 read-only;
38                                         };
39
40                                         partition@40000 {
41                                                 label = "uboot_env";
42                                                 reg = <0x40000 0x10000>;
43                                                 read-only;
44                                         };
45
46                                         partition@50000 {
47                                                 label = "firmware";
48                                                 reg = <0x50000 0x7a0000>;
49                                         };
50
51                                         boardconfig: partition@7f0000 {
52                                                 label = "board_config";
53                                                 reg = <0x7f0000 0x10000>;
54                                                 read-only;
55                                         };
56                                 };
57                         };
58                 };
59
60                 gpio: pinmux@E100B10 {
61                         pinctrl-names = "default";
62                         pinctrl-0 = <&state_default>;
63
64                         state_default: pinmux {
65                                 pci {
66                                         lantiq,groups = "gnt1";
67                                         lantiq,function = "pci";
68                                         lantiq,output = <1>;
69                                 };
70                                 pci_rst {
71                                         lantiq,pins = "io21";
72                                         lantiq,pull = <2>;
73                                         lantiq,output = <1>;
74                                 };
75                         };
76                 };
77
78                 /* GPIO 19: switch reset */
79                 etop@E180000 {
80                         phy-mode = "rmii";
81                         mtd-mac-address = <&boardconfig 0x16>;
82                 };
83
84                 pci@E105400 {
85                         status = "okay";
86                         gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
87                 };
88         };
89
90         ralink_eep {
91                 compatible = "ralink,eeprom";
92                 ralink,eeprom = "RT2860.eeprom";
93         };
94
95         gpio-keys-polled {
96                 compatible = "gpio-keys-polled";
97                 #address-cells = <1>;
98                 #size-cells = <0>;
99                 poll-interval = <100>;
100
101                 rfkill {
102                         label = "rfkill";
103                         gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
104                         linux,code = <KEY_RFKILL>;
105                 };
106                 reset {
107                         label = "reset";
108                         gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
109                         linux,code = <KEY_RESTART>;
110                 };
111         };
112
113         gpio-leds {
114                 compatible = "gpio-leds";
115                 wlan: wlan {
116                         label = "arv7506pw11:green:wlan";
117                         gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
118                 };
119                 power: power {
120                         label = "arv7506pw11:green:power";
121                         gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
122                         default-state = "keep";
123                 };
124                 dsl: dsl {
125                         label = "arv7506pw11:green:dsl";
126                         gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
127                 };
128                 internet: internet {
129                         label = "arv7506pw11:green:internet";
130                         gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
131                 };
132                 power_red: power_red {
133                         label = "arv7506pw11:red:power";
134                         gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
135                 };
136                 internet_red {
137                         label = "arv7506pw11:red:internet";
138                         gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
139                 };
140                 info {
141                         label = "arv7506pw11:green:info";
142                         gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
143                 };
144                 telefon {
145                         label = "arv7506pw11:green:telefon";
146                         gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
147                 };
148                 info_red {
149                         label = "arv7506pw11:red:info";
150                         gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
151                 };
152         };
153 };