Linux-libre 4.11.9-gnu
[librecmc/linux-libre.git] / arch / arm / boot / dts / mmp2-brownstone.dts
1 /*
2  *  Copyright (C) 2012 Marvell Technology Group Ltd.
3  *  Author: Haojian Zhuang <haojian.zhuang@marvell.com>
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License version 2 as
7  *  publishhed by the Free Software Foundation.
8  */
9
10 /dts-v1/;
11 #include "mmp2.dtsi"
12
13 / {
14         model = "Marvell MMP2 Brownstone Development Board";
15         compatible = "mrvl,mmp2-brownstone", "mrvl,mmp2";
16
17         chosen {
18                 bootargs = "console=ttyS2,38400 root=/dev/nfs nfsroot=192.168.1.100:/nfsroot/ ip=192.168.1.101:192.168.1.100::255.255.255.0::eth0:on";
19         };
20
21         memory {
22                 reg = <0x00000000 0x08000000>;
23         };
24
25         soc {
26                 apb@d4000000 {
27                         uart3: uart@d4018000 {
28                                 status = "okay";
29                         };
30                         twsi1: i2c@d4011000 {
31                                 status = "okay";
32                                 pmic: max8925@3c {
33                                         compatible = "maxium,max8925";
34                                         reg = <0x3c>;
35                                         interrupts = <1>;
36                                         interrupt-parent = <&intcmux4>;
37                                         interrupt-controller;
38                                         #interrupt-cells = <1>;
39                                         maxim,tsc-irq = <0>;
40
41                                         regulators {
42                                                 SDV1 {
43                                                         regulator-min-microvolt = <637500>;
44                                                         regulator-max-microvolt = <1425000>;
45                                                         regulator-boot-on;
46                                                         regulator-always-on;
47                                                 };
48                                                 SDV2 {
49                                                         regulator-min-microvolt = <650000>;
50                                                         regulator-max-microvolt = <2225000>;
51                                                         regulator-boot-on;
52                                                         regulator-always-on;
53                                                 };
54                                                 SDV3 {
55                                                         regulator-min-microvolt = <750000>;
56                                                         regulator-max-microvolt = <3900000>;
57                                                         regulator-boot-on;
58                                                         regulator-always-on;
59                                                 };
60                                                 LDO1 {
61                                                         regulator-min-microvolt = <750000>;
62                                                         regulator-max-microvolt = <3900000>;
63                                                         regulator-boot-on;
64                                                         regulator-always-on;
65                                                 };
66                                                 LDO2 {
67                                                         regulator-min-microvolt = <650000>;
68                                                         regulator-max-microvolt = <2250000>;
69                                                         regulator-boot-on;
70                                                         regulator-always-on;
71                                                 };
72                                                 LDO3 {
73                                                         regulator-min-microvolt = <650000>;
74                                                         regulator-max-microvolt = <2250000>;
75                                                         regulator-boot-on;
76                                                         regulator-always-on;
77                                                 };
78                                                 LDO4 {
79                                                         regulator-min-microvolt = <750000>;
80                                                         regulator-max-microvolt = <3900000>;
81                                                         regulator-boot-on;
82                                                         regulator-always-on;
83                                                 };
84                                                 LDO5 {
85                                                         regulator-min-microvolt = <750000>;
86                                                         regulator-max-microvolt = <3900000>;
87                                                         regulator-boot-on;
88                                                         regulator-always-on;
89                                                 };
90                                                 LDO6 {
91                                                         regulator-min-microvolt = <750000>;
92                                                         regulator-max-microvolt = <3900000>;
93                                                         regulator-boot-on;
94                                                         regulator-always-on;
95                                                 };
96                                                 LDO7 {
97                                                         regulator-min-microvolt = <750000>;
98                                                         regulator-max-microvolt = <3900000>;
99                                                         regulator-boot-on;
100                                                         regulator-always-on;
101                                                 };
102                                                 LDO8 {
103                                                         regulator-min-microvolt = <750000>;
104                                                         regulator-max-microvolt = <3900000>;
105                                                         regulator-boot-on;
106                                                         regulator-always-on;
107                                                 };
108                                                 LDO9 {
109                                                         regulator-min-microvolt = <750000>;
110                                                         regulator-max-microvolt = <3900000>;
111                                                         regulator-boot-on;
112                                                         regulator-always-on;
113                                                 };
114                                                 LDO10 {
115                                                         regulator-min-microvolt = <750000>;
116                                                         regulator-max-microvolt = <3900000>;
117                                                 };
118                                                 LDO11 {
119                                                         regulator-min-microvolt = <750000>;
120                                                         regulator-max-microvolt = <3900000>;
121                                                         regulator-boot-on;
122                                                         regulator-always-on;
123                                                 };
124                                                 LDO12 {
125                                                         regulator-min-microvolt = <750000>;
126                                                         regulator-max-microvolt = <3900000>;
127                                                         regulator-boot-on;
128                                                         regulator-always-on;
129                                                 };
130                                                 LDO13 {
131                                                         regulator-min-microvolt = <750000>;
132                                                         regulator-max-microvolt = <3900000>;
133                                                         regulator-boot-on;
134                                                         regulator-always-on;
135                                                 };
136                                                 LDO14 {
137                                                         regulator-min-microvolt = <750000>;
138                                                         regulator-max-microvolt = <3900000>;
139                                                         regulator-boot-on;
140                                                         regulator-always-on;
141                                                 };
142                                                 LDO15 {
143                                                         regulator-min-microvolt = <750000>;
144                                                         regulator-max-microvolt = <3900000>;
145                                                         regulator-boot-on;
146                                                         regulator-always-on;
147                                                 };
148                                                 LDO16 {
149                                                         regulator-min-microvolt = <750000>;
150                                                         regulator-max-microvolt = <3900000>;
151                                                         regulator-boot-on;
152                                                         regulator-always-on;
153                                                 };
154                                                 LDO17 {
155                                                         regulator-min-microvolt = <650000>;
156                                                         regulator-max-microvolt = <2250000>;
157                                                         regulator-boot-on;
158                                                         regulator-always-on;
159                                                 };
160                                                 LDO18 {
161                                                         regulator-min-microvolt = <650000>;
162                                                         regulator-max-microvolt = <2250000>;
163                                                         regulator-boot-on;
164                                                         regulator-always-on;
165                                                 };
166                                                 LDO19 {
167                                                         regulator-min-microvolt = <750000>;
168                                                         regulator-max-microvolt = <3900000>;
169                                                         regulator-boot-on;
170                                                         regulator-always-on;
171                                                 };
172                                                 LDO20 {
173                                                         regulator-min-microvolt = <750000>;
174                                                         regulator-max-microvolt = <3900000>;
175                                                         regulator-boot-on;
176                                                         regulator-always-on;
177                                                 };
178                                         };
179                                         backlight {
180                                                 maxim,max8925-dual-string = <0>;
181                                         };
182                                         charger {
183                                                 batt-detect = <0>;
184                                                 topoff-threshold = <1>;
185                                                 fast-charge = <7>;
186                                                 no-temp-support = <0>;
187                                                 no-insert-detect = <0>;
188                                         };
189                                 };
190                         };
191                         rtc: rtc@d4010000 {
192                                 status = "okay";
193                         };
194                 };
195         };
196 };