2 * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
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.
9 #include "am57xx-industrial-grade.dtsi"
13 rtc0 = &tps659038_rtc;
17 vmain: fixedregulator-vmain {
18 compatible = "regulator-fixed";
19 regulator-name = "VMAIN";
20 regulator-min-microvolt = <5000000>;
21 regulator-max-microvolt = <5000000>;
26 v3_3d: fixedregulator-v3_3d {
27 compatible = "regulator-fixed";
28 regulator-name = "V3_3D";
29 vin-supply = <&smps9_reg>;
30 regulator-min-microvolt = <3300000>;
31 regulator-max-microvolt = <3300000>;
36 vtt_fixed: fixedregulator-vtt {
38 compatible = "regulator-fixed";
39 regulator-name = "vtt_fixed";
40 vin-supply = <&v3_3d>;
41 regulator-min-microvolt = <3300000>;
42 regulator-max-microvolt = <3300000>;
50 clock-frequency = <400000>;
52 tps659038: tps659038@58 {
53 compatible = "ti,tps659038";
55 interrupts-extended = <&gpio6 16 IRQ_TYPE_LEVEL_HIGH
56 &dra7_pmx_core 0x418>;
57 #interrupt-cells = <2>;
59 ti,system-power-controller;
60 ti,palmas-override-powerhold;
63 compatible = "ti,tps659038-pmic";
65 smps12-in-supply = <&vmain>;
66 smps3-in-supply = <&vmain>;
67 smps45-in-supply = <&vmain>;
68 smps6-in-supply = <&vmain>;
69 smps7-in-supply = <&vmain>;
70 smps8-in-supply = <&vmain>;
71 smps9-in-supply = <&vmain>;
72 ldo1-in-supply = <&vmain>;
73 ldo2-in-supply = <&vmain>;
74 ldo3-in-supply = <&vmain>;
75 ldo4-in-supply = <&vmain>;
76 ldo9-in-supply = <&vmain>;
77 ldoln-in-supply = <&vmain>;
78 ldousb-in-supply = <&vmain>;
79 ldortc-in-supply = <&vmain>;
84 regulator-name = "smps12";
85 regulator-min-microvolt = <850000>;
86 regulator-max-microvolt = <1250000>;
92 /* VDD_DDR EMIF1 EMIF2 */
93 regulator-name = "smps3";
94 regulator-min-microvolt = <1350000>;
95 regulator-max-microvolt = <1350000>;
101 /* VDD_DSPEVE on AM572 */
102 /* VDD_IVA + VDD_DSP on AM571 */
103 regulator-name = "smps45";
104 regulator-min-microvolt = <850000>;
105 regulator-max-microvolt = <1250000>;
112 regulator-name = "smps6";
113 regulator-min-microvolt = <850000>;
114 regulator-max-microvolt = <1250000>;
121 regulator-name = "smps7";
122 regulator-min-microvolt = <850000>;
123 regulator-max-microvolt = <1150000>;
129 /* 5728 - VDD_IVAHD */
130 /* 5718 - N.C. test point */
131 regulator-name = "smps8";
136 regulator-name = "smps9";
137 regulator-min-microvolt = <3300000>;
138 regulator-max-microvolt = <3300000>;
144 /* VDDSHV8 - VSDMMC */
145 /* NOTE: on rev 1.3a, data supply */
146 regulator-name = "ldo1";
147 regulator-min-microvolt = <1800000>;
148 regulator-max-microvolt = <3300000>;
155 regulator-name = "ldo2";
156 regulator-min-microvolt = <1800000>;
157 regulator-max-microvolt = <1800000>;
163 /* R1.3a 572x V1_8PHY_LDO3: USB, SATA */
164 regulator-name = "ldo3";
165 regulator-min-microvolt = <1800000>;
166 regulator-max-microvolt = <1800000>;
172 /* R1.3a 572x V1_8PHY_LDO4: PCIE, HDMI*/
173 regulator-name = "ldo4";
174 regulator-min-microvolt = <1800000>;
175 regulator-max-microvolt = <1800000>;
184 regulator-name = "ldo9";
185 regulator-min-microvolt = <840000>;
186 regulator-max-microvolt = <1160000>;
193 regulator-name = "ldoln";
194 regulator-min-microvolt = <1800000>;
195 regulator-max-microvolt = <1800000>;
201 /* VDDA_3V_USB: VDDA_USBHS33 */
202 regulator-name = "ldousb";
203 regulator-min-microvolt = <3300000>;
204 regulator-max-microvolt = <3300000>;
211 regulator-name = "ldortc";
212 regulator-min-microvolt = <1800000>;
213 regulator-max-microvolt = <1800000>;
220 regulator-name = "regen1";
226 /* Needed for PMIC internal resource */
227 regulator-name = "regen2";
234 tps659038_rtc: tps659038_rtc {
235 compatible = "ti,palmas-rtc";
236 interrupt-parent = <&tps659038>;
237 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
241 tps659038_pwr_button: tps659038_pwr_button {
242 compatible = "ti,palmas-pwrbutton";
243 interrupt-parent = <&tps659038>;
244 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
246 ti,palmas-long-press-seconds = <12>;
249 tps659038_gpio: tps659038_gpio {
250 compatible = "ti,palmas-gpio";
259 interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH
260 &dra7_pmx_core 0x248>;
274 phy_id = <&davinci_mdio>, <0>;
276 dual_emac_res_vlan = <1>;
280 phy_id = <&davinci_mdio>, <1>;
282 dual_emac_res_vlan = <2>;
286 phy-supply = <&ldousb_reg>;
290 phy-supply = <&ldousb_reg>;
298 dr_mode = "peripheral";
303 vmmc-supply = <&v3_3d>;
306 max-frequency = <96000000>;
312 spi-max-frequency = <76800000>;
314 compatible = "s25fl256s1", "jedec,spi-nor";
315 spi-max-frequency = <76800000>;
317 spi-tx-bus-width = <1>;
318 spi-rx-bus-width = <4>;
319 #address-cells = <1>;
322 /* MTD partition table.
323 * The ROM checks the first four physical blocks
324 * for a valid file to boot and the flash here is
329 reg = <0x00000000 0x000040000>;
332 label = "QSPI.u-boot";
333 reg = <0x00040000 0x00100000>;
336 label = "QSPI.u-boot-spl-os";
337 reg = <0x00140000 0x00080000>;
340 label = "QSPI.u-boot-env";
341 reg = <0x001c0000 0x00010000>;
344 label = "QSPI.u-boot-env.backup1";
345 reg = <0x001d0000 0x0010000>;
348 label = "QSPI.kernel";
349 reg = <0x001e0000 0x0800000>;
352 label = "QSPI.file-system";
353 reg = <0x009e0000 0x01620000>;