ec287ab40b542f07f04f2329d249cb6262b16871
[openwrt/staging/mkresin.git] / target / linux / lantiq / files-4.14 / arch / mips / boot / dts / EASY50712.dts
1 /dts-v1/;
2
3 #include "danube.dtsi"
4
5 / {
6 compatible = "lantiq,easy50712", "lantiq,xway", "lantiq,danube";
7 model = "Intel EASY50712 Nand";
8
9 chosen {
10 bootargs = "console=ttyLTQ0,115200";
11 };
12
13 memory@0 {
14 reg = <0x0 0x2000000>;
15 };
16 };
17
18 &gpio {
19 pinctrl-names = "default";
20 pinctrl-0 = <&state_default>;
21
22 state_default: pinmux {
23 stp {
24 lantiq,groups = "stp";
25 lantiq,function = "stp";
26 };
27 exin {
28 lantiq,groups = "exin1";
29 lantiq,function = "exin";
30 };
31 pci {
32 lantiq,groups = "gnt1";
33 lantiq,function = "pci";
34 };
35 conf_out {
36 lantiq,pins = "io4", "io5", "io6"; /* stp */
37 lantiq,open-drain;
38 lantiq,pull = <0>;
39 };
40 };
41 };
42
43 &gsw {
44 phy-mode = "rmii";
45 };
46
47 &localbus {
48 nor@0 {
49 compatible = "lantiq,nor";
50 bank-width = <2>;
51 reg = <0 0x0 0x2000000>;
52 #address-cells = <1>;
53 #size-cells = <1>;
54
55 partitions {
56 compatible = "fixed-partitions";
57 #address-cells = <1>;
58 #size-cells = <1>;
59
60 partition@0 {
61 label = "uboot";
62 reg = <0x00000 0x10000>; /* 64 KB */
63 };
64
65 partition@10000 {
66 label = "uboot_env";
67 reg = <0x10000 0x10000>; /* 64 KB */
68 };
69
70 partition@20000 {
71 label = "firmware";
72 reg = <0x20000 0x3d0000>;
73 };
74
75 partition@400000 {
76 label = "rootfs";
77 reg = <0x400000 0x400000>;
78 };
79 };
80 };
81 };