2 * Copyright (C) 2014-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.
10 #include "dra72x.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/clk/ti-dra7-atl.h>
15 compatible = "ti,dra72-evm", "ti,dra722", "ti,dra72", "ti,dra7";
25 evm_12v0: fixedregulator-evm12v0 {
27 compatible = "regulator-fixed";
28 regulator-name = "evm_12v0";
29 regulator-min-microvolt = <12000000>;
30 regulator-max-microvolt = <12000000>;
35 evm_5v0: fixedregulator-evm5v0 {
36 /* Output 1 of TPS43351QDAPRQ1 on dra72-evm */
37 /* Output 1 of LM5140QRWGTQ1 on dra71-evm */
38 compatible = "regulator-fixed";
39 regulator-name = "evm_5v0";
40 regulator-min-microvolt = <5000000>;
41 regulator-max-microvolt = <5000000>;
42 vin-supply = <&evm_12v0>;
47 evm_3v6: fixedregulator-evm_3v6 {
48 compatible = "regulator-fixed";
49 regulator-name = "evm_3v6";
50 regulator-min-microvolt = <3600000>;
51 regulator-max-microvolt = <3600000>;
52 vin-supply = <&evm_5v0>;
57 vsys_3v3: fixedregulator-vsys3v3 {
58 /* Output 2 of TPS43351QDAPRQ1 on dra72-evm */
59 /* Output 2 of LM5140QRWGTQ1 on dra71-evm */
60 compatible = "regulator-fixed";
61 regulator-name = "vsys_3v3";
62 regulator-min-microvolt = <3300000>;
63 regulator-max-microvolt = <3300000>;
64 vin-supply = <&evm_12v0>;
69 evm_3v3_sw: fixedregulator-evm_3v3 {
71 compatible = "regulator-fixed";
72 regulator-name = "evm_3v3";
73 regulator-min-microvolt = <3300000>;
74 regulator-max-microvolt = <3300000>;
75 vin-supply = <&vsys_3v3>;
80 aic_dvdd: fixedregulator-aic_dvdd {
82 compatible = "regulator-fixed";
83 regulator-name = "aic_dvdd";
84 vin-supply = <&evm_3v3_sw>;
85 regulator-min-microvolt = <1800000>;
86 regulator-max-microvolt = <1800000>;
89 evm_3v3_sd: fixedregulator-sd {
90 compatible = "regulator-fixed";
91 regulator-name = "evm_3v3_sd";
92 regulator-min-microvolt = <3300000>;
93 regulator-max-microvolt = <3300000>;
94 vin-supply = <&evm_3v3_sw>;
96 gpio = <&pcf_gpio_21 5 GPIO_ACTIVE_HIGH>;
99 extcon_usb1: extcon_usb1 {
100 compatible = "linux,extcon-usb-gpio";
101 id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>;
104 extcon_usb2: extcon_usb2 {
105 compatible = "linux,extcon-usb-gpio";
106 id-gpio = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>;
110 compatible = "hdmi-connector";
116 hdmi_connector_in: endpoint {
117 remote-endpoint = <&tpd12s015_out>;
123 compatible = "ti,tpd12s015";
125 gpios = <&pcf_hdmi 4 GPIO_ACTIVE_HIGH>, /* P4, CT CP HPD */
126 <&pcf_hdmi 5 GPIO_ACTIVE_HIGH>, /* P5, LS OE */
127 <&gpio7 12 GPIO_ACTIVE_HIGH>; /* gpio7_12/sp1_cs2, HPD */
130 #address-cells = <1>;
136 tpd12s015_in: endpoint {
137 remote-endpoint = <&hdmi_out>;
144 tpd12s015_out: endpoint {
145 remote-endpoint = <&hdmi_connector_in>;
152 compatible = "simple-audio-card";
153 simple-audio-card,name = "DRA7xx-EVM";
154 simple-audio-card,widgets =
155 "Headphone", "Headphone Jack",
157 "Microphone", "Mic Jack",
159 simple-audio-card,routing =
160 "Headphone Jack", "HPLOUT",
161 "Headphone Jack", "HPROUT",
166 "Mic Jack", "Mic Bias",
169 simple-audio-card,format = "dsp_b";
170 simple-audio-card,bitclock-master = <&sound0_master>;
171 simple-audio-card,frame-master = <&sound0_master>;
172 simple-audio-card,bitclock-inversion;
174 sound0_master: simple-audio-card,cpu {
175 sound-dai = <&mcasp3>;
176 system-clock-frequency = <5644800>;
179 simple-audio-card,codec {
180 sound-dai = <&tlv320aic3106>;
181 clocks = <&atl_clkin2_ck>;
185 vmmcwl_fixed: fixedregulator-mmcwl {
186 compatible = "regulator-fixed";
187 regulator-name = "vmmcwl_fixed";
188 regulator-min-microvolt = <1800000>;
189 regulator-max-microvolt = <1800000>;
190 gpio = <&gpio5 8 GPIO_ACTIVE_HIGH>;
196 dcan1_pins_default: dcan1_pins_default {
197 pinctrl-single,pins = <
198 DRA7XX_CORE_IOPAD(0x37d0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */
199 DRA7XX_CORE_IOPAD(0x3818, PULL_UP | MUX_MODE1) /* wakeup0.dcan1_rx */
203 dcan1_pins_sleep: dcan1_pins_sleep {
204 pinctrl-single,pins = <
205 DRA7XX_CORE_IOPAD(0x37d0, MUX_MODE15 | PULL_UP) /* dcan1_tx.off */
206 DRA7XX_CORE_IOPAD(0x3818, MUX_MODE15 | PULL_UP) /* wakeup0.off */
213 clock-frequency = <400000>;
216 compatible = "nxp,pcf8575";
220 interrupt-controller;
221 #interrupt-cells = <2>;
224 pcf_gpio_21: gpio@21 {
225 compatible = "ti,pcf8575", "nxp,pcf8575";
227 lines-initial-states = <0x1408>;
230 interrupt-controller;
231 #interrupt-cells = <2>;
234 tlv320aic3106: tlv320aic3106@19 {
235 #sound-dai-cells = <0>;
236 compatible = "ti,tlv320aic3106";
238 adc-settle-ms = <40>;
239 ai3x-micbias-vg = <1>; /* 2.0V */
243 AVDD-supply = <&evm_3v3_sw>;
244 IOVDD-supply = <&evm_3v3_sw>;
245 DRVDD-supply = <&evm_3v3_sw>;
246 DVDD-supply = <&aic_dvdd>;
252 clock-frequency = <400000>;
254 pcf_hdmi: pcf8575@26 {
255 compatible = "ti,pcf8575", "nxp,pcf8575";
260 * initial state is used here to keep the mdio interface
261 * selected on RU89 through SEL_VIN4_MUX_S0, VIN2_S1 and
262 * VIN2_S0 driven high otherwise Ethernet stops working
263 * VIN6_SEL_S0 is low, thus selecting McASP3 over VIN6
265 lines-initial-states = <0x0f2b>;
268 /* vin6_sel_s0: high: VIN6, low: audio */
270 gpios = <1 GPIO_ACTIVE_HIGH>;
272 line-name = "vin6_sel_s0";
279 interrupts-extended = <&crossbar_mpu GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
280 <&dra7_pmx_core 0x3e0>;
289 * For the existing IOdelay configuration via U-Boot we don't
290 * support NAND on dra72-evm. Keep it disabled. Enabling it
291 * requires a different configuration by U-Boot.
294 ranges = <0 0 0x08000000 0x01000000>; /* minimum GPMC partition = 16MB */
296 /* To use NAND, DIP switch SW5 must be set like so:
297 * SW5.1 (NAND_SELn) = ON (LOW)
298 * SW5.9 (GPMC_WPN) = OFF (HIGH)
300 compatible = "ti,omap2-nand";
301 reg = <0 0 4>; /* device IO registers */
302 interrupt-parent = <&gpmc>;
303 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
304 <1 IRQ_TYPE_NONE>; /* termcount */
305 rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 pin */
306 ti,nand-xfer-type = "prefetch-dma";
307 ti,nand-ecc-opt = "bch8";
309 nand-bus-width = <16>;
310 gpmc,device-width = <2>;
311 gpmc,sync-clk-ps = <0>;
313 gpmc,cs-rd-off-ns = <80>;
314 gpmc,cs-wr-off-ns = <80>;
315 gpmc,adv-on-ns = <0>;
316 gpmc,adv-rd-off-ns = <60>;
317 gpmc,adv-wr-off-ns = <60>;
318 gpmc,we-on-ns = <10>;
319 gpmc,we-off-ns = <50>;
321 gpmc,oe-off-ns = <40>;
322 gpmc,access-ns = <40>;
323 gpmc,wr-access-ns = <80>;
324 gpmc,rd-cycle-ns = <80>;
325 gpmc,wr-cycle-ns = <80>;
326 gpmc,bus-turnaround-ns = <0>;
327 gpmc,cycle2cycle-delay-ns = <0>;
328 gpmc,clk-activation-ns = <0>;
329 gpmc,wr-data-mux-bus-ns = <0>;
330 /* MTD partition table */
331 /* All SPL-* partitions are sized to minimal length
332 * which can be independently programmable. For
333 * NAND flash this is equal to size of erase-block */
334 #address-cells = <1>;
338 reg = <0x00000000 0x000020000>;
341 label = "NAND.SPL.backup1";
342 reg = <0x00020000 0x00020000>;
345 label = "NAND.SPL.backup2";
346 reg = <0x00040000 0x00020000>;
349 label = "NAND.SPL.backup3";
350 reg = <0x00060000 0x00020000>;
353 label = "NAND.u-boot-spl-os";
354 reg = <0x00080000 0x00040000>;
357 label = "NAND.u-boot";
358 reg = <0x000c0000 0x00100000>;
361 label = "NAND.u-boot-env";
362 reg = <0x001c0000 0x00020000>;
365 label = "NAND.u-boot-env.backup1";
366 reg = <0x001e0000 0x00020000>;
369 label = "NAND.kernel";
370 reg = <0x00200000 0x00800000>;
373 label = "NAND.file-system";
374 reg = <0x00a00000 0x0f600000>;
380 extcon = <&extcon_usb1>;
384 extcon = <&extcon_usb2>;
389 extcon = <&extcon_usb1>;
394 extcon = <&extcon_usb2>;
399 pinctrl-names = "default";
400 pinctrl-0 = <&mmc1_pins_default>;
401 vmmc-supply = <&evm_3v3_sd>;
404 * SDCD signal is not being used here - using the fact that GPIO mode
405 * is a viable alternative
407 cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>;
408 max-frequency = <192000000>;
412 /* SW5-3 in ON position */
414 pinctrl-names = "default";
415 pinctrl-0 = <&mmc2_pins_default>;
418 max-frequency = <192000000>;
423 vmmc-supply = <&evm_3v6>;
424 vqmmc-supply = <&vmmcwl_fixed>;
427 keep-power-in-suspend;
429 pinctrl-names = "default", "hs", "sdr12", "sdr25";
430 pinctrl-0 = <&mmc4_pins_default>;
431 pinctrl-1 = <&mmc4_pins_default>;
432 pinctrl-2 = <&mmc4_pins_default>;
433 pinctrl-3 = <&mmc4_pins_default>;
434 #address-cells = <1>;
437 compatible = "ti,wl1835";
439 interrupt-parent = <&gpio5>;
440 interrupts = <7 IRQ_TYPE_EDGE_RISING>;
450 pinctrl-names = "default", "sleep", "active";
451 pinctrl-0 = <&dcan1_pins_sleep>;
452 pinctrl-1 = <&dcan1_pins_sleep>;
453 pinctrl-2 = <&dcan1_pins_default>;
459 spi-max-frequency = <76800000>;
461 compatible = "s25fl256s1";
462 spi-max-frequency = <76800000>;
464 spi-tx-bus-width = <1>;
465 spi-rx-bus-width = <4>;
466 #address-cells = <1>;
469 /* MTD partition table.
470 * The ROM checks the first four physical blocks
471 * for a valid file to boot and the flash here is
476 reg = <0x00000000 0x000010000>;
479 label = "QSPI.SPL.backup1";
480 reg = <0x00010000 0x00010000>;
483 label = "QSPI.SPL.backup2";
484 reg = <0x00020000 0x00010000>;
487 label = "QSPI.SPL.backup3";
488 reg = <0x00030000 0x00010000>;
491 label = "QSPI.u-boot";
492 reg = <0x00040000 0x00100000>;
495 label = "QSPI.u-boot-spl-os";
496 reg = <0x00140000 0x00080000>;
499 label = "QSPI.u-boot-env";
500 reg = <0x001c0000 0x00010000>;
503 label = "QSPI.u-boot-env.backup1";
504 reg = <0x001d0000 0x0010000>;
507 label = "QSPI.kernel";
508 reg = <0x001e0000 0x0800000>;
511 label = "QSPI.file-system";
512 reg = <0x009e0000 0x01620000>;
526 remote-endpoint = <&tpd12s015_in>;
532 assigned-clocks = <&abe_dpll_sys_clk_mux>,
533 <&atl_clkctrl DRA7_ATL_CLKCTRL 26>,
537 assigned-clock-parents = <&sys_clkin2>, <&dpll_abe_m2_ck>;
538 assigned-clock-rates = <0>, <0>, <180633600>, <361267200>, <5644800>;
543 bws = <DRA7_ATL_WS_MCASP2_FSX>;
544 aws = <DRA7_ATL_WS_MCASP3_FSX>;
549 #sound-dai-cells = <0>;
551 assigned-clocks = <&l4per_clkctrl DRA7_MCASP3_CLKCTRL 24>;
552 assigned-clock-parents = <&atl_clkin2_ck>;
556 op-mode = <0>; /* MCASP_IIS_MODE */
559 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
568 mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
571 mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
578 mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {