Merge branch 'queue' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target...
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / da850-evm.dts
1 /*
2  * Device Tree for DA850 EVM board
3  *
4  * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
5  *
6  * This program is free software; you can redistribute  it and/or modify it
7  * under  the terms of  the GNU General  Public License as published by the
8  * Free Software Foundation, version 2.
9  */
10 /dts-v1/;
11 /include/ "da850.dtsi"
12
13 / {
14         compatible = "ti,da850-evm", "ti,da850";
15         model = "DA850/AM1808/OMAP-L138 EVM";
16
17         soc {
18                 pmx_core: pinmux@1c14120 {
19                         status = "okay";
20                 };
21                 serial0: serial@1c42000 {
22                         status = "okay";
23                 };
24                 serial1: serial@1d0c000 {
25                         status = "okay";
26                 };
27                 serial2: serial@1d0d000 {
28                         status = "okay";
29                 };
30                 rtc0: rtc@1c23000 {
31                         status = "okay";
32                 };
33                 i2c0: i2c@1c22000 {
34                         status = "okay";
35                         clock-frequency = <100000>;
36                         pinctrl-names = "default";
37                         pinctrl-0 = <&i2c0_pins>;
38
39                         tps: tps@48 {
40                                 reg = <0x48>;
41                         };
42                 };
43                 wdt: wdt@1c21000 {
44                         status = "okay";
45                 };
46                 mmc0: mmc@1c40000 {
47                         max-frequency = <50000000>;
48                         bus-width = <4>;
49                         status = "okay";
50                         pinctrl-names = "default";
51                         pinctrl-0 = <&mmc0_pins>;
52                 };
53                 spi1: spi@1f0e000 {
54                         status = "okay";
55                         pinctrl-names = "default";
56                         pinctrl-0 = <&spi1_pins &spi1_cs0_pin>;
57                         flash: m25p80@0 {
58                                 #address-cells = <1>;
59                                 #size-cells = <1>;
60                                 compatible = "m25p64";
61                                 spi-max-frequency = <30000000>;
62                                 reg = <0>;
63                                 partition@0 {
64                                         label = "U-Boot-SPL";
65                                         reg = <0x00000000 0x00010000>;
66                                         read-only;
67                                 };
68                                 partition@1 {
69                                         label = "U-Boot";
70                                         reg = <0x00010000 0x00080000>;
71                                         read-only;
72                                 };
73                                 partition@2 {
74                                         label = "U-Boot-Env";
75                                         reg = <0x00090000 0x00010000>;
76                                         read-only;
77                                 };
78                                 partition@3 {
79                                         label = "Kernel";
80                                         reg = <0x000a0000 0x00280000>;
81                                 };
82                                 partition@4 {
83                                         label = "Filesystem";
84                                         reg = <0x00320000 0x00400000>;
85                                 };
86                                 partition@5 {
87                                         label = "MAC-Address";
88                                         reg = <0x007f0000 0x00010000>;
89                                         read-only;
90                                 };
91                         };
92                 };
93         };
94         nand_cs3@62000000 {
95                 status = "okay";
96                 pinctrl-names = "default";
97                 pinctrl-0 = <&nand_cs3_pins>;
98         };
99         vbat: fixedregulator@0 {
100                 compatible = "regulator-fixed";
101                 regulator-name = "vbat";
102                 regulator-min-microvolt = <5000000>;
103                 regulator-max-microvolt = <5000000>;
104                 regulator-boot-on;
105         };
106 };
107
108 /include/ "tps6507x.dtsi"
109
110 &tps {
111         vdcdc1_2-supply = <&vbat>;
112         vdcdc3-supply = <&vbat>;
113         vldo1_2-supply = <&vbat>;
114
115         regulators {
116                 vdcdc1_reg: regulator@0 {
117                         regulator-name = "VDCDC1_3.3V";
118                         regulator-min-microvolt = <3150000>;
119                         regulator-max-microvolt = <3450000>;
120                         regulator-always-on;
121                         regulator-boot-on;
122                 };
123
124                 vdcdc2_reg: regulator@1 {
125                         regulator-name = "VDCDC2_3.3V";
126                         regulator-min-microvolt = <1710000>;
127                         regulator-max-microvolt = <3450000>;
128                         regulator-always-on;
129                         regulator-boot-on;
130                         ti,defdcdc_default = <1>;
131                 };
132
133                 vdcdc3_reg: regulator@2 {
134                         regulator-name = "VDCDC3_1.2V";
135                         regulator-min-microvolt = <950000>;
136                         regulator-max-microvolt = <1350000>;
137                         regulator-always-on;
138                         regulator-boot-on;
139                         ti,defdcdc_default = <1>;
140                 };
141
142                 ldo1_reg: regulator@3 {
143                         regulator-name = "LDO1_1.8V";
144                         regulator-min-microvolt = <1710000>;
145                         regulator-max-microvolt = <1890000>;
146                         regulator-always-on;
147                         regulator-boot-on;
148                 };
149
150                 ldo2_reg: regulator@4 {
151                         regulator-name = "LDO2_1.2V";
152                         regulator-min-microvolt = <1140000>;
153                         regulator-max-microvolt = <1320000>;
154                         regulator-always-on;
155                         regulator-boot-on;
156                 };
157         };
158 };