[lantiq] add devicetrees
[openwrt/svn-archive/archive.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 partition@0 {
32 label = "uboot";
33 reg = <0x00000 0x20000>;
34 read-only;
35 };
36
37 partition@20000 {
38 label = "uboot_env";
39 reg = <0x20000 0x20000>;
40 read-only;
41 };
42
43 partition@240000 {
44 label = "linux";
45 reg = <0x40000 0xf00000>;
46 };
47
48 partition@fe0000 {
49 label = "boardconfig";
50 reg = <0xfe0000 0x10000>;
51 read-only;
52 };
53 };
54
55 mac_addr {
56 compatible = "lantiq,eth-mac";
57 reg = <0 0xff0016 0x6>;
58 mac-increment = <2>;
59 };
60 };
61 gpio: pinmux@E100B10 {
62 pinctrl-names = "default";
63 pinctrl-0 = <&state_default>;
64
65 state_default: pinmux {
66 stp {
67 lantiq,groups = "stp";
68 lantiq,function = "stp";
69 };
70 exin {
71 lantiq,groups = "exin2";
72 lantiq,function = "exin";
73 };
74 pci_in {
75 lantiq,groups = "req1", "req2";
76 lantiq,function = "pci";
77 lantiq,open-drain = <1>;
78 lantiq,pull = <2>;
79 lantiq,output = <0>;
80 };
81 pci_out {
82 lantiq,groups = "gnt1";
83 lantiq,function = "pci";
84 lantiq,output = <1>;
85 };
86 pci_rst {
87 lantiq,pins = "io21";
88 lantiq,pull = <0>;
89 lantiq,output = <1>;
90 };
91 };
92 };
93
94 gpios: stp@E100BB0 {
95 status = "okay";
96 };
97
98 etop@E180000 {
99 phy-mode = "rmii";
100 };
101
102 pci@E105400 {
103 status = "okay";
104 lantiq,external-clock;
105 interrupt-map = <
106 0x7000 0 0 1 &icu0 30
107 0x7800 0 0 1 &icu0 135
108 0x7800 0 0 2 &icu0 135
109 0x7800 0 0 3 &icu0 135
110 >;
111 gpio-reset = <&gpio 21 0>;
112 req-mask = <0x3>;
113 };
114
115 };
116 };