lantiq: dts: fix malformed unit addresses
[openwrt/staging/lynxis.git] / target / linux / lantiq / files / 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 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 pci {
41 lantiq,groups = "gnt1", "req1";
42 lantiq,function = "pci";
43 };
44 };
45 };
46
47 &gsw {
48 phy-mode = "rmii";
49 };
50
51 &localbus {
52 nor@0 {
53 compatible = "lantiq,nor";
54 bank-width = <2>;
55 reg = <0 0x0 0x2000000>;
56 #address-cells = <1>;
57 #size-cells = <1>;
58
59 partitions {
60 compatible = "fixed-partitions";
61 #address-cells = <1>;
62 #size-cells = <1>;
63
64 partition@0 {
65 label = "uboot";
66 reg = <0x0 0x20000>;
67 read-only;
68 };
69
70 partition@20000 {
71 label = "uboot_env";
72 reg = <0x20000 0x20000>;
73 };
74
75 partition@40000 {
76 label = "boardconfig";
77 reg = <0x40000 0x60000>;
78 read-only;
79 };
80
81 partition@a0000 {
82 label = "firmware";
83 reg = <0xa0000 0xf20000>;
84 };
85
86 partition@fc0000 {
87 label = "sysconfig";
88 reg = <0xfc0000 0x40000>;
89 };
90
91 partition@1000000 {
92 label = "rootfs_data";
93 reg = <0x1000000 0x1000000>;
94 };
95 };
96 };
97 };
98
99 &pci0 {
100 status = "okay";
101 };
102
103 &usb_phy {
104 status = "okay";
105 };
106
107 &usb {
108 status = "okay";
109 vbus-supply = <&usb_vbus>;
110 };
111
112 &vmmc {
113 status = "okay";
114 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
115 };