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>;
49 compatible = "gpio-leds";
52 gpios = <&tpic2810 0 GPIO_ACTIVE_HIGH>;
53 default-state = "off";
58 gpios = <&tpic2810 1 GPIO_ACTIVE_HIGH>;
59 default-state = "off";
64 gpios = <&tpic2810 2 GPIO_ACTIVE_HIGH>;
65 default-state = "off";
70 gpios = <&tpic2810 3 GPIO_ACTIVE_HIGH>;
71 default-state = "off";
76 gpios = <&tpic2810 4 GPIO_ACTIVE_HIGH>;
77 default-state = "off";
82 gpios = <&tpic2810 5 GPIO_ACTIVE_HIGH>;
83 default-state = "off";
88 gpios = <&tpic2810 6 GPIO_ACTIVE_HIGH>;
89 default-state = "off";
94 gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>;
95 default-state = "off";
102 clock-frequency = <400000>;
104 tps659038: tps659038@58 {
105 compatible = "ti,tps659038";
107 interrupts-extended = <&gpio6 16 IRQ_TYPE_LEVEL_HIGH
108 &dra7_pmx_core 0x418>;
109 #interrupt-cells = <2>;
110 interrupt-controller;
111 ti,system-power-controller;
112 ti,palmas-override-powerhold;
115 compatible = "ti,tps659038-pmic";
117 smps12-in-supply = <&vmain>;
118 smps3-in-supply = <&vmain>;
119 smps45-in-supply = <&vmain>;
120 smps6-in-supply = <&vmain>;
121 smps7-in-supply = <&vmain>;
122 smps8-in-supply = <&vmain>;
123 smps9-in-supply = <&vmain>;
124 ldo1-in-supply = <&vmain>;
125 ldo2-in-supply = <&vmain>;
126 ldo3-in-supply = <&vmain>;
127 ldo4-in-supply = <&vmain>;
128 ldo9-in-supply = <&vmain>;
129 ldoln-in-supply = <&vmain>;
130 ldousb-in-supply = <&vmain>;
131 ldortc-in-supply = <&vmain>;
136 regulator-name = "smps12";
137 regulator-min-microvolt = <850000>;
138 regulator-max-microvolt = <1250000>;
144 /* VDD_DDR EMIF1 EMIF2 */
145 regulator-name = "smps3";
146 regulator-min-microvolt = <1350000>;
147 regulator-max-microvolt = <1350000>;
153 /* VDD_DSPEVE on AM572 */
154 /* VDD_IVA + VDD_DSP on AM571 */
155 regulator-name = "smps45";
156 regulator-min-microvolt = <850000>;
157 regulator-max-microvolt = <1250000>;
164 regulator-name = "smps6";
165 regulator-min-microvolt = <850000>;
166 regulator-max-microvolt = <1250000>;
173 regulator-name = "smps7";
174 regulator-min-microvolt = <850000>;
175 regulator-max-microvolt = <1150000>;
181 /* 5728 - VDD_IVAHD */
182 /* 5718 - N.C. test point */
183 regulator-name = "smps8";
188 regulator-name = "smps9";
189 regulator-min-microvolt = <3300000>;
190 regulator-max-microvolt = <3300000>;
196 /* VDDSHV8 - VSDMMC */
197 /* NOTE: on rev 1.3a, data supply */
198 regulator-name = "ldo1";
199 regulator-min-microvolt = <1800000>;
200 regulator-max-microvolt = <3300000>;
207 regulator-name = "ldo2";
208 regulator-min-microvolt = <1800000>;
209 regulator-max-microvolt = <1800000>;
215 /* R1.3a 572x V1_8PHY_LDO3: USB, SATA */
216 regulator-name = "ldo3";
217 regulator-min-microvolt = <1800000>;
218 regulator-max-microvolt = <1800000>;
224 /* R1.3a 572x V1_8PHY_LDO4: PCIE, HDMI*/
225 regulator-name = "ldo4";
226 regulator-min-microvolt = <1800000>;
227 regulator-max-microvolt = <1800000>;
236 regulator-name = "ldo9";
237 regulator-min-microvolt = <840000>;
238 regulator-max-microvolt = <1160000>;
245 regulator-name = "ldoln";
246 regulator-min-microvolt = <1800000>;
247 regulator-max-microvolt = <1800000>;
253 /* VDDA_3V_USB: VDDA_USBHS33 */
254 regulator-name = "ldousb";
255 regulator-min-microvolt = <3300000>;
256 regulator-max-microvolt = <3300000>;
263 regulator-name = "ldortc";
264 regulator-min-microvolt = <1800000>;
265 regulator-max-microvolt = <1800000>;
272 regulator-name = "regen1";
278 /* Needed for PMIC internal resource */
279 regulator-name = "regen2";
286 tps659038_rtc: tps659038_rtc {
287 compatible = "ti,palmas-rtc";
288 interrupt-parent = <&tps659038>;
289 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
293 tps659038_pwr_button: tps659038_pwr_button {
294 compatible = "ti,palmas-pwrbutton";
295 interrupt-parent = <&tps659038>;
296 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
298 ti,palmas-long-press-seconds = <12>;
301 tps659038_gpio: tps659038_gpio {
302 compatible = "ti,palmas-gpio";
307 extcon_usb2: tps659038_usb {
308 compatible = "ti,palmas-usb-vid";
309 ti,enable-vbus-detection;
310 ti,enable-id-detection;
311 /* ID & VBUS GPIOs provided in board dts */
318 ti,pindir-d0-out-d1-in;
320 sn65hvs882: sn65hvs882@0 {
321 compatible = "pisosr-gpio";
326 spi-max-frequency = <1000000>;
330 tpic2810: tpic2810@60 {
331 compatible = "ti,tpic2810";
340 interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH
341 &dra7_pmx_core 0x248>;
355 phy_id = <&davinci_mdio>, <0>;
357 dual_emac_res_vlan = <1>;
361 phy_id = <&davinci_mdio>, <1>;
363 dual_emac_res_vlan = <2>;
367 phy-supply = <&ldousb_reg>;
371 phy-supply = <&ldousb_reg>;
379 dr_mode = "peripheral";
384 vmmc-supply = <&v3_3d>;
387 max-frequency = <96000000>;
393 spi-max-frequency = <76800000>;
395 compatible = "s25fl256s1", "jedec,spi-nor";
396 spi-max-frequency = <76800000>;
398 spi-tx-bus-width = <1>;
399 spi-rx-bus-width = <4>;
400 #address-cells = <1>;
403 /* MTD partition table.
404 * The ROM checks the first four physical blocks
405 * for a valid file to boot and the flash here is
410 reg = <0x00000000 0x000040000>;
413 label = "QSPI.u-boot";
414 reg = <0x00040000 0x00100000>;
417 label = "QSPI.u-boot-spl-os";
418 reg = <0x00140000 0x00080000>;
421 label = "QSPI.u-boot-env";
422 reg = <0x001c0000 0x00010000>;
425 label = "QSPI.u-boot-env.backup1";
426 reg = <0x001d0000 0x0010000>;
429 label = "QSPI.kernel";
430 reg = <0x001e0000 0x0800000>;
433 label = "QSPI.file-system";
434 reg = <0x009e0000 0x01620000>;