lantiq: Move the definition of the xrx200-net node to vr9.dtsi
[openwrt/openwrt.git] / target / linux / lantiq / dts / EASY50810.dts
1 /dts-v1/;
2
3 /include/ "ar9.dtsi"
4
5 / {
6 chosen {
7 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
8 };
9
10 memory@0 {
11 reg = <0x0 0x2000000>;
12 };
13
14 fpi@10000000 {
15 #address-cells = <1>;
16 #size-cells = <1>;
17 localbus@0 {
18 #address-cells = <2>;
19 #size-cells = <1>;
20 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
21 1 0 0x4000000 0x4000010>; /* addsel1 */
22 compatible = "lantiq,localbus", "simple-bus";
23
24 nor-boot@0 {
25 compatible = "lantiq,nor";
26 bank-width = <2>;
27 reg = <0 0x0 0x2000000>;
28 #address-cells = <1>;
29 #size-cells = <1>;
30
31 partition@0 {
32 label = "uboot";
33 reg = <0x00000 0x10000>; /* 64 KB */
34 };
35
36 partition@10000 {
37 label = "uboot_env";
38 reg = <0x10000 0x10000>; /* 64 KB */
39 };
40
41 partition@20000 {
42 label = "firmware";
43 reg = <0x20000 0x3d0000>;
44 };
45
46 partition@400000 {
47 label = "rootfs";
48 reg = <0x400000 0x400000>;
49 };
50 };
51 };
52
53 gpio: pinmux@E100B10 {
54 compatible = "lantiq,pinctrl-xr9";
55 pinctrl-names = "default";
56 pinctrl-0 = <&state_default>;
57
58 #gpio-cells = <2>;
59 gpio-controller;
60 reg = <0xE100B10 0xA0>;
61
62 state_default: pinmux {
63 stp {
64 lantiq,groups = "stp";
65 lantiq,function = "stp";
66 };
67 exin {
68 lantiq,groups = "exin1";
69 lantiq,function = "exin";
70 };
71 pci {
72 lantiq,groups = "gnt1";
73 lantiq,function = "pci";
74 };
75 conf_out {
76 lantiq,pins = "io4", "io5", "io6"; /* stp */
77 lantiq,open-drain;
78 lantiq,pull = <0>;
79 };
80 };
81 };
82
83 etop@E180000 {
84 compatible = "lantiq,etop-xway";
85 reg = <0xE180000 0x40000
86 0xE108000 0x200>;
87 interrupt-parent = <&icu0>;
88 interrupts = <72 73>;
89 phy-mode = "rmii";
90 mac-address = [ 00 11 22 33 44 55 ];
91 };
92
93 stp0: stp@E100BB0 {
94 #gpio-cells = <2>;
95 compatible = "lantiq,gpio-stp-xway";
96 gpio-controller;
97 reg = <0xE100BB0 0x40>;
98
99 lantiq,shadow = <0xfff>;
100 lantiq,groups = <0x3>;
101 };
102
103 pci@E105400 {
104 lantiq,bus-clock = <33333333>;
105 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
106 interrupt-map = <
107 0x7000 0 0 1 &icu0 29 1 // slot 14, irq 29
108 >;
109 gpios-reset = <&gpio 21 0>;
110 req-mask = <0x1>; /* GNT1 */
111 };
112
113 };
114 };