3714becbd15f8631b6e1fdea091feb652011e823
[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 device_type = "memory";
15 reg = <0x0 0x2000000>;
16 };
17 };
18
19 &gpio {
20 pinctrl-names = "default";
21 pinctrl-0 = <&state_default>;
22
23 state_default: pinmux {
24 stp {
25 lantiq,groups = "stp";
26 lantiq,function = "stp";
27 };
28 exin {
29 lantiq,groups = "exin1";
30 lantiq,function = "exin";
31 };
32 pci {
33 lantiq,groups = "gnt1";
34 lantiq,function = "pci";
35 };
36 conf_out {
37 lantiq,pins = "io4", "io5", "io6"; /* stp */
38 lantiq,open-drain;
39 lantiq,pull = <0>;
40 };
41 };
42 };
43
44 &gsw {
45 phy-mode = "rmii";
46 };
47
48 &localbus {
49 nor@0 {
50 compatible = "lantiq,nor";
51 bank-width = <2>;
52 reg = <0 0x0 0x2000000>;
53 #address-cells = <1>;
54 #size-cells = <1>;
55
56 partitions {
57 compatible = "fixed-partitions";
58 #address-cells = <1>;
59 #size-cells = <1>;
60
61 partition@0 {
62 label = "uboot";
63 reg = <0x00000 0x10000>; /* 64 KB */
64 };
65
66 partition@10000 {
67 label = "uboot_env";
68 reg = <0x10000 0x10000>; /* 64 KB */
69 };
70
71 partition@20000 {
72 label = "firmware";
73 reg = <0x20000 0x3d0000>;
74 };
75
76 partition@400000 {
77 label = "rootfs";
78 reg = <0x400000 0x400000>;
79 };
80 };
81 };
82 };
83
84 &stp {
85 status = "okay";
86 lantiq,shadow = <0xfff>;
87 lantiq,groups = <0x3>;
88 };