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;
21 vmain: fixedregulator-vmain {
22 compatible = "regulator-fixed";
23 regulator-name = "VMAIN";
24 regulator-min-microvolt = <5000000>;
25 regulator-max-microvolt = <5000000>;
30 v3_3d: fixedregulator-v3_3d {
31 compatible = "regulator-fixed";
32 regulator-name = "V3_3D";
33 vin-supply = <&smps9_reg>;
34 regulator-min-microvolt = <3300000>;
35 regulator-max-microvolt = <3300000>;
40 vtt_fixed: fixedregulator-vtt {
42 compatible = "regulator-fixed";
43 regulator-name = "vtt_fixed";
44 vin-supply = <&v3_3d>;
45 regulator-min-microvolt = <3300000>;
46 regulator-max-microvolt = <3300000>;
54 clock-frequency = <400000>;
56 tps659038: tps659038@58 {
57 compatible = "ti,tps659038";
59 interrupts-extended = <&gpio6 16 IRQ_TYPE_LEVEL_HIGH
60 &dra7_pmx_core 0x418>;
61 #interrupt-cells = <2>;
63 ti,system-power-controller;
66 compatible = "ti,tps659038-pmic";
68 smps12-in-supply = <&vmain>;
69 smps3-in-supply = <&vmain>;
70 smps45-in-supply = <&vmain>;
71 smps6-in-supply = <&vmain>;
72 smps7-in-supply = <&vmain>;
73 smps8-in-supply = <&vmain>;
74 smps9-in-supply = <&vmain>;
75 ldo1-in-supply = <&vmain>;
76 ldo2-in-supply = <&vmain>;
77 ldo3-in-supply = <&vmain>;
78 ldo4-in-supply = <&vmain>;
79 ldo9-in-supply = <&vmain>;
80 ldoln-in-supply = <&vmain>;
81 ldousb-in-supply = <&vmain>;
82 ldortc-in-supply = <&vmain>;
87 regulator-name = "smps12";
88 regulator-min-microvolt = <850000>;
89 regulator-max-microvolt = <1250000>;
95 /* VDD_DDR EMIF1 EMIF2 */
96 regulator-name = "smps3";
97 regulator-min-microvolt = <1350000>;
98 regulator-max-microvolt = <1350000>;
104 /* VDD_DSPEVE on AM572 */
105 /* VDD_IVA + VDD_DSP on AM571 */
106 regulator-name = "smps45";
107 regulator-min-microvolt = <850000>;
108 regulator-max-microvolt = <1250000>;
115 regulator-name = "smps6";
116 regulator-min-microvolt = <850000>;
117 regulator-max-microvolt = <1250000>;
124 regulator-name = "smps7";
125 regulator-min-microvolt = <850000>;
126 regulator-max-microvolt = <1150000>;
132 /* 5728 - VDD_IVAHD */
133 /* 5718 - N.C. test point */
134 regulator-name = "smps8";
139 regulator-name = "smps9";
140 regulator-min-microvolt = <3300000>;
141 regulator-max-microvolt = <3300000>;
147 /* VDDSHV8 - VSDMMC */
148 /* NOTE: on rev 1.3a, data supply */
149 regulator-name = "ldo1";
150 regulator-min-microvolt = <1800000>;
151 regulator-max-microvolt = <3300000>;
158 regulator-name = "ldo2";
159 regulator-min-microvolt = <1800000>;
160 regulator-max-microvolt = <1800000>;
166 /* R1.3a 572x V1_8PHY_LDO3: USB, SATA */
167 regulator-name = "ldo3";
168 regulator-min-microvolt = <1800000>;
169 regulator-max-microvolt = <1800000>;
175 /* R1.3a 572x V1_8PHY_LDO4: PCIE, HDMI*/
176 regulator-name = "ldo4";
177 regulator-min-microvolt = <1800000>;
178 regulator-max-microvolt = <1800000>;
187 regulator-name = "ldo9";
188 regulator-min-microvolt = <840000>;
189 regulator-max-microvolt = <1160000>;
196 regulator-name = "ldoln";
197 regulator-min-microvolt = <1800000>;
198 regulator-max-microvolt = <1800000>;
204 /* VDDA_3V_USB: VDDA_USBHS33 */
205 regulator-name = "ldousb";
206 regulator-min-microvolt = <3300000>;
207 regulator-max-microvolt = <3300000>;
214 regulator-name = "ldortc";
215 regulator-min-microvolt = <1800000>;
216 regulator-max-microvolt = <1800000>;
223 regulator-name = "regen1";
229 /* Needed for PMIC internal resource */
230 regulator-name = "regen2";
237 tps659038_rtc: tps659038_rtc {
238 compatible = "ti,palmas-rtc";
239 interrupt-parent = <&tps659038>;
240 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
244 tps659038_pwr_button: tps659038_pwr_button {
245 compatible = "ti,palmas-pwrbutton";
246 interrupt-parent = <&tps659038>;
247 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
249 ti,palmas-long-press-seconds = <12>;
252 tps659038_gpio: tps659038_gpio {
253 compatible = "ti,palmas-gpio";
262 interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH
263 &dra7_pmx_core 0x248>;
277 phy_id = <&davinci_mdio>, <0>;
279 dual_emac_res_vlan = <1>;
283 phy_id = <&davinci_mdio>, <1>;
285 dual_emac_res_vlan = <2>;
289 phy-supply = <&ldousb_reg>;
293 phy-supply = <&ldousb_reg>;
306 vmmc-supply = <&v3_3d>;
309 max-frequency = <96000000>;
315 spi-max-frequency = <76800000>;
317 compatible = "s25fl256s1", "spi-flash", "jedec,spi-nor";
318 spi-max-frequency = <76800000>;
320 spi-tx-bus-width = <1>;
321 spi-rx-bus-width = <4>;
322 #address-cells = <1>;
325 /* MTD partition table.
326 * The ROM checks the first four physical blocks
327 * for a valid file to boot and the flash here is
332 reg = <0x00000000 0x000040000>;
335 label = "QSPI.u-boot";
336 reg = <0x00040000 0x00100000>;
339 label = "QSPI.u-boot-spl-os";
340 reg = <0x00140000 0x00080000>;
343 label = "QSPI.u-boot-env";
344 reg = <0x001c0000 0x00010000>;
347 label = "QSPI.u-boot-env.backup1";
348 reg = <0x001d0000 0x0010000>;
351 label = "QSPI.kernel";
352 reg = <0x001e0000 0x0800000>;
355 label = "QSPI.file-system";
356 reg = <0x009e0000 0x01620000>;