Merge tag 'drm-intel-fixes-2013-07-11' of git://people.freedesktop.org/~danvet/drm...
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / imx27-phytec-phycore-som.dts
1 /*
2  * Copyright 2012 Sascha Hauer, Pengutronix
3  *
4  * The code contained herein is licensed under the GNU General Public
5  * License. You may obtain a copy of the GNU General Public License
6  * Version 2 or later at the following locations:
7  *
8  * http://www.opensource.org/licenses/gpl-license.html
9  * http://www.gnu.org/copyleft/gpl.html
10  */
11
12 /dts-v1/;
13 #include "imx27.dtsi"
14
15 / {
16         model = "Phytec pcm038";
17         compatible = "phytec,imx27-pcm038", "fsl,imx27";
18
19         memory {
20                 reg = <0x0 0x0>;
21         };
22
23         soc {
24                 aipi@10000000 { /* aipi1 */
25                         serial@1000a000 {
26                                 status = "okay";
27                         };
28
29                         i2c@1001d000 {
30                                 clock-frequency = <400000>;
31                                 status = "okay";
32                                 at24@52 {
33                                         compatible = "at,24c32";
34                                         pagesize = <32>;
35                                         reg = <0x52>;
36                                 };
37                                 pcf8563@51 {
38                                         compatible = "nxp,pcf8563";
39                                         reg = <0x51>;
40                                 };
41                                 lm75@4a {
42                                         compatible = "national,lm75";
43                                         reg = <0x4a>;
44                                 };
45                         };
46                 };
47
48                 aipi@10020000 { /* aipi2 */
49                         ethernet@1002b000 {
50                                 phy-reset-gpios = <&gpio3 30 0>;
51                                 status = "okay";
52                         };
53                 };
54         };
55
56         nor_flash@c0000000 {
57                 compatible = "cfi-flash";
58                 bank-width = <2>;
59                 reg = <0xc0000000 0x02000000>;
60                 linux,mtd-name = "physmap-flash.0";
61                 #address-cells = <1>;
62                 #size-cells = <1>;
63         };
64 };
65
66 &cspi1 {
67         fsl,spi-num-chipselects = <1>;
68         cs-gpios = <&gpio4 28 0>;
69         status = "okay";
70
71         pmic: mc13783@0 {
72                 #address-cells = <1>;
73                 #size-cells = <0>;
74                 compatible = "fsl,mc13783";
75                 spi-max-frequency = <20000000>;
76                 reg = <0>;
77                 interrupt-parent = <&gpio2>;
78                 interrupts = <23 0x4>;
79                 fsl,mc13xxx-uses-adc;
80                 fsl,mc13xxx-uses-rtc;
81
82                 regulators {
83                         sw1a_reg: sw1a {
84                                 regulator-min-microvolt = <1200000>;
85                                 regulator-max-microvolt = <1200000>;
86                                 regulator-always-on;
87                                 regulator-boot-on;
88                         };
89
90                         sw1b_reg: sw1b {
91                                 regulator-min-microvolt = <1200000>;
92                                 regulator-max-microvolt = <1200000>;
93                                 regulator-always-on;
94                                 regulator-boot-on;
95                         };
96
97                         sw2a_reg: sw2a {
98                                 regulator-min-microvolt = <1800000>;
99                                 regulator-max-microvolt = <1800000>;
100                                 regulator-always-on;
101                                 regulator-boot-on;
102                         };
103
104                         sw2b_reg: sw2b {
105                                 regulator-min-microvolt = <1800000>;
106                                 regulator-max-microvolt = <1800000>;
107                                 regulator-always-on;
108                                 regulator-boot-on;
109                         };
110
111                         sw3_reg: sw3 {
112                                 regulator-min-microvolt = <5000000>;
113                                 regulator-max-microvolt = <5000000>;
114                                 regulator-always-on;
115                                 regulator-boot-on;
116                         };
117
118                         vaudio_reg: vaudio {
119                                 regulator-always-on;
120                                 regulator-boot-on;
121                         };
122
123                         violo_reg: violo {
124                                 regulator-min-microvolt = <1800000>;
125                                 regulator-max-microvolt = <1800000>;
126                                 regulator-always-on;
127                                 regulator-boot-on;
128                         };
129
130                         viohi_reg: viohi {
131                                 regulator-always-on;
132                                 regulator-boot-on;
133                         };
134
135                         vgen_reg: vgen {
136                                 regulator-min-microvolt = <1500000>;
137                                 regulator-max-microvolt = <1500000>;
138                                 regulator-always-on;
139                                 regulator-boot-on;
140                         };
141
142                         vcam_reg: vcam {
143                                 regulator-min-microvolt = <2800000>;
144                                 regulator-max-microvolt = <2800000>;
145                         };
146
147                         vrf1_reg: vrf1 {
148                                 regulator-min-microvolt = <2775000>;
149                                 regulator-max-microvolt = <2775000>;
150                                 regulator-always-on;
151                                 regulator-boot-on;
152                         };
153
154                         vrf2_reg: vrf2 {
155                                 regulator-min-microvolt = <2775000>;
156                                 regulator-max-microvolt = <2775000>;
157                                 regulator-always-on;
158                                 regulator-boot-on;
159                         };
160
161                         vmmc1_reg: vmmc1 {
162                                 regulator-min-microvolt = <1600000>;
163                                 regulator-max-microvolt = <3000000>;
164                         };
165
166                         gpo1_reg: gpo1 { };
167
168                         pwgt1spi_reg: pwgt1spi {
169                                 regulator-always-on;
170                         };
171                 };
172         };
173 };
174
175 &nfc {
176         nand-bus-width = <8>;
177         nand-ecc-mode = "hw";
178         status = "okay";
179 };