lantiq: ltq-tapi: fix compilation with newer Linux kernels
[openwrt/staging/dedeckeh.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / danube_audiocodes_mp-252.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 device_type = "memory";
15 reg = <0x0 0x4000000>;
16 };
17
18 usb_vbus: regulator-usb-vbus {
19 compatible = "regulator-fixed";
20
21 regulator-name = "USB_VBUS";
22
23 regulator-min-microvolt = <5000000>;
24 regulator-max-microvolt = <5000000>;
25
26 gpio = <&gpio 3 GPIO_ACTIVE_HIGH>;
27 enable-active-high;
28 };
29 };
30
31 &gpio {
32 pinctrl-names = "default";
33 pinctrl-0 = <&state_default>;
34
35 state_default: pinmux {
36 exin {
37 lantiq,groups = "exin1";
38 lantiq,function = "exin";
39 };
40 };
41 };
42
43 &gsw {
44 phy-mode = "rmii";
45 };
46
47 &localbus {
48 flash@0 {
49 compatible = "lantiq,nor";
50 bank-width = <2>;
51 reg = <0 0x0 0x2000000>;
52
53 partitions {
54 compatible = "fixed-partitions";
55 #address-cells = <1>;
56 #size-cells = <1>;
57
58 partition@0 {
59 label = "uboot";
60 reg = <0x0 0x20000>;
61 read-only;
62 };
63
64 partition@20000 {
65 label = "uboot_env";
66 reg = <0x20000 0x20000>;
67 };
68
69 partition@40000 {
70 label = "boardconfig";
71 reg = <0x40000 0x60000>;
72 read-only;
73 };
74
75 partition@a0000 {
76 label = "firmware";
77 reg = <0xa0000 0xf20000>;
78 };
79
80 partition@fc0000 {
81 label = "sysconfig";
82 reg = <0xfc0000 0x40000>;
83 };
84
85 partition@1000000 {
86 label = "rootfs_data";
87 reg = <0x1000000 0x1000000>;
88 };
89 };
90 };
91 };
92
93 &pci0 {
94 status = "okay";
95
96 pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
97 pinctrl-names = "default";
98 };
99
100 &usb_phy {
101 status = "okay";
102 };
103
104 &usb {
105 status = "okay";
106 vbus-supply = <&usb_vbus>;
107 };
108
109 &vmmc {
110 status = "okay";
111 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
112 };