lantiq: new image build process - fix kernel entry address
[openwrt.git] / target / linux / lantiq / dts / ARV7519RW22.dts
1 /dts-v1/;
2
3 /include/ "vr9.dtsi"
4
5 / {
6         model = "ARV7519RW22 - Orange Livebox 2.1";
7
8         chosen {
9                 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
10
11                 leds {
12                         boot = &power_green;
13                         failsafe = &power_green;
14                         running = &power_green;
15
16                         internet = &internet_green;
17                 };
18         };
19
20         memory@0 {
21                 reg = <0x0 0x8000000>;
22         };
23
24         fpi@10000000 {
25                 localbus@0 {
26                         nor-boot@0 {
27                                 compatible = "lantiq,nor";
28                                 bank-width = <2>;
29                                 reg = <0 0x0 0x2000000>;
30                                 #address-cells = <1>;
31                                 #size-cells = <1>;
32
33                                 partition@0 {
34                                         label = "uboot";
35                                         reg = <0x0 0x60000>;
36                                         read-only;
37                                 };
38
39                                 partition@60000 {
40                                         label = "uboot-env";
41                                         reg = <0x60000 0x20000>;
42                                         read-only;
43                                 };
44
45                                 partition@80000 {
46                                         label = "firmware";
47                                         reg = <0x80000 0x1f00000>;
48                                 };
49
50                                 boardconfig: partition@1f80000 {
51                                         label = "boardconfig";
52                                         reg = <0x1f80000 0x80000>;
53                                         read-only;
54                                 };
55                         };
56                 };
57
58                 gpio: pinmux@E100B10 {
59                         pinctrl-names = "default";
60                         pinctrl-0 = <&state_default>;
61
62                         state_default: pinmux {
63                                 mdio {
64                                         lantiq,groups = "mdio";
65                                         lantiq,function = "mdio";
66                                 };
67                                 pcie-rst {
68                                         lantiq,pins = "io21";
69                                         lantiq,pull = <0>;
70                                         lantiq,output = <1>;
71                                 };
72                         };
73                 };
74
75                 ifxhcd@E101000 {
76                         status = "okay";
77                         gpios = <&gpio 32 0>;
78                 };
79
80                 ifxhcd@E106000 {
81                         status = "okay";
82                         gpios = <&gpio 32 0>;
83                 };
84
85                 pcie@d900000 {
86                         status = "disabled";
87                 };
88
89                 pci@E105400 {
90                         status = "disabled";
91                         compatible = "lantiq,pci-xway";
92                 };
93         };
94
95         gphy-xrx200 {
96                 compatible = "lantiq,phy-xrx200";
97                 firmware1 = "lantiq/vr9_phy22f_a1x.bin";        /*VR9 1.1*/
98                 firmware2 = "lantiq/vr9_phy22f_a2x.bin";        /*VR9 1.2*/
99                 phys = [ 00 01 ];
100         };
101
102         gpio-keys-polled {
103                 compatible = "gpio-keys-polled";
104                 #address-cells = <1>;
105                 #size-cells = <0>;
106                 poll-interval = <100>;
107
108                 reset {
109                         label = "reset";
110                         gpios = <&gpio 6 1>;
111                         linux,code = <0x198>;
112                 };
113                 rfkill {
114                         label = "rfkill";
115                         gpios = <&gpio 33 1>;
116                         linux,code = <0xf7>;
117                 };
118                 wps {
119                         label = "wps";
120                         gpios = <&gpio 37 1>;
121                         linux,code = <0x211>;
122                 };
123         };
124
125         gpio-leds {
126                 compatible = "gpio-leds";
127
128                 lan_green {
129                         label = "arv7519rw22:green:lan";
130                         gpios = <&gpio 2 1>;
131                 };
132                 internet_red {
133                         label = "arv7519rw22:red:internet";
134                         gpios = <&gpio 10 1>;
135                 };
136                 power_green: power_green {
137                         label = "arv7519rw22:green:power";
138                         gpios = <&gpio 14 1>;
139                         default-state = "keep";
140                 };
141                 alarm_blue {
142                         label = "arv7519rw22:blue:alarm";
143                         gpios = <&gpio 15 1>;
144                 };
145                 internet_orange {
146                         label = "arv7519rw22:orange:internet";
147                         gpios = <&gpio 19 1>;
148                 };
149                 internet_green: internet_green {
150                         label = "arv7519rw22:green:internet";
151                         gpios = <&gpio 28 1>;
152                 };
153                 voice_green {
154                         label = "arv7519rw22:green:voice";
155                         gpios = <&gpio 29 1>;
156                 };
157         };
158 };
159
160 &eth0 {
161         lan: interface@0 {
162                 compatible = "lantiq,xrx200-pdi";
163                 #address-cells = <1>;
164                 #size-cells = <0>;
165                 reg = <0>;
166                 mtd-mac-address = <&boardconfig 0x16>;
167                 lantiq,switch;
168
169                 ethernet@0 {
170                         compatible = "lantiq,xrx200-pdi-port";
171                         reg = <0>;
172                         phy-mode = "rgmii";
173                         phy-handle = <&phy0>;
174                 };
175                 ethernet@1 {
176                         compatible = "lantiq,xrx200-pdi-port";
177                         reg = <4>;
178                         phy-mode = "mii";
179                         phy-handle = <&phy13>;
180                 };
181                 ethernet@2 {
182                         compatible = "lantiq,xrx200-pdi-port";
183                         reg = <5>;
184                         phy-mode = "mii";
185                         phy-handle = <&phy14>;
186                 };
187                 ethernet@3 {
188                         compatible = "lantiq,xrx200-pdi-port";
189                         reg = <2>;
190                         phy-mode = "mii";
191                         phy-handle = <&phy11>;
192                 };
193                 ethernet@4 {
194                         compatible = "lantiq,xrx200-pdi-port";
195                         reg = <3>;
196                         phy-mode = "mii";
197                         phy-handle = <&phy12>;
198                 };
199         };
200
201         mdio@0 {
202                 #address-cells = <1>;
203                 #size-cells = <0>;
204                 compatible = "lantiq,xrx200-mdio";
205                 phy0: ethernet-phy@0 {
206                         reg = <0x0>;
207                         compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
208                 };
209                 phy11: ethernet-phy@11 {
210                         reg = <0x11>;
211                         compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
212                 };
213                 phy12: ethernet-phy@12 {
214                         reg = <0x12>;
215                         compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
216                 };
217                 phy13: ethernet-phy@13 {
218                         reg = <0x13>;
219                         compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
220                 };
221                 phy14: ethernet-phy@14 {
222                         reg = <0x14>;
223                         compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
224                 };
225         };
226 };