Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / dra72-evm.dts
1 /*
2  * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8 /dts-v1/;
9
10 #include "dra72x.dtsi"
11
12 / {
13         model = "TI DRA722";
14         compatible = "ti,dra72-evm", "ti,dra722", "ti,dra72", "ti,dra7";
15
16         memory {
17                 device_type = "memory";
18                 reg = <0x80000000 0x40000000>; /* 1024 MB */
19         };
20 };
21
22 &dra7_pmx_core {
23         i2c1_pins: pinmux_i2c1_pins {
24                 pinctrl-single,pins = <
25                         0x400 (PIN_INPUT | MUX_MODE0) /* i2c1_sda.i2c1_sda */
26                         0x404 (PIN_INPUT | MUX_MODE0) /* i2c1_scl.i2c1_scl */
27                 >;
28         };
29 };
30
31 &i2c1 {
32         status = "okay";
33         pinctrl-names = "default";
34         pinctrl-0 = <&i2c1_pins>;
35         clock-frequency = <400000>;
36
37         tps65917: tps65917@58 {
38                 compatible = "ti,tps65917";
39                 reg = <0x58>;
40
41                 interrupts = <GIC_SPI 2 IRQ_TYPE_NONE>;  /* IRQ_SYS_1N */
42                 interrupt-parent = <&gic>;
43                 interrupt-controller;
44                 #interrupt-cells = <2>;
45
46                 ti,system-power-controller;
47
48                 tps65917_pmic {
49                         compatible = "ti,tps65917-pmic";
50
51                         regulators {
52                                 smps1_reg: smps1 {
53                                         /* VDD_MPU */
54                                         regulator-name = "smps1";
55                                         regulator-min-microvolt = <850000>;
56                                         regulator-max-microvolt = <1250000>;
57                                         regulator-always-on;
58                                         regulator-boot-on;
59                                 };
60
61                                 smps2_reg: smps2 {
62                                         /* VDD_CORE */
63                                         regulator-name = "smps2";
64                                         regulator-min-microvolt = <850000>;
65                                         regulator-max-microvolt = <1030000>;
66                                         regulator-boot-on;
67                                         regulator-always-on;
68                                 };
69
70                                 smps3_reg: smps3 {
71                                         /* VDD_GPU IVA DSPEVE */
72                                         regulator-name = "smps3";
73                                         regulator-min-microvolt = <850000>;
74                                         regulator-max-microvolt = <1250000>;
75                                         regulator-boot-on;
76                                         regulator-always-on;
77                                 };
78
79                                 smps4_reg: smps4 {
80                                         /* VDDS1V8 */
81                                         regulator-name = "smps4";
82                                         regulator-min-microvolt = <1800000>;
83                                         regulator-max-microvolt = <1800000>;
84                                         regulator-always-on;
85                                         regulator-boot-on;
86                                 };
87
88                                 smps5_reg: smps5 {
89                                         /* VDD_DDR */
90                                         regulator-name = "smps5";
91                                         regulator-min-microvolt = <1350000>;
92                                         regulator-max-microvolt = <1350000>;
93                                         regulator-boot-on;
94                                         regulator-always-on;
95                                 };
96
97                                 ldo1_reg: ldo1 {
98                                         /* LDO1_OUT --> SDIO  */
99                                         regulator-name = "ldo1";
100                                         regulator-min-microvolt = <1800000>;
101                                         regulator-max-microvolt = <3300000>;
102                                         regulator-boot-on;
103                                 };
104
105                                 ldo2_reg: ldo2 {
106                                         /* LDO2_OUT --> TP1017 (UNUSED)  */
107                                         regulator-name = "ldo2";
108                                         regulator-min-microvolt = <1800000>;
109                                         regulator-max-microvolt = <3300000>;
110                                 };
111
112                                 ldo3_reg: ldo3 {
113                                         /* VDDA_1V8_PHY */
114                                         regulator-name = "ldo3";
115                                         regulator-min-microvolt = <1800000>;
116                                         regulator-max-microvolt = <1800000>;
117                                         regulator-boot-on;
118                                         regulator-always-on;
119                                 };
120
121                                 ldo5_reg: ldo5 {
122                                         /* VDDA_1V8_PLL */
123                                         regulator-name = "ldo5";
124                                         regulator-min-microvolt = <1800000>;
125                                         regulator-max-microvolt = <1800000>;
126                                         regulator-always-on;
127                                         regulator-boot-on;
128                                 };
129
130                                 ldo4_reg: ldo4 {
131                                         /* VDDA_3V_USB: VDDA_USBHS33 */
132                                         regulator-name = "ldo4";
133                                         regulator-min-microvolt = <3300000>;
134                                         regulator-max-microvolt = <3300000>;
135                                         regulator-boot-on;
136                                 };
137                         };
138                 };
139         };
140 };
141
142 &uart1 {
143         status = "okay";
144 };