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