lantiq: kernel 4.14: copy patches, config and dts files
[openwrt/staging/mkresin.git] / target / linux / lantiq / files-4.14 / arch / mips / boot / dts / EASY50810.dts
1 /dts-v1/;
2
3 #include "ar9.dtsi"
4
5 / {
6 compatible = "lantiq,easy50810", "lantiq,xway", "lantiq,ar9";
7 model = "Lantiq EASY50810";
8
9 chosen {
10 bootargs = "console=ttyLTQ0,115200";
11 };
12
13 memory@0 {
14 reg = <0x0 0x2000000>;
15 };
16
17 fpi@10000000 {
18 localbus@0 {
19 nor-boot@0 {
20 compatible = "lantiq,nor";
21 bank-width = <2>;
22 reg = <0 0x0 0x2000000>;
23 #address-cells = <1>;
24 #size-cells = <1>;
25
26 partitions {
27 compatible = "fixed-partitions";
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
54 gpio: pinmux@E100B10 {
55 pinctrl-names = "default";
56 pinctrl-0 = <&state_default>;
57
58 state_default: pinmux {
59 stp {
60 lantiq,groups = "stp";
61 lantiq,function = "stp";
62 };
63 exin {
64 lantiq,groups = "exin1";
65 lantiq,function = "exin";
66 };
67 pci {
68 lantiq,groups = "gnt1";
69 lantiq,function = "pci";
70 };
71 conf_out {
72 lantiq,pins = "io4", "io5", "io6"; /* stp */
73 lantiq,open-drain;
74 lantiq,pull = <0>;
75 };
76 };
77 };
78
79 etop@E180000 {
80 phy-mode = "rmii";
81 };
82
83 stp0: stp@E100BB0 {
84 #gpio-cells = <2>;
85 compatible = "lantiq,gpio-stp-xway";
86 gpio-controller;
87 reg = <0xE100BB0 0x40>;
88
89 lantiq,shadow = <0xfff>;
90 lantiq,groups = <0x3>;
91 };
92 };
93 };