2019-06-04 11:11:33 +03:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
2013-08-14 17:38:20 +04:00
|
|
|
/*
|
2020-07-08 12:34:51 +03:00
|
|
|
* Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
|
2013-08-14 17:38:20 +04:00
|
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
|
2014-04-29 15:05:10 +04:00
|
|
|
#include "dra74x.dtsi"
|
2017-08-12 07:06:05 +03:00
|
|
|
#include "dra7-evm-common.dtsi"
|
2017-08-16 16:45:01 +03:00
|
|
|
#include "dra74x-mmc-iodelay.dtsi"
|
2013-08-14 17:38:20 +04:00
|
|
|
|
|
|
|
/ {
|
2014-04-29 15:05:10 +04:00
|
|
|
model = "TI DRA742";
|
|
|
|
compatible = "ti,dra7-evm", "ti,dra742", "ti,dra74", "ti,dra7";
|
2013-08-14 17:38:20 +04:00
|
|
|
|
2016-08-31 13:35:37 +03:00
|
|
|
memory@0 {
|
2013-08-14 17:38:20 +04:00
|
|
|
device_type = "memory";
|
2016-02-24 13:11:04 +03:00
|
|
|
reg = <0x0 0x80000000 0x0 0x60000000>; /* 1536 MB */
|
2013-08-14 17:38:20 +04:00
|
|
|
};
|
2013-10-07 20:25:04 +04:00
|
|
|
|
2018-04-27 15:09:00 +03:00
|
|
|
evm_12v0: fixedregulator-evm_12v0 {
|
|
|
|
/* main supply */
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "evm_12v0";
|
|
|
|
regulator-min-microvolt = <12000000>;
|
|
|
|
regulator-max-microvolt = <12000000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
2017-06-07 12:37:46 +03:00
|
|
|
evm_1v8_sw: fixedregulator-evm_1v8 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "evm_1v8";
|
|
|
|
vin-supply = <&smps9_reg>;
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
};
|
|
|
|
|
2020-04-24 18:12:36 +03:00
|
|
|
reserved-memory {
|
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
ipu2_memory_region: ipu2-memory@95800000 {
|
|
|
|
compatible = "shared-dma-pool";
|
|
|
|
reg = <0x0 0x95800000 0x0 0x3800000>;
|
|
|
|
reusable;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
dsp1_memory_region: dsp1-memory@99000000 {
|
|
|
|
compatible = "shared-dma-pool";
|
|
|
|
reg = <0x0 0x99000000 0x0 0x4000000>;
|
|
|
|
reusable;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
ipu1_memory_region: ipu1-memory@9d000000 {
|
|
|
|
compatible = "shared-dma-pool";
|
|
|
|
reg = <0x0 0x9d000000 0x0 0x2000000>;
|
|
|
|
reusable;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
dsp2_memory_region: dsp2-memory@9f000000 {
|
|
|
|
compatible = "shared-dma-pool";
|
|
|
|
reg = <0x0 0x9f000000 0x0 0x800000>;
|
|
|
|
reusable;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-07-30 11:13:35 +03:00
|
|
|
evm_3v3_sd: fixedregulator-sd {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "evm_3v3_sd";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
enable-active-high;
|
|
|
|
gpio = <&pcf_gpio_21 5 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
|
2015-08-24 10:19:59 +03:00
|
|
|
evm_3v3_sw: fixedregulator-evm_3v3_sw {
|
2013-10-07 20:25:04 +04:00
|
|
|
compatible = "regulator-fixed";
|
2015-08-24 10:19:59 +03:00
|
|
|
regulator-name = "evm_3v3_sw";
|
2016-03-03 06:19:48 +03:00
|
|
|
vin-supply = <&sysen1>;
|
2013-10-07 20:25:04 +04:00
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
2014-09-04 17:23:28 +04:00
|
|
|
|
2015-08-24 10:20:00 +03:00
|
|
|
aic_dvdd: fixedregulator-aic_dvdd {
|
|
|
|
/* TPS77018DBVT */
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "aic_dvdd";
|
|
|
|
vin-supply = <&evm_3v3_sw>;
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
};
|
|
|
|
|
2020-01-24 15:11:39 +03:00
|
|
|
vsys_3v3: fixedregulator-vsys3v3 {
|
2018-04-27 15:09:00 +03:00
|
|
|
/* Output of Cntlr A of TPS43351-Q1 on dra7-evm */
|
|
|
|
compatible = "regulator-fixed";
|
2020-01-24 15:11:39 +03:00
|
|
|
regulator-name = "vsys_3v3";
|
2018-04-27 15:09:00 +03:00
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
vin-supply = <&evm_12v0>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
evm_5v0: fixedregulator-evm_5v0 {
|
|
|
|
/* Output of Cntlr B of TPS43351-Q1 on dra7-evm */
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "evm_5v0";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
vin-supply = <&evm_12v0>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
evm_3v6: fixedregulator-evm_3v6 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "evm_3v6";
|
|
|
|
regulator-min-microvolt = <3600000>;
|
|
|
|
regulator-max-microvolt = <3600000>;
|
|
|
|
vin-supply = <&evm_5v0>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
2018-04-27 15:09:01 +03:00
|
|
|
vmmcwl_fixed: fixedregulator-mmcwl {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "vmmcwl_fixed";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
gpio = <&gpio5 8 0>;
|
|
|
|
startup-delay-us = <70000>;
|
|
|
|
enable-active-high;
|
|
|
|
};
|
|
|
|
|
2014-09-04 17:23:28 +04:00
|
|
|
vtt_fixed: fixedregulator-vtt {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "vtt_fixed";
|
|
|
|
regulator-min-microvolt = <1350000>;
|
|
|
|
regulator-max-microvolt = <1350000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
enable-active-high;
|
2016-03-03 06:19:48 +03:00
|
|
|
vin-supply = <&sysen2>;
|
2014-09-04 17:23:28 +04:00
|
|
|
gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
2015-08-24 10:20:02 +03:00
|
|
|
|
2013-08-14 17:38:20 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
&dra7_pmx_core {
|
2014-08-15 17:09:19 +04:00
|
|
|
dcan1_pins_default: dcan1_pins_default {
|
|
|
|
pinctrl-single,pins = <
|
2015-11-13 07:53:59 +03:00
|
|
|
DRA7XX_CORE_IOPAD(0x37d0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */
|
|
|
|
DRA7XX_CORE_IOPAD(0x3818, PULL_UP | MUX_MODE1) /* wakeup0.dcan1_rx */
|
2014-08-15 17:09:19 +04:00
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
dcan1_pins_sleep: dcan1_pins_sleep {
|
|
|
|
pinctrl-single,pins = <
|
2015-11-13 07:53:59 +03:00
|
|
|
DRA7XX_CORE_IOPAD(0x37d0, MUX_MODE15 | PULL_UP) /* dcan1_tx.off */
|
|
|
|
DRA7XX_CORE_IOPAD(0x3818, MUX_MODE15 | PULL_UP) /* wakeup0.off */
|
2014-08-15 17:09:19 +04:00
|
|
|
>;
|
|
|
|
};
|
2013-08-14 17:38:20 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
&i2c1 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <400000>;
|
2013-08-26 09:36:51 +04:00
|
|
|
|
|
|
|
tps659038: tps659038@58 {
|
|
|
|
compatible = "ti,tps659038";
|
|
|
|
reg = <0x58>;
|
2017-04-13 07:51:21 +03:00
|
|
|
ti,palmas-override-powerhold;
|
|
|
|
ti,system-power-controller;
|
2013-08-26 09:36:51 +04:00
|
|
|
|
|
|
|
tps659038_pmic {
|
|
|
|
compatible = "ti,tps659038-pmic";
|
|
|
|
|
|
|
|
regulators {
|
|
|
|
smps123_reg: smps123 {
|
|
|
|
/* VDD_MPU */
|
|
|
|
regulator-name = "smps123";
|
|
|
|
regulator-min-microvolt = < 850000>;
|
|
|
|
regulator-max-microvolt = <1250000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
smps45_reg: smps45 {
|
|
|
|
/* VDD_DSPEVE */
|
|
|
|
regulator-name = "smps45";
|
|
|
|
regulator-min-microvolt = < 850000>;
|
2016-04-20 11:18:39 +03:00
|
|
|
regulator-max-microvolt = <1250000>;
|
2014-10-21 18:38:10 +04:00
|
|
|
regulator-always-on;
|
2013-08-26 09:36:51 +04:00
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
smps6_reg: smps6 {
|
|
|
|
/* VDD_GPU - over VDD_SMPS6 */
|
|
|
|
regulator-name = "smps6";
|
|
|
|
regulator-min-microvolt = <850000>;
|
2014-12-03 15:03:56 +03:00
|
|
|
regulator-max-microvolt = <1250000>;
|
2014-10-21 18:38:10 +04:00
|
|
|
regulator-always-on;
|
2013-08-26 09:36:51 +04:00
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
smps7_reg: smps7 {
|
|
|
|
/* CORE_VDD */
|
|
|
|
regulator-name = "smps7";
|
|
|
|
regulator-min-microvolt = <850000>;
|
2016-04-20 11:18:39 +03:00
|
|
|
regulator-max-microvolt = <1150000>;
|
2013-08-26 09:36:51 +04:00
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
smps8_reg: smps8 {
|
|
|
|
/* VDD_IVAHD */
|
|
|
|
regulator-name = "smps8";
|
|
|
|
regulator-min-microvolt = < 850000>;
|
|
|
|
regulator-max-microvolt = <1250000>;
|
2014-10-21 18:38:10 +04:00
|
|
|
regulator-always-on;
|
2013-08-26 09:36:51 +04:00
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
smps9_reg: smps9 {
|
|
|
|
/* VDDS1V8 */
|
|
|
|
regulator-name = "smps9";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo1_reg: ldo1 {
|
|
|
|
/* LDO1_OUT --> SDIO */
|
|
|
|
regulator-name = "ldo1";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
2015-07-30 11:13:39 +03:00
|
|
|
regulator-always-on;
|
2013-08-26 09:36:51 +04:00
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo2_reg: ldo2 {
|
|
|
|
/* VDD_RTCIO */
|
|
|
|
/* LDO2 -> VDDSHV5, LDO2 also goes to CAN_PHY_3V3 */
|
|
|
|
regulator-name = "ldo2";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
2014-10-21 18:38:10 +04:00
|
|
|
regulator-always-on;
|
2013-08-26 09:36:51 +04:00
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo3_reg: ldo3 {
|
|
|
|
/* VDDA_1V8_PHY */
|
|
|
|
regulator-name = "ldo3";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
2014-07-04 13:55:43 +04:00
|
|
|
regulator-always-on;
|
2013-08-26 09:36:51 +04:00
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo9_reg: ldo9 {
|
|
|
|
/* VDD_RTC */
|
|
|
|
regulator-name = "ldo9";
|
|
|
|
regulator-min-microvolt = <1050000>;
|
|
|
|
regulator-max-microvolt = <1050000>;
|
2014-10-21 18:38:10 +04:00
|
|
|
regulator-always-on;
|
2013-08-26 09:36:51 +04:00
|
|
|
regulator-boot-on;
|
2015-12-14 09:36:57 +03:00
|
|
|
regulator-allow-bypass;
|
2013-08-26 09:36:51 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
ldoln_reg: ldoln {
|
|
|
|
/* VDDA_1V8_PLL */
|
|
|
|
regulator-name = "ldoln";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldousb_reg: ldousb {
|
|
|
|
/* VDDA_3V_USB: VDDA_USBHS33 */
|
|
|
|
regulator-name = "ldousb";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
2016-03-03 06:19:48 +03:00
|
|
|
|
|
|
|
/* REGEN1 is unused */
|
|
|
|
|
|
|
|
regen2: regen2 {
|
|
|
|
/* Needed for PMIC internal resources */
|
|
|
|
regulator-name = "regen2";
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* REGEN3 is unused */
|
|
|
|
|
|
|
|
sysen1: sysen1 {
|
|
|
|
/* PMIC_REGEN_3V3 */
|
|
|
|
regulator-name = "sysen1";
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
sysen2: sysen2 {
|
|
|
|
/* PMIC_REGEN_DDR */
|
|
|
|
regulator-name = "sysen2";
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
2013-08-26 09:36:51 +04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-01-26 15:15:28 +03:00
|
|
|
|
2015-08-27 18:20:45 +03:00
|
|
|
pcf_lcd: gpio@20 {
|
2021-06-01 18:25:45 +03:00
|
|
|
compatible = "nxp,pcf8575";
|
2015-08-27 18:20:45 +03:00
|
|
|
reg = <0x20>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
interrupt-parent = <&gpio6>;
|
|
|
|
interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
|
2015-01-26 15:15:28 +03:00
|
|
|
pcf_gpio_21: gpio@21 {
|
2021-06-01 18:25:45 +03:00
|
|
|
compatible = "nxp,pcf8575";
|
2015-01-26 15:15:28 +03:00
|
|
|
reg = <0x21>;
|
|
|
|
lines-initial-states = <0x1408>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
interrupt-parent = <&gpio6>;
|
|
|
|
interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
|
2015-08-24 10:20:02 +03:00
|
|
|
tlv320aic3106: tlv320aic3106@19 {
|
|
|
|
#sound-dai-cells = <0>;
|
|
|
|
compatible = "ti,tlv320aic3106";
|
|
|
|
reg = <0x19>;
|
|
|
|
adc-settle-ms = <40>;
|
|
|
|
ai3x-micbias-vg = <1>; /* 2.0V */
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
/* Regulators */
|
|
|
|
AVDD-supply = <&evm_3v3_sw>;
|
|
|
|
IOVDD-supply = <&evm_3v3_sw>;
|
|
|
|
DRVDD-supply = <&evm_3v3_sw>;
|
|
|
|
DVDD-supply = <&aic_dvdd>;
|
|
|
|
};
|
2013-08-14 17:38:20 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
&i2c2 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <400000>;
|
2015-08-24 10:20:01 +03:00
|
|
|
|
|
|
|
pcf_hdmi: gpio@26 {
|
2021-06-01 18:25:45 +03:00
|
|
|
compatible = "nxp,pcf8575";
|
2015-08-24 10:20:01 +03:00
|
|
|
reg = <0x26>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
2021-05-21 10:54:06 +03:00
|
|
|
hdmi-audio-hog {
|
2015-08-24 10:20:01 +03:00
|
|
|
/* vin6_sel_s0: high: VIN6, low: audio */
|
|
|
|
gpio-hog;
|
|
|
|
gpios = <1 GPIO_ACTIVE_HIGH>;
|
|
|
|
output-low;
|
|
|
|
line-name = "vin6_sel_s0";
|
|
|
|
};
|
|
|
|
};
|
2013-08-14 17:38:20 +04:00
|
|
|
};
|
|
|
|
|
2013-10-07 20:25:03 +04:00
|
|
|
&mmc1 {
|
|
|
|
status = "okay";
|
2015-07-30 11:13:35 +03:00
|
|
|
vmmc-supply = <&evm_3v3_sd>;
|
2017-06-09 15:08:18 +03:00
|
|
|
vqmmc-supply = <&ldo1_reg>;
|
2013-10-07 20:25:03 +04:00
|
|
|
bus-width = <4>;
|
2015-07-30 11:13:37 +03:00
|
|
|
/*
|
|
|
|
* SDCD signal is not being used here - using the fact that GPIO mode
|
|
|
|
* is always hardwired.
|
|
|
|
*/
|
2015-10-12 12:07:12 +03:00
|
|
|
cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>;
|
2017-08-16 16:45:01 +03:00
|
|
|
pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50-rev11", "sdr104-rev11", "ddr50", "sdr104";
|
|
|
|
pinctrl-0 = <&mmc1_pins_default>;
|
|
|
|
pinctrl-1 = <&mmc1_pins_hs>;
|
|
|
|
pinctrl-2 = <&mmc1_pins_sdr12>;
|
|
|
|
pinctrl-3 = <&mmc1_pins_sdr25>;
|
|
|
|
pinctrl-4 = <&mmc1_pins_sdr50>;
|
|
|
|
pinctrl-5 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr_rev11_conf>;
|
|
|
|
pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev11_conf>;
|
|
|
|
pinctrl-7 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr_rev20_conf>;
|
|
|
|
pinctrl-8 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>;
|
2013-10-07 20:25:03 +04:00
|
|
|
};
|
2013-10-07 20:25:04 +04:00
|
|
|
|
|
|
|
&mmc2 {
|
|
|
|
status = "okay";
|
2017-06-07 12:37:46 +03:00
|
|
|
vmmc-supply = <&evm_1v8_sw>;
|
2018-02-06 15:57:59 +03:00
|
|
|
vqmmc-supply = <&evm_1v8_sw>;
|
2013-10-07 20:25:04 +04:00
|
|
|
bus-width = <8>;
|
2018-04-27 15:09:03 +03:00
|
|
|
non-removable;
|
2017-08-16 16:45:01 +03:00
|
|
|
pinctrl-names = "default", "hs", "ddr_1_8v-rev11", "ddr_1_8v", "hs200_1_8v-rev11", "hs200_1_8v";
|
|
|
|
pinctrl-0 = <&mmc2_pins_default>;
|
|
|
|
pinctrl-1 = <&mmc2_pins_hs>;
|
|
|
|
pinctrl-2 = <&mmc2_pins_ddr_1_8v_rev11 &mmc2_iodelay_ddr_1_8v_rev11_conf>;
|
|
|
|
pinctrl-3 = <&mmc2_pins_ddr_rev20>;
|
|
|
|
pinctrl-4 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_rev11_conf>;
|
|
|
|
pinctrl-5 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_rev20_conf>;
|
2013-10-07 20:25:04 +04:00
|
|
|
};
|
2013-10-16 19:39:05 +04:00
|
|
|
|
2018-04-27 15:09:01 +03:00
|
|
|
&mmc4 {
|
|
|
|
status = "okay";
|
|
|
|
vmmc-supply = <&evm_3v6>;
|
|
|
|
vqmmc-supply = <&vmmcwl_fixed>;
|
|
|
|
pinctrl-names = "default-rev11", "default", "hs-rev11", "hs", "sdr12-rev11", "sdr12", "sdr25-rev11", "sdr25";
|
|
|
|
pinctrl-0 = <&mmc4_pins_default &mmc4_iodelay_ds_rev11_conf>;
|
|
|
|
pinctrl-1 = <&mmc4_pins_default &mmc4_iodelay_ds_rev20_conf>;
|
|
|
|
pinctrl-2 = <&mmc4_pins_hs &mmc4_iodelay_sdr12_hs_sdr25_rev11_conf>;
|
|
|
|
pinctrl-3 = <&mmc4_pins_hs &mmc4_iodelay_sdr12_hs_sdr25_rev20_conf>;
|
|
|
|
pinctrl-4 = <&mmc4_pins_sdr12 &mmc4_iodelay_sdr12_hs_sdr25_rev11_conf>;
|
|
|
|
pinctrl-5 = <&mmc4_pins_sdr12 &mmc4_iodelay_sdr12_hs_sdr25_rev20_conf>;
|
|
|
|
pinctrl-6 = <&mmc4_pins_sdr25 &mmc4_iodelay_sdr12_hs_sdr25_rev11_conf>;
|
|
|
|
pinctrl-7 = <&mmc4_pins_sdr25 &mmc4_iodelay_sdr12_hs_sdr25_rev20_conf>;
|
|
|
|
};
|
|
|
|
|
2013-10-16 19:39:05 +04:00
|
|
|
&cpu0 {
|
2017-12-19 18:24:23 +03:00
|
|
|
vdd-supply = <&smps123_reg>;
|
2013-10-16 19:39:05 +04:00
|
|
|
};
|
2014-05-06 15:07:24 +04:00
|
|
|
|
2014-05-19 13:15:47 +04:00
|
|
|
&elm {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpmc {
|
2016-12-13 14:29:45 +03:00
|
|
|
/*
|
|
|
|
* For the existing IOdelay configuration via U-Boot we don't
|
|
|
|
* support NAND on dra7-evm. Keep it disabled. Enabling it
|
|
|
|
* requires a different configuration by U-Boot.
|
|
|
|
*/
|
|
|
|
status = "disabled";
|
2016-02-23 19:37:17 +03:00
|
|
|
ranges = <0 0 0x08000000 0x01000000>; /* minimum GPMC partition = 16MB */
|
2014-05-19 13:15:47 +04:00
|
|
|
nand@0,0 {
|
2016-02-23 19:37:17 +03:00
|
|
|
compatible = "ti,omap2-nand";
|
2014-05-19 13:15:47 +04:00
|
|
|
reg = <0 0 4>; /* device IO registers */
|
2016-02-23 19:37:17 +03:00
|
|
|
interrupt-parent = <&gpmc>;
|
|
|
|
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
|
|
|
|
<1 IRQ_TYPE_NONE>; /* termcount */
|
2016-04-07 13:25:37 +03:00
|
|
|
rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 pin */
|
2017-07-26 05:15:52 +03:00
|
|
|
ti,nand-xfer-type = "prefetch-dma";
|
2014-05-19 13:15:47 +04:00
|
|
|
ti,nand-ecc-opt = "bch8";
|
|
|
|
ti,elm-id = <&elm>;
|
|
|
|
nand-bus-width = <16>;
|
|
|
|
gpmc,device-width = <2>;
|
|
|
|
gpmc,sync-clk-ps = <0>;
|
|
|
|
gpmc,cs-on-ns = <0>;
|
2014-09-10 19:57:11 +04:00
|
|
|
gpmc,cs-rd-off-ns = <80>;
|
|
|
|
gpmc,cs-wr-off-ns = <80>;
|
2014-05-19 13:15:47 +04:00
|
|
|
gpmc,adv-on-ns = <0>;
|
2014-09-10 19:57:11 +04:00
|
|
|
gpmc,adv-rd-off-ns = <60>;
|
|
|
|
gpmc,adv-wr-off-ns = <60>;
|
|
|
|
gpmc,we-on-ns = <10>;
|
|
|
|
gpmc,we-off-ns = <50>;
|
|
|
|
gpmc,oe-on-ns = <4>;
|
|
|
|
gpmc,oe-off-ns = <40>;
|
|
|
|
gpmc,access-ns = <40>;
|
|
|
|
gpmc,wr-access-ns = <80>;
|
|
|
|
gpmc,rd-cycle-ns = <80>;
|
|
|
|
gpmc,wr-cycle-ns = <80>;
|
2014-05-19 13:15:47 +04:00
|
|
|
gpmc,bus-turnaround-ns = <0>;
|
|
|
|
gpmc,cycle2cycle-delay-ns = <0>;
|
|
|
|
gpmc,clk-activation-ns = <0>;
|
|
|
|
gpmc,wr-data-mux-bus-ns = <0>;
|
|
|
|
/* MTD partition table */
|
|
|
|
/* All SPL-* partitions are sized to minimal length
|
|
|
|
* which can be independently programmable. For
|
|
|
|
* NAND flash this is equal to size of erase-block */
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
partition@0 {
|
|
|
|
label = "NAND.SPL";
|
|
|
|
reg = <0x00000000 0x000020000>;
|
|
|
|
};
|
|
|
|
partition@1 {
|
|
|
|
label = "NAND.SPL.backup1";
|
|
|
|
reg = <0x00020000 0x00020000>;
|
|
|
|
};
|
|
|
|
partition@2 {
|
|
|
|
label = "NAND.SPL.backup2";
|
|
|
|
reg = <0x00040000 0x00020000>;
|
|
|
|
};
|
|
|
|
partition@3 {
|
|
|
|
label = "NAND.SPL.backup3";
|
|
|
|
reg = <0x00060000 0x00020000>;
|
|
|
|
};
|
|
|
|
partition@4 {
|
|
|
|
label = "NAND.u-boot-spl-os";
|
|
|
|
reg = <0x00080000 0x00040000>;
|
|
|
|
};
|
|
|
|
partition@5 {
|
|
|
|
label = "NAND.u-boot";
|
|
|
|
reg = <0x000c0000 0x00100000>;
|
|
|
|
};
|
|
|
|
partition@6 {
|
|
|
|
label = "NAND.u-boot-env";
|
|
|
|
reg = <0x001c0000 0x00020000>;
|
|
|
|
};
|
|
|
|
partition@7 {
|
2014-09-03 15:17:32 +04:00
|
|
|
label = "NAND.u-boot-env.backup1";
|
2014-05-19 13:15:47 +04:00
|
|
|
reg = <0x001e0000 0x00020000>;
|
|
|
|
};
|
|
|
|
partition@8 {
|
|
|
|
label = "NAND.kernel";
|
|
|
|
reg = <0x00200000 0x00800000>;
|
|
|
|
};
|
|
|
|
partition@9 {
|
|
|
|
label = "NAND.file-system";
|
|
|
|
reg = <0x00a00000 0x0f600000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2014-06-30 15:00:38 +04:00
|
|
|
|
|
|
|
&usb2_phy1 {
|
|
|
|
phy-supply = <&ldousb_reg>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb2_phy2 {
|
|
|
|
phy-supply = <&ldousb_reg>;
|
|
|
|
};
|
2014-09-04 17:23:28 +04:00
|
|
|
|
2019-07-22 13:44:47 +03:00
|
|
|
&gpio7_target {
|
2014-09-04 17:23:28 +04:00
|
|
|
ti,no-reset-on-init;
|
|
|
|
ti,no-idle-on-init;
|
|
|
|
};
|
2014-10-21 14:01:01 +04:00
|
|
|
|
2020-09-07 23:21:23 +03:00
|
|
|
&mac_sw {
|
2014-10-21 14:01:01 +04:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2020-09-07 23:21:23 +03:00
|
|
|
&cpsw_port1 {
|
2018-09-11 01:57:50 +03:00
|
|
|
phy-handle = <ðphy0>;
|
2014-10-21 14:01:01 +04:00
|
|
|
phy-mode = "rgmii";
|
2020-09-07 23:21:23 +03:00
|
|
|
ti,dual-emac-pvid = <1>;
|
2014-10-21 14:01:01 +04:00
|
|
|
};
|
|
|
|
|
2020-09-07 23:21:23 +03:00
|
|
|
&cpsw_port2 {
|
2018-09-11 01:57:50 +03:00
|
|
|
phy-handle = <ðphy1>;
|
2014-10-21 14:01:01 +04:00
|
|
|
phy-mode = "rgmii";
|
2020-09-07 23:21:23 +03:00
|
|
|
ti,dual-emac-pvid = <2>;
|
2014-10-21 14:01:01 +04:00
|
|
|
};
|
|
|
|
|
2020-09-07 23:21:23 +03:00
|
|
|
&davinci_mdio_sw {
|
2018-09-11 01:57:50 +03:00
|
|
|
ethphy0: ethernet-phy@2 {
|
|
|
|
reg = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ethphy1: ethernet-phy@3 {
|
|
|
|
reg = <3>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-08-15 17:09:19 +04:00
|
|
|
&dcan1 {
|
2020-08-30 22:48:41 +03:00
|
|
|
status = "okay";
|
2015-07-07 17:27:57 +03:00
|
|
|
pinctrl-names = "default", "sleep", "active";
|
|
|
|
pinctrl-0 = <&dcan1_pins_sleep>;
|
2014-08-15 17:09:19 +04:00
|
|
|
pinctrl-1 = <&dcan1_pins_sleep>;
|
2015-07-07 17:27:57 +03:00
|
|
|
pinctrl-2 = <&dcan1_pins_default>;
|
2014-08-15 17:09:19 +04:00
|
|
|
};
|
2020-04-24 18:12:36 +03:00
|
|
|
|
|
|
|
&ipu2 {
|
|
|
|
status = "okay";
|
|
|
|
memory-region = <&ipu2_memory_region>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&ipu1 {
|
|
|
|
status = "okay";
|
|
|
|
memory-region = <&ipu1_memory_region>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&dsp1 {
|
|
|
|
status = "okay";
|
|
|
|
memory-region = <&dsp1_memory_region>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&dsp2 {
|
|
|
|
status = "okay";
|
|
|
|
memory-region = <&dsp2_memory_region>;
|
|
|
|
};
|