e0cd38a460538b169c26e56f83ba79cfdc62202f
[openwrt.git] / target / linux / lantiq / image / ARV4510PW.dts
1 /dts-v1/;
2
3 /include/ "danube.dtsi"
4
5 / {
6         model = "ARV4510QW - Wippies Homebox";
7
8         chosen {
9                 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
10         };
11
12         memory@0 {
13                 reg = <0x0 0x2000000>;
14         };
15
16         sram@1F000000 {
17                 vmmc@107000 {
18                         status = "okay";
19                 };
20         };
21
22         fpi@10000000 {
23                 localbus@0 {
24                         nor-boot@0 {
25                                 compatible = "lantiq,nor";
26                                 bank-width = <2>;
27                                 reg = <0 0x0 0x1000000>;
28                                 #address-cells = <1>;
29                                 #size-cells = <1>;
30
31                                 lantiq,noxip;
32
33                                 partition@0 {
34                                         label = "uboot";
35                                         reg = <0x00000 0x20000>;
36                                         read-only;
37                                 };
38
39                                 partition@20000 {
40                                         label = "uboot_env";
41                                         reg = <0x20000 0x20000>;
42                                         read-only;
43                                 };
44
45                                 partition@240000 {
46                                         label = "linux";
47                                         reg = <0x40000 0xf00000>;
48                                 };
49
50                                 partition@fe0000 {
51                                         label = "boardconfig";
52                                         reg = <0xfe0000 0x10000>;
53                                         read-only;
54                                 };
55                         };
56
57                         mac_addr {
58                                 compatible = "lantiq,eth-mac";
59                                 reg = <0 0xff0016 0x6>;
60                                 mac-increment = <2>;
61                         };
62                 };
63                 gpio: pinmux@E100B10 {
64                         pinctrl-names = "default";
65                         pinctrl-0 = <&state_default>;
66
67                         state_default: pinmux {
68                                 stp {
69                                         lantiq,groups = "stp";
70                                         lantiq,function = "stp";
71                                 };
72                                 exin {
73                                         lantiq,groups = "exin2";
74                                         lantiq,function = "exin";
75                                 };
76                                 pci_in {
77                                         lantiq,groups = "req1", "req2";
78                                         lantiq,function = "pci";
79                                         lantiq,open-drain = <1>;
80                                         lantiq,pull = <2>;
81                                         lantiq,output = <0>;
82                                 };
83                                 pci_out {
84                                         lantiq,groups = "gnt1";
85                                         lantiq,function = "pci";
86                                         lantiq,output = <1>;
87                                 };
88                                 pci_rst {
89                                         lantiq,pins = "io21";
90                                         lantiq,pull = <0>;
91                                         lantiq,output = <1>;
92                                 };
93                         };
94                 };
95
96                 gpios: stp@E100BB0 {
97                         status = "okay";
98                 };
99
100                 etop@E180000 {
101                         phy-mode = "rmii";
102                 };
103
104                 pci@E105400 {
105                         status = "okay";
106                         lantiq,external-clock;
107                         interrupt-map = <
108                                 0x7000 0 0 1 &icu0 30
109                                 0x7800 0 0 1 &icu0 135
110                                 0x7800 0 0 2 &icu0 135
111                                 0x7800 0 0 3 &icu0 135
112                         >;
113                         gpio-reset = <&gpio 21 0>;
114                         req-mask = <0x3>;
115                 };
116
117         };
118 };