2c694029f540a7394951bef11dd5d021bc29168e
[openwrt/openwrt.git] / target / linux / lantiq / files-4.14 / arch / mips / boot / dts / ACMP252.dts
1 /dts-v1/;
2
3 #include "danube.dtsi"
4
5 / {
6 compatible = "audiocodes,mp-252", "lantiq,xway", "lantiq,danube";
7 model = "AudioCodes MediaPack MP-252";
8
9 chosen {
10 bootargs = "console=ttyLTQ0,115200";
11 };
12
13 memory@0 {
14 reg = <0x0 0x4000000>;
15 };
16 };
17
18 &gpio {
19 pinctrl-names = "default";
20 pinctrl-0 = <&state_default>;
21
22 state_default: pinmux {
23 exin {
24 lantiq,groups = "exin1";
25 lantiq,function = "exin";
26 };
27 pci {
28 lantiq,groups = "gnt1", "req1";
29 lantiq,function = "pci";
30 };
31 };
32 };
33
34 &gsw {
35 phy-mode = "rmii";
36 };
37
38 &localbus {
39 nor@0 {
40 compatible = "lantiq,nor";
41 bank-width = <2>;
42 reg = <0 0x0 0x2000000>;
43 #address-cells = <1>;
44 #size-cells = <1>;
45
46 partitions {
47 compatible = "fixed-partitions";
48 #address-cells = <1>;
49 #size-cells = <1>;
50
51 partition@0 {
52 label = "uboot";
53 reg = <0x0 0x20000>;
54 read-only;
55 };
56
57 partition@20000 {
58 label = "uboot_env";
59 reg = <0x20000 0x20000>;
60 };
61
62 partition@40000 {
63 label = "boardconfig";
64 reg = <0x40000 0x60000>;
65 read-only;
66 };
67
68 partition@a0000 {
69 label = "firmware";
70 reg = <0xa0000 0xf20000>;
71 };
72
73 partition@fc0000 {
74 label = "sysconfig";
75 reg = <0xfc0000 0x40000>;
76 };
77
78 partition@0x1000000 {
79 label = "rootfs_data";
80 reg = <0x1000000 0x1000000>;
81 };
82 };
83 };
84 };
85
86 &pci0 {
87 status = "okay";
88 };
89
90 &usb {
91 status = "okay";
92 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
93 };
94
95 &vmmc {
96 status = "okay";
97 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
98 };