d36ab2e5a7af6529274e6905c6e2e1df48d34b72
[oweals/openwrt.git] / target / linux / lantiq / dts / EASY50810.dts
1 /dts-v1/;
2
3 #include "ar9.dtsi"
4
5 / {
6         compatible = "lantiq,easy50810", "lantiq,xway", "lantiq,ar9";
7
8         chosen {
9                 bootargs = "console=ttyLTQ0,115200";
10         };
11
12         memory@0 {
13                 reg = <0x0 0x2000000>;
14         };
15
16         fpi@10000000 {
17                 localbus@0 {
18                         nor-boot@0 {
19                                 compatible = "lantiq,nor";
20                                 bank-width = <2>;
21                                 reg = <0 0x0 0x2000000>;
22                                 #address-cells = <1>;
23                                 #size-cells = <1>;
24
25                                 partitions {
26                                         compatible = "fixed-partitions";
27                                         #address-cells = <1>;
28                                         #size-cells = <1>;
29
30                                         partition@0 {
31                                                 label = "uboot";
32                                                 reg = <0x00000 0x10000>; /* 64 KB */
33                                         };
34
35                                         partition@10000 {
36                                                 label = "uboot_env";
37                                                 reg = <0x10000 0x10000>; /* 64 KB */
38                                         };
39
40                                         partition@20000 {
41                                                 label = "firmware";
42                                                 reg = <0x20000 0x3d0000>;
43                                         };
44
45                                         partition@400000 {
46                                                 label = "rootfs";
47                                                 reg = <0x400000 0x400000>;
48                                         };
49                                 };
50                         };
51                 };
52
53                 gpio: pinmux@E100B10 {
54                         pinctrl-names = "default";
55                         pinctrl-0 = <&state_default>;
56
57                         state_default: pinmux {
58                                 stp {
59                                         lantiq,groups = "stp";
60                                         lantiq,function = "stp";
61                                 };
62                                 exin {
63                                         lantiq,groups = "exin1";
64                                         lantiq,function = "exin";
65                                 };
66                                 pci {
67                                         lantiq,groups = "gnt1";
68                                         lantiq,function = "pci";
69                                 };
70                                 conf_out {
71                                         lantiq,pins = "io4", "io5", "io6"; /* stp */
72                                         lantiq,open-drain;
73                                         lantiq,pull = <0>;
74                                 };
75                         };
76                 };
77
78                 etop@E180000 {
79                         phy-mode = "rmii";
80                 };
81
82                 stp0: stp@E100BB0 {
83                         #gpio-cells = <2>;
84                         compatible = "lantiq,gpio-stp-xway";
85                         gpio-controller;
86                         reg = <0xE100BB0 0x40>;
87
88                         lantiq,shadow = <0xfff>;
89                         lantiq,groups = <0x3>;
90                 };
91         };
92 };