Sync all dra7* specific dts files with the upstream kernel including changes queued for 4.14 https://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git/log/?h=omap-for-v4.14/dt-v3 Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>master
parent
911d76c417
commit
4ddaa6ce28
@ -0,0 +1,39 @@ |
||||
/* |
||||
* Copyright (C) 2014-2017 Texas Instruments Incorporated - http://www.ti.com/ |
||||
* |
||||
* This program is free software; you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License version 2 as |
||||
* published by the Free Software Foundation. |
||||
*/ |
||||
|
||||
#include "am57xx-beagle-x15-common.dtsi" |
||||
|
||||
/ { |
||||
model = "TI AM5728 BeagleBoard-X15 rev C"; |
||||
}; |
||||
|
||||
&tpd12s015 { |
||||
gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>, /* gpio7_10, CT CP HPD */ |
||||
<&gpio2 30 GPIO_ACTIVE_HIGH>, /* gpio2_30, LS OE */ |
||||
<&gpio7 12 GPIO_ACTIVE_HIGH>; /* gpio7_12/sp1_cs2, HPD */ |
||||
}; |
||||
|
||||
&mmc1 { |
||||
pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "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_rev20_conf>; |
||||
pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>; |
||||
vmmc-supply = <&vdd_3v3>; |
||||
vqmmc-supply = <&ldo1_reg>; |
||||
}; |
||||
|
||||
&mmc2 { |
||||
pinctrl-names = "default", "hs", "ddr_1_8v"; |
||||
pinctrl-0 = <&mmc2_pins_default>; |
||||
pinctrl-1 = <&mmc2_pins_hs>; |
||||
pinctrl-2 = <&mmc2_pins_ddr_rev20>; |
||||
}; |
@ -0,0 +1,617 @@ |
||||
/* |
||||
* Support for CompuLab CL-SOM-AM57x System-on-Module |
||||
* |
||||
* Copyright (C) 2015 CompuLab Ltd. - http://www.compulab.co.il/ |
||||
* Author: Dmitry Lifshitz <lifshitz@compulab.co.il> |
||||
* |
||||
* This program is free software; you can redistribute it and/or modify it |
||||
* under the terms of the GNU General Public License version 2 as published by |
||||
* the Free Software Foundation. |
||||
*/ |
||||
|
||||
/dts-v1/; |
||||
|
||||
#include <dt-bindings/gpio/gpio.h> |
||||
#include <dt-bindings/interrupt-controller/irq.h> |
||||
#include "dra74x.dtsi" |
||||
|
||||
/ { |
||||
model = "CompuLab CL-SOM-AM57x"; |
||||
compatible = "compulab,cl-som-am57x", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7"; |
||||
|
||||
memory@0 { |
||||
device_type = "memory"; |
||||
reg = <0x0 0x80000000 0x0 0x20000000>; /* 512 MB - minimal configuration */ |
||||
}; |
||||
|
||||
leds { |
||||
compatible = "gpio-leds"; |
||||
pinctrl-names = "default"; |
||||
pinctrl-0 = <&leds_pins_default>; |
||||
|
||||
led0 { |
||||
label = "cl-som-am57x:green"; |
||||
gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; |
||||
linux,default-trigger = "heartbeat"; |
||||
default-state = "off"; |
||||
}; |
||||
}; |
||||
|
||||
vdd_3v3: fixedregulator-vdd_3v3 { |
||||
compatible = "regulator-fixed"; |
||||
regulator-name = "vdd_3v3"; |
||||
regulator-min-microvolt = <3300000>; |
||||
regulator-max-microvolt = <3300000>; |
||||
}; |
||||
|
||||
ads7846reg: fixedregulator-ads7846-reg { |
||||
compatible = "regulator-fixed"; |
||||
regulator-name = "ads7846-reg"; |
||||
regulator-min-microvolt = <3300000>; |
||||
regulator-max-microvolt = <3300000>; |
||||
}; |
||||
|
||||
sound0: sound0 { |
||||
compatible = "simple-audio-card"; |
||||
simple-audio-card,name = "CL-SOM-AM57x-Sound-Card"; |
||||
simple-audio-card,format = "i2s"; |
||||
simple-audio-card,bitclock-master = <&dailink0_master>; |
||||
simple-audio-card,frame-master = <&dailink0_master>; |
||||
simple-audio-card,widgets = |
||||
"Headphone", "Headphone Jack", |
||||
"Microphone", "Microphone Jack", |
||||
"Line", "Line Jack"; |
||||
simple-audio-card,routing = |
||||
"Headphone Jack", "RHPOUT", |
||||
"Headphone Jack", "LHPOUT", |
||||
"LLINEIN", "Line Jack", |
||||
"MICIN", "Mic Bias", |
||||
"Mic Bias", "Microphone Jack"; |
||||
|
||||
dailink0_master: simple-audio-card,cpu { |
||||
sound-dai = <&mcasp3>; |
||||
}; |
||||
|
||||
simple-audio-card,codec { |
||||
sound-dai = <&wm8731>; |
||||
system-clock-frequency = <12000000>; |
||||
}; |
||||
}; |
||||
}; |
||||
|
||||
&dra7_pmx_core { |
||||
leds_pins_default: leds_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x347c, PIN_OUTPUT | MUX_MODE14) /* gpmc_a15.gpio2_5 */ |
||||
>; |
||||
}; |
||||
|
||||
i2c1_pins_default: i2c1_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3800, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda.sda */ |
||||
DRA7XX_CORE_IOPAD(0x3804, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl.scl */ |
||||
>; |
||||
}; |
||||
|
||||
i2c3_pins_default: i2c3_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x36a4, PIN_INPUT| MUX_MODE10) /* mcasp1_aclkx.i2c3_sda */ |
||||
DRA7XX_CORE_IOPAD(0x36a8, PIN_INPUT| MUX_MODE10) /* mcasp1_fsx.i2c3_scl */ |
||||
>; |
||||
}; |
||||
|
||||
i2c4_pins_default: i2c4_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x36ac, PIN_INPUT| MUX_MODE10) /* mcasp1_acl.i2c4_sda */ |
||||
DRA7XX_CORE_IOPAD(0x36b0, PIN_INPUT| MUX_MODE10) /* mcasp1_fsr.i2c4_scl */ |
||||
>; |
||||
}; |
||||
|
||||
tps659038_pins_default: tps659038_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3818, PIN_INPUT_PULLUP | MUX_MODE14) /* wakeup0.gpio1_0 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc2_pins_default: mmc2_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */ |
||||
DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ |
||||
DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ |
||||
DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ |
||||
DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ |
||||
DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ |
||||
>; |
||||
}; |
||||
|
||||
qspi1_pins: pinmux_qspi1_pins { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3474, PIN_INPUT | MUX_MODE1) /* gpmc_a13.qspi1_rtclk */ |
||||
DRA7XX_CORE_IOPAD(0x3480, PIN_INPUT | MUX_MODE1) /* gpmc_a16.qspi1_d0 */ |
||||
DRA7XX_CORE_IOPAD(0x3484, PIN_INPUT | MUX_MODE1) /* gpmc_a17.qspi1_d1 */ |
||||
DRA7XX_CORE_IOPAD(0x3488, PIN_INPUT | MUX_MODE1) /* qpmc_a18.qspi1_sclk */ |
||||
DRA7XX_CORE_IOPAD(0x34b8, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs2.qspi1_cs0 */ |
||||
DRA7XX_CORE_IOPAD(0x34bc, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs3.qspi1_cs1 */ |
||||
>; |
||||
}; |
||||
|
||||
cpsw_pins_default: cpsw_pins_default { |
||||
pinctrl-single,pins = < |
||||
/* Slave at addr 0x0 */ |
||||
DRA7XX_CORE_IOPAD(0x3650, PIN_OUTPUT | MUX_MODE0) /* rgmii0_tclk */ |
||||
DRA7XX_CORE_IOPAD(0x3654, PIN_OUTPUT | MUX_MODE0) /* rgmii0_tctl */ |
||||
DRA7XX_CORE_IOPAD(0x3658, PIN_OUTPUT | MUX_MODE0) /* rgmii0_td3 */ |
||||
DRA7XX_CORE_IOPAD(0x365c, PIN_OUTPUT | MUX_MODE0) /* rgmii0_td2 */ |
||||
DRA7XX_CORE_IOPAD(0x3660, PIN_OUTPUT | MUX_MODE0) /* rgmii0_td1 */ |
||||
DRA7XX_CORE_IOPAD(0x3664, PIN_OUTPUT | MUX_MODE0) /* rgmii0_td0 */ |
||||
DRA7XX_CORE_IOPAD(0x3668, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rgmii0_rclk */ |
||||
DRA7XX_CORE_IOPAD(0x366c, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rgmii0_rctl */ |
||||
DRA7XX_CORE_IOPAD(0x3670, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rgmii0_rd3 */ |
||||
DRA7XX_CORE_IOPAD(0x3674, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rgmii0_rd2 */ |
||||
DRA7XX_CORE_IOPAD(0x3678, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rgmii0_rd1 */ |
||||
DRA7XX_CORE_IOPAD(0x367c, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rgmii0_rd0 */ |
||||
|
||||
/* Slave at addr 0x1 */ |
||||
DRA7XX_CORE_IOPAD(0x3598, PIN_OUTPUT | MUX_MODE3) /* vin2a_d12.rgmii1_tclk */ |
||||
DRA7XX_CORE_IOPAD(0x359c, PIN_OUTPUT | MUX_MODE3) /* vin2a_d13.rgmii1_tctl */ |
||||
DRA7XX_CORE_IOPAD(0x35a0, PIN_OUTPUT | MUX_MODE3) /* vin2a_d14.rgmii1_td3 */ |
||||
DRA7XX_CORE_IOPAD(0x35a4, PIN_OUTPUT | MUX_MODE3) /* vin2a_d15.rgmii1_td2 */ |
||||
DRA7XX_CORE_IOPAD(0x35a8, PIN_OUTPUT | MUX_MODE3) /* vin2a_d16.rgmii1_td1 */ |
||||
DRA7XX_CORE_IOPAD(0x35ac, PIN_OUTPUT | MUX_MODE3) /* vin2a_d17.rgmii1_td0 */ |
||||
DRA7XX_CORE_IOPAD(0x35b0, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d18.rgmii1_rclk */ |
||||
DRA7XX_CORE_IOPAD(0x35b4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d19.rgmii1_rctl */ |
||||
DRA7XX_CORE_IOPAD(0x35b8, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d20.rgmii1_rd3 */ |
||||
DRA7XX_CORE_IOPAD(0x35bc, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d21.rgmii1_rd2 */ |
||||
DRA7XX_CORE_IOPAD(0x35c0, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d22.rgmii1_rd1 */ |
||||
DRA7XX_CORE_IOPAD(0x35c4, PIN_INPUT_PULLDOWN | MUX_MODE3) /* vin2a_d23.rgmii1_rd0 */ |
||||
>; |
||||
}; |
||||
|
||||
cpsw_pins_sleep: cpsw_pins_sleep { |
||||
pinctrl-single,pins = < |
||||
/* Slave 1 */ |
||||
DRA7XX_CORE_IOPAD(0x3650, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x3654, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x3658, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x365c, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x3660, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x3664, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x3668, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x366c, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x3670, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x3674, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x3678, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x367c, PIN_INPUT | MUX_MODE15) |
||||
|
||||
/* Slave 2 */ |
||||
DRA7XX_CORE_IOPAD(0x3598, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x359c, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x35a0, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x35a4, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x35a8, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x35ac, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x35b0, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x35b4, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x35b8, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x35bc, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x35c0, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x35c4, PIN_INPUT | MUX_MODE15) |
||||
>; |
||||
}; |
||||
|
||||
davinci_mdio_pins_default: davinci_mdio_pins_default { |
||||
pinctrl-single,pins = < |
||||
/* MDIO */ |
||||
DRA7XX_CORE_IOPAD(0x3590, PIN_OUTPUT_PULLUP | MUX_MODE3)/* vin2a_d10.mdio_mclk */ |
||||
DRA7XX_CORE_IOPAD(0x3594, PIN_INPUT_PULLUP | MUX_MODE3) /* vin2a_d11.mdio_d */ |
||||
>; |
||||
}; |
||||
|
||||
davinci_mdio_pins_sleep: davinci_mdio_pins_sleep { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3590, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x3594, PIN_INPUT | MUX_MODE15) |
||||
>; |
||||
}; |
||||
|
||||
ads7846_pins: pinmux_ads7846_pins { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3464, PIN_INPUT_PULLDOWN | MUX_MODE14) /* gpmc_a9.gpio1_31 */ |
||||
>; |
||||
}; |
||||
|
||||
mcasp3_pins_default: mcasp3_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3724, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mcasp3_aclkx.mcasp3_aclkx */ |
||||
DRA7XX_CORE_IOPAD(0x3728, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mcasp3_fsx.mcasp3_fsx */ |
||||
DRA7XX_CORE_IOPAD(0x372c, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mcasp3_axr0.mcasp3_axr0 */ |
||||
DRA7XX_CORE_IOPAD(0x3730, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mcasp3_axr1.mcasp3_axr1 */ |
||||
>; |
||||
}; |
||||
|
||||
mcasp3_pins_sleep: mcasp3_pins_sleep { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3724, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x3728, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x372c, PIN_INPUT | MUX_MODE15) |
||||
DRA7XX_CORE_IOPAD(0x3730, PIN_INPUT | MUX_MODE15) |
||||
>; |
||||
}; |
||||
}; |
||||
|
||||
&i2c1 { |
||||
status = "okay"; |
||||
pinctrl-names = "default"; |
||||
pinctrl-0 = <&i2c1_pins_default>; |
||||
clock-frequency = <400000>; |
||||
}; |
||||
|
||||
&i2c3 { |
||||
status = "okay"; |
||||
pinctrl-names = "default"; |
||||
pinctrl-0 = <&i2c3_pins_default>; |
||||
clock-frequency = <400000>; |
||||
}; |
||||
|
||||
&i2c4 { |
||||
status = "okay"; |
||||
pinctrl-names = "default"; |
||||
pinctrl-0 = <&i2c4_pins_default>; |
||||
clock-frequency = <400000>; |
||||
|
||||
tps659038: tps659038@58 { |
||||
compatible = "ti,tps659038"; |
||||
reg = <0x58>; |
||||
interrupt-parent = <&gpio1>; |
||||
interrupts = <0 IRQ_TYPE_LEVEL_LOW>; |
||||
|
||||
pinctrl-names = "default"; |
||||
pinctrl-0 = <&tps659038_pins_default>; |
||||
|
||||
#interrupt-cells = <2>; |
||||
interrupt-controller; |
||||
|
||||
ti,system-power-controller; |
||||
|
||||
tps659038_pmic { |
||||
compatible = "ti,tps659038-pmic"; |
||||
|
||||
regulators { |
||||
smps12_reg: smps12 { |
||||
/* VDD_MPU */ |
||||
regulator-name = "smps12"; |
||||
regulator-min-microvolt = < 850000>; |
||||
regulator-max-microvolt = <1250000>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
smps3_reg: smps3 { |
||||
/* VDD_DDR */ |
||||
regulator-name = "smps3"; |
||||
regulator-min-microvolt = <1500000>; |
||||
regulator-max-microvolt = <1500000>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
smps45_reg: smps45 { |
||||
/* VDD_DSPEVE */ |
||||
regulator-name = "smps45"; |
||||
regulator-min-microvolt = < 850000>; |
||||
regulator-max-microvolt = <1250000>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
smps6_reg: smps6 { |
||||
/* VDD_GPU */ |
||||
regulator-name = "smps6"; |
||||
regulator-min-microvolt = < 850000>; |
||||
regulator-max-microvolt = <1250000>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
smps7_reg: smps7 { |
||||
/* VDD_CORE */ |
||||
regulator-name = "smps7"; |
||||
regulator-min-microvolt = < 850000>; |
||||
regulator-max-microvolt = <1160000>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
smps8_reg: smps8 { |
||||
/* VDD_IVA */ |
||||
regulator-name = "smps8"; |
||||
regulator-min-microvolt = < 850000>; |
||||
regulator-max-microvolt = <1250000>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
smps9_reg: smps9 { |
||||
/* PMIC_3V3 */ |
||||
regulator-name = "smps9"; |
||||
regulator-min-microvolt = <3300000>; |
||||
regulator-max-microvolt = <3300000>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
|
||||
ldo1_reg: ldo1 { |
||||
/* VDD_SD / VDDSHV8 */ |
||||
regulator-name = "ldo1"; |
||||
regulator-min-microvolt = <1800000>; |
||||
regulator-max-microvolt = <3300000>; |
||||
regulator-boot-on; |
||||
regulator-always-on; |
||||
}; |
||||
|
||||
ldo2_reg: ldo2 { |
||||
/* VDD_1V8 */ |
||||
regulator-name = "ldo2"; |
||||
regulator-min-microvolt = <1800000>; |
||||
regulator-max-microvolt = <1800000>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
ldo3_reg: ldo3 { |
||||
/* VDDA_1V8_PHYA - supplies VDDA_SATA, VDDA_USB1/2/3 */ |
||||
regulator-name = "ldo3"; |
||||
regulator-min-microvolt = <1800000>; |
||||
regulator-max-microvolt = <1800000>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
ldo4_reg: ldo4 { |
||||
/* VDDA_1V8_PHYB - supplies VDDA_HDMI, VDDA_PCIE/0/1 */ |
||||
regulator-name = "ldo4"; |
||||
regulator-min-microvolt = <1800000>; |
||||
regulator-max-microvolt = <1800000>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
ldo9_reg: ldo9 { |
||||
/* VDD_RTC */ |
||||
regulator-name = "ldo9"; |
||||
regulator-min-microvolt = <1050000>; |
||||
regulator-max-microvolt = <1050000>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
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-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
/* regen1 not used */ |
||||
}; |
||||
}; |
||||
|
||||
tps659038_pwr_button: tps659038_pwr_button { |
||||
compatible = "ti,palmas-pwrbutton"; |
||||
interrupt-parent = <&tps659038>; |
||||
interrupts = <1 IRQ_TYPE_EDGE_FALLING>; |
||||
wakeup-source; |
||||
ti,palmas-long-press-seconds = <12>; |
||||
}; |
||||
|
||||
tps659038_gpio: tps659038_gpio { |
||||
compatible = "ti,palmas-gpio"; |
||||
gpio-controller; |
||||
#gpio-cells = <2>; |
||||
}; |
||||
}; |
||||
|
||||
rtc0: rtc@56 { |
||||
compatible = "emmicro,em3027"; |
||||
reg = <0x56>; |
||||
}; |
||||
|
||||
eeprom_module: atmel@50 { |
||||
compatible = "atmel,24c08"; |
||||
reg = <0x50>; |
||||
pagesize = <16>; |
||||
}; |
||||
|
||||
wm8731: wm8731@1a { |
||||
#sound-dai-cells = <0>; |
||||
compatible = "wlf,wm8731"; |
||||
reg = <0x1a>; |
||||
status = "okay"; |
||||
}; |
||||
}; |
||||
|
||||
&cpu0 { |
||||
cpu0-supply = <&smps12_reg>; |
||||
voltage-tolerance = <1>; |
||||
}; |
||||
|
||||
&sata { |
||||
status = "okay"; |
||||
}; |
||||
|
||||
&mailbox5 { |
||||
status = "okay"; |
||||
mbox_ipu1_ipc3x: mbox_ipu1_ipc3x { |
||||
status = "okay"; |
||||
}; |
||||
mbox_dsp1_ipc3x: mbox_dsp1_ipc3x { |
||||
status = "okay"; |
||||
}; |
||||
}; |
||||
|
||||
&mailbox6 { |
||||
status = "okay"; |
||||
mbox_ipu2_ipc3x: mbox_ipu2_ipc3x { |
||||
status = "okay"; |
||||
}; |
||||
mbox_dsp2_ipc3x: mbox_dsp2_ipc3x { |
||||
status = "okay"; |
||||
}; |
||||
}; |
||||
|
||||
&mmc2 { |
||||
status = "okay"; |
||||
|
||||
pinctrl-names = "default"; |
||||
pinctrl-0 = <&mmc2_pins_default>; |
||||
|
||||
vmmc-supply = <&vdd_3v3>; |
||||
bus-width = <8>; |
||||
ti,non-removable; |
||||
cap-mmc-dual-data-rate; |
||||
}; |
||||
|
||||
&qspi { |
||||
status = "okay"; |
||||
pinctrl-names = "default"; |
||||
pinctrl-0 = <&qspi1_pins>; |
||||
|
||||
spi-max-frequency = <48000000>; |
||||
|
||||
spi_flash: spi_flash@0 { |
||||
#address-cells = <1>; |
||||
#size-cells = <1>; |
||||
compatible = "spansion,m25p80", "jedec,spi-nor"; |
||||
reg = <0>; /* CS0 */ |
||||
spi-max-frequency = <48000000>; |
||||
|
||||
partition@0 { |
||||
label = "uboot"; |
||||
reg = <0x0 0xc0000>; |
||||
}; |
||||
|
||||
partition@c0000 { |
||||
label = "uboot environment"; |
||||
reg = <0xc0000 0x40000>; |
||||
}; |
||||
|
||||
partition@100000 { |
||||
label = "reserved"; |
||||
reg = <0x100000 0x0>; |
||||
}; |
||||
}; |
||||
|
||||
/* touch controller */ |
||||
ads7846@0 { |
||||
pinctrl-names = "default"; |
||||
pinctrl-0 = <&ads7846_pins>; |
||||
|
||||
compatible = "ti,ads7846"; |
||||
vcc-supply = <&ads7846reg>; |
||||
|
||||
reg = <1>; /* CS1 */ |
||||
spi-max-frequency = <1500000>; |
||||
|
||||
interrupt-parent = <&gpio1>; |
||||
interrupts = <31 0>; |
||||
pendown-gpio = <&gpio1 31 0>; |
||||
|
||||
|
||||
ti,x-min = /bits/ 16 <0x0>; |
||||
ti,x-max = /bits/ 16 <0x0fff>; |
||||
ti,y-min = /bits/ 16 <0x0>; |
||||
ti,y-max = /bits/ 16 <0x0fff>; |
||||
|
||||
ti,x-plate-ohms = /bits/ 16 <180>; |
||||
ti,pressure-max = /bits/ 16 <255>; |
||||
|
||||
ti,debounce-max = /bits/ 16 <30>; |
||||
ti,debounce-tol = /bits/ 16 <10>; |
||||
ti,debounce-rep = /bits/ 16 <1>; |
||||
|
||||
wakeup-source; |
||||
}; |
||||
}; |
||||
|
||||
&mac { |
||||
status = "okay"; |
||||
pinctrl-names = "default", "sleep"; |
||||
pinctrl-0 = <&cpsw_pins_default>; |
||||
pinctrl-1 = <&cpsw_pins_sleep>; |
||||
dual_emac; |
||||
}; |
||||
|
||||
&cpsw_emac0 { |
||||
phy_id = <&davinci_mdio>, <0>; |
||||
phy-mode = "rgmii-txid"; |
||||
dual_emac_res_vlan = <0>; |
||||
}; |
||||
|
||||
&cpsw_emac1 { |
||||
phy_id = <&davinci_mdio>, <1>; |
||||
phy-mode = "rgmii-txid"; |
||||
dual_emac_res_vlan = <1>; |
||||
}; |
||||
|
||||
&davinci_mdio { |
||||
pinctrl-names = "default", "sleep"; |
||||
pinctrl-0 = <&davinci_mdio_pins_default>; |
||||
pinctrl-1 = <&davinci_mdio_pins_sleep>; |
||||
}; |
||||
|
||||
&usb2_phy1 { |
||||
phy-supply = <&ldousb_reg>; |
||||
}; |
||||
|
||||
&usb2_phy2 { |
||||
phy-supply = <&ldousb_reg>; |
||||
}; |
||||
|
||||
&usb1 { |
||||
dr_mode = "host"; |
||||
}; |
||||
|
||||
&usb2 { |
||||
dr_mode = "host"; |
||||
}; |
||||
|
||||
&mcasp3 { |
||||
#sound-dai-cells = <0>; |
||||
pinctrl-names = "default", "sleep"; |
||||
pinctrl-0 = <&mcasp3_pins_default>; |
||||
pinctrl-1 = <&mcasp3_pins_sleep>; |
||||
status = "okay"; |
||||
|
||||
op-mode = <0>; /* MCASP_IIS_MODE */ |
||||
tdm-slots = <2>; |
||||
/* 4 serializers */ |
||||
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ |
||||
1 2 0 0 |
||||
>; |
||||
}; |
||||
|
||||
&gpio3 { |
||||
status = "okay"; |
||||
ti,no-reset-on-init; |
||||
}; |
||||
|
||||
&gpio2 { |
||||
status = "okay"; |
||||
ti,no-reset-on-init; |
||||
}; |
@ -0,0 +1,179 @@ |
||||
/* |
||||
* Support for CompuLab SBC-AM57x single board computer |
||||
* |
||||
* Copyright (C) 2015 CompuLab Ltd. - http://www.compulab.co.il/ |
||||
* Author: Dmitry Lifshitz <lifshitz@compulab.co.il> |
||||
* |
||||
* This program is free software; you can redistribute it and/or modify it |
||||
* under the terms of the GNU General Public License version 2 as published by |
||||
* the Free Software Foundation. |
||||
*/ |
||||
|
||||
#include "am57xx-cl-som-am57x.dts" |
||||
#include "compulab-sb-som.dtsi" |
||||
|
||||
/ { |
||||
model = "CompuLab CL-SOM-AM57x on SB-SOM-AM57x"; |
||||
compatible = "compulab,sbc-am57x", "compulab,cl-som-am57x", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7"; |
||||
|
||||
aliases { |
||||
display0 = &lcd0; |
||||
display1 = &hdmi; |
||||
}; |
||||
}; |
||||
|
||||
&dra7_pmx_core { |
||||
uart3_pins_default: uart3_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3648, PIN_INPUT_SLEW | MUX_MODE0) /* uart3_rxd */ |
||||
DRA7XX_CORE_IOPAD(0x364c, PIN_INPUT_SLEW | MUX_MODE0) /* uart3_txd */ |
||||
>; |
||||
}; |
||||
|
||||
mmc1_pins_default: mmc1_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */ |
||||
DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */ |
||||
DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */ |
||||
DRA7XX_CORE_IOPAD(0x376c, PIN_INPUT | MUX_MODE14) /* mmc1_sdcd.gpio6_27 */ |
||||
DRA7XX_CORE_IOPAD(0x377c, PIN_INPUT | MUX_MODE14) /* mmc1_sdwp.gpio6_28 */ |
||||
>; |
||||
}; |
||||
|
||||
usb1_pins: pinmux_usb1_pins { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3680, PIN_INPUT_SLEW | MUX_MODE0) /* usb1_drvvbus */ |
||||
>; |
||||
}; |
||||
|
||||
i2c5_pins_default: i2c5_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x36b4, PIN_INPUT| MUX_MODE10) /* mcasp1_axr0.i2c5_sda */ |
||||
DRA7XX_CORE_IOPAD(0x36b8, PIN_INPUT| MUX_MODE10) /* mcasp1_axr1.i2c5_scl */ |
||||
>; |
||||
}; |
||||
|
||||
lcd_pins_default: lcd_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3564, PIN_OUTPUT | MUX_MODE14) /* vin2a_vsync0.gpio4_0 */ |
||||
>; |
||||
}; |
||||
|
||||
hdmi_pins: pinmux_hdmi_pins { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3808, PIN_INPUT | MUX_MODE1) /* i2c2_sda.hdmi1_ddc_scl */ |
||||
DRA7XX_CORE_IOPAD(0x380c, PIN_INPUT | MUX_MODE1) /* i2c2_scl.hdmi1_ddc_sda */ |
||||
>; |
||||
}; |
||||
|
||||
hdmi_conn_pins: pinmux_hdmi_conn_pins { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x37b8, PIN_INPUT | MUX_MODE14) /* spi1_cs2.gpio7_12 */ |
||||
>; |
||||
}; |
||||
}; |
||||
|
||||
&uart3 { |
||||
status = "okay"; |
||||
interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>, |
||||
<&dra7_pmx_core 0x3f8>; |
||||
|
||||
pinctrl-names = "default"; |
||||
pinctrl-0 = <&uart3_pins_default>; |
||||
}; |
||||
|
||||
&mmc1 { |
||||
status = "okay"; |
||||
|
||||
pinctrl-names = "default"; |
||||
pinctrl-0 = <&mmc1_pins_default>; |
||||
|
||||
vmmc-supply = <&ldo1_reg>; |
||||
bus-width = <4>; |
||||
cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; |
||||
wp-gpios = <&gpio6 28 GPIO_ACTIVE_HIGH>; |
||||
}; |
||||
|
||||
&usb1 { |
||||
pinctrl-names = "default"; |
||||
pinctrl-0 = <&usb1_pins>; |
||||
}; |
||||
|
||||
&i2c5 { |
||||
status = "okay"; |
||||
pinctrl-names = "default"; |
||||
pinctrl-0 = <&i2c5_pins_default>; |
||||
clock-frequency = <400000>; |
||||
|
||||
eeprom_base: atmel@54 { |
||||
compatible = "atmel,24c08"; |
||||
reg = <0x54>; |
||||
pagesize = <16>; |
||||
}; |
||||
|
||||
pca9555: pca9555@20 { |
||||
compatible = "nxp,pca9555"; |
||||
reg = <0x20>; |
||||
gpio-controller; |
||||
#gpio-cells = <2>; |
||||
}; |
||||
}; |
||||
|
||||
&dss { |
||||
status = "ok"; |
||||
|
||||
vdda_video-supply = <&ldoln_reg>; |
||||
|
||||
port { |
||||
dpi_lcd_out: endpoint { |
||||
remote-endpoint = <&lcd_in>; |
||||
data-lines = <24>; |
||||
}; |
||||
}; |
||||
}; |
||||
|
||||
&lcd0 { |
||||
pinctrl-names = "default"; |
||||
pinctrl-0 = <&lcd_pins_default>; |
||||
|
||||
enable-gpios = <&pca9555 14 GPIO_ACTIVE_HIGH |
||||
&gpio4 0 GPIO_ACTIVE_HIGH>; |
||||
|
||||
port { |
||||
lcd_in: endpoint { |
||||
remote-endpoint = <&dpi_lcd_out>; |
||||
data-lines = <24>; |
||||
}; |
||||
}; |
||||
}; |
||||
|
||||
&hdmi { |
||||
status = "ok"; |
||||
vdda-supply = <&ldo4_reg>; |
||||
|
||||
pinctrl-names = "default"; |
||||
pinctrl-0 = <&hdmi_pins>; |
||||
|
||||
port { |
||||
hdmi_out: endpoint { |
||||
remote-endpoint = <&hdmi_connector_in>; |
||||
lanes = <1 0 3 2 5 4 7 6>; |
||||
}; |
||||
}; |
||||
}; |
||||
|
||||
&hdmi_conn { |
||||
pinctrl-names = "default"; |
||||
pinctrl-0 = <&hdmi_conn_pins>; |
||||
|
||||
hpd-gpios = <&gpio7 12 GPIO_ACTIVE_HIGH>; |
||||
|
||||
port { |
||||
hdmi_connector_in: endpoint { |
||||
remote-endpoint = <&hdmi_out>; |
||||
}; |
||||
}; |
||||
}; |
@ -0,0 +1,258 @@ |
||||
/* |
||||
* Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ |
||||
* |
||||
* This program is free software; you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License version 2 as |
||||
* published by the Free Software Foundation. |
||||
*/ |
||||
|
||||
#include <dt-bindings/gpio/gpio.h> |
||||
#include <dt-bindings/clk/ti-dra7-atl.h> |
||||
#include <dt-bindings/input/input.h> |
||||
|
||||
/ { |
||||
chosen { |
||||
stdout-path = &uart1; |
||||
}; |
||||
|
||||
extcon_usb1: extcon_usb1 { |
||||
compatible = "linux,extcon-usb-gpio"; |
||||
id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>; |
||||
}; |
||||
|
||||
sound0: sound0 { |
||||
compatible = "simple-audio-card"; |
||||
simple-audio-card,name = "DRA7xx-EVM"; |
||||
simple-audio-card,widgets = |
||||
"Headphone", "Headphone Jack", |
||||
"Line", "Line Out", |
||||
"Microphone", "Mic Jack", |
||||
"Line", "Line In"; |
||||
simple-audio-card,routing = |
||||
"Headphone Jack", "HPLOUT", |
||||
"Headphone Jack", "HPROUT", |
||||
"Line Out", "LLOUT", |
||||
"Line Out", "RLOUT", |
||||
"MIC3L", "Mic Jack", |
||||
"MIC3R", "Mic Jack", |
||||
"Mic Jack", "Mic Bias", |
||||
"LINE1L", "Line In", |
||||
"LINE1R", "Line In"; |
||||
simple-audio-card,format = "dsp_b"; |
||||
simple-audio-card,bitclock-master = <&sound0_master>; |
||||
simple-audio-card,frame-master = <&sound0_master>; |
||||
simple-audio-card,bitclock-inversion; |
||||
|
||||
sound0_master: simple-audio-card,cpu { |
||||
sound-dai = <&mcasp3>; |
||||
system-clock-frequency = <5644800>; |
||||
}; |
||||
|
||||
simple-audio-card,codec { |
||||
sound-dai = <&tlv320aic3106>; |
||||
clocks = <&atl_clkin2_ck>; |
||||
}; |
||||
}; |
||||
|
||||
leds { |
||||
compatible = "gpio-leds"; |
||||
led0 { |
||||
label = "dra7:usr1"; |
||||
gpios = <&pcf_lcd 4 GPIO_ACTIVE_LOW>; |
||||
default-state = "off"; |
||||
}; |
||||
|
||||
led1 { |
||||
label = "dra7:usr2"; |
||||
gpios = <&pcf_lcd 5 GPIO_ACTIVE_LOW>; |
||||
default-state = "off"; |
||||
}; |
||||
|
||||
led2 { |
||||
label = "dra7:usr3"; |
||||
gpios = <&pcf_lcd 6 GPIO_ACTIVE_LOW>; |
||||
default-state = "off"; |
||||
}; |
||||
|
||||
led3 { |
||||
label = "dra7:usr4"; |
||||
gpios = <&pcf_lcd 7 GPIO_ACTIVE_LOW>; |
||||
default-state = "off"; |
||||
}; |
||||
}; |
||||
|
||||
gpio_keys { |
||||
compatible = "gpio-keys"; |
||||
#address-cells = <1>; |
||||
#size-cells = <0>; |
||||
autorepeat; |
||||
|
||||
USER1 { |
||||
label = "btnUser1"; |
||||
linux,code = <BTN_0>; |
||||
gpios = <&pcf_lcd 2 GPIO_ACTIVE_LOW>; |
||||
}; |
||||
|
||||
USER2 { |
||||
label = "btnUser2"; |
||||
linux,code = <BTN_1>; |
||||
gpios = <&pcf_lcd 3 GPIO_ACTIVE_LOW>; |
||||
}; |
||||
}; |
||||
}; |
||||
|
||||
&i2c3 { |
||||
status = "okay"; |
||||
clock-frequency = <400000>; |
||||
}; |
||||
|
||||
&mcspi1 { |
||||
status = "okay"; |
||||
}; |
||||
|
||||
&mcspi2 { |
||||
status = "okay"; |
||||
}; |
||||
|
||||
&uart1 { |
||||
status = "okay"; |
||||
interrupts-extended = <&crossbar_mpu GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>, |
||||
<&dra7_pmx_core 0x3e0>; |
||||
}; |
||||
|
||||
&uart2 { |
||||
status = "okay"; |
||||
}; |
||||
|
||||
&uart3 { |
||||
status = "okay"; |
||||
}; |
||||
|
||||
&qspi { |
||||
status = "okay"; |
||||
|
||||
spi-max-frequency = <76800000>; |
||||
m25p80@0 { |
||||
compatible = "s25fl256s1"; |
||||
spi-max-frequency = <76800000>; |
||||
reg = <0>; |
||||
spi-tx-bus-width = <1>; |
||||
spi-rx-bus-width = <4>; |
||||
#address-cells = <1>; |
||||
#size-cells = <1>; |
||||
|
||||
/* MTD partition table. |
||||
* The ROM checks the first four physical blocks |
||||
* for a valid file to boot and the flash here is |
||||
* 64KiB block size. |
||||
*/ |
||||
partition@0 { |
||||
label = "QSPI.SPL"; |
||||
reg = <0x00000000 0x000010000>; |
||||
}; |
||||
partition@1 { |
||||
label = "QSPI.SPL.backup1"; |
||||
reg = <0x00010000 0x00010000>; |
||||
}; |
||||
partition@2 { |
||||
label = "QSPI.SPL.backup2"; |
||||
reg = <0x00020000 0x00010000>; |
||||
}; |
||||
partition@3 { |
||||
label = "QSPI.SPL.backup3"; |
||||
reg = <0x00030000 0x00010000>; |
||||
}; |
||||
partition@4 { |
||||
label = "QSPI.u-boot"; |
||||
reg = <0x00040000 0x00100000>; |
||||
}; |
||||
partition@5 { |
||||
label = "QSPI.u-boot-spl-os"; |
||||
reg = <0x00140000 0x00080000>; |
||||
}; |
||||
partition@6 { |
||||
label = "QSPI.u-boot-env"; |
||||
reg = <0x001c0000 0x00010000>; |
||||
}; |
||||
partition@7 { |
||||
label = "QSPI.u-boot-env.backup1"; |
||||
reg = <0x001d0000 0x0010000>; |
||||
}; |
||||
partition@8 { |
||||
label = "QSPI.kernel"; |
||||
reg = <0x001e0000 0x0800000>; |
||||
}; |
||||
partition@9 { |
||||
label = "QSPI.file-system"; |
||||
reg = <0x009e0000 0x01620000>; |
||||
}; |
||||
}; |
||||
}; |
||||
|
||||
&omap_dwc3_1 { |
||||
extcon = <&extcon_usb1>; |
||||
}; |
||||
|
||||
&usb1 { |
||||
dr_mode = "otg"; |
||||
extcon = <&extcon_usb1>; |
||||
}; |
||||
|
||||
&usb2 { |
||||
dr_mode = "host"; |
||||
}; |
||||
|
||||
&atl { |
||||
assigned-clocks = <&abe_dpll_sys_clk_mux>, |
||||
<&atl_gfclk_mux>, |
||||
<&dpll_abe_ck>, |
||||
<&dpll_abe_m2x2_ck>, |
||||
<&atl_clkin2_ck>; |
||||
assigned-clock-parents = <&sys_clkin2>, <&dpll_abe_m2_ck>; |
||||
assigned-clock-rates = <0>, <0>, <180633600>, <361267200>, <5644800>; |
||||
|
||||
status = "okay"; |
||||
|
||||
atl2 { |
||||
bws = <DRA7_ATL_WS_MCASP2_FSX>; |
||||
aws = <DRA7_ATL_WS_MCASP3_FSX>; |
||||
}; |
||||
}; |
||||
|
||||
&mcasp3 { |
||||
#sound-dai-cells = <0>; |
||||
|
||||
assigned-clocks = <&mcasp3_ahclkx_mux>; |
||||
assigned-clock-parents = <&atl_clkin2_ck>; |
||||
|
||||
status = "okay"; |
||||
|
||||
op-mode = <0>; /* MCASP_IIS_MODE */ |
||||
tdm-slots = <2>; |
||||
/* 4 serializer */ |
||||
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ |
||||
1 2 0 0 |
||||
>; |
||||
tx-num-evt = <32>; |
||||
rx-num-evt = <32>; |
||||
}; |
||||
|
||||
&mailbox5 { |
||||
status = "okay"; |
||||
mbox_ipu1_ipc3x: mbox_ipu1_ipc3x { |
||||
status = "okay"; |
||||
}; |
||||
mbox_dsp1_ipc3x: mbox_dsp1_ipc3x { |
||||
status = "okay"; |
||||
}; |
||||
}; |
||||
|
||||
&mailbox6 { |
||||
status = "okay"; |
||||
mbox_ipu2_ipc3x: mbox_ipu2_ipc3x { |
||||
status = "okay"; |
||||
}; |
||||
mbox_dsp2_ipc3x: mbox_dsp2_ipc3x { |
||||
status = "okay"; |
||||
}; |
||||
}; |
@ -0,0 +1,350 @@ |
||||
/* |
||||
* MMC IOdelay values for TI's DRA72x, DRA71x and AM571x SoCs. |
||||
* |
||||
* Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ |
||||
* |
||||
* This program is free software; you can redistribute it and/or |
||||
* modify it under the terms of the GNU General Public License as |
||||
* published by the Free Software Foundation version 2. |
||||
* |
||||
* This program is distributed "as is" WITHOUT ANY WARRANTY of any |
||||
* kind, whether express or implied; without even the implied warranty |
||||
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
*/ |
||||
|
||||
/* |
||||
* Rules for modifying this file: |
||||
* a) Update of this file should typically correspond to a datamanual revision. |
||||
* Datamanual revision that was used should be updated in comment below. |
||||
* If there is no update to datamanual, do not update the values. If you |
||||
* need to use values different from that recommended by the datamanual |
||||
* for your design, then you should consider adding values to the device- |
||||
* -tree file for your board directly. |
||||
* b) We keep the mode names as close to the datamanual as possible. So |
||||
* if the manual calls a mode, DDR50, or DDR or DDR 1.8v or DDR 3.3v, |
||||
* we follow that in code too. |
||||
* c) If the values change between multiple revisions of silicon, we add |
||||
* a revision tag to both the new and old entry. Use 'rev10' for PG 1.0, |
||||
* 'rev20' for PG 2.0 and so on. |
||||
* d) The node name and node label should be the exact same string. This is |
||||
* to curb naming creativity and achieve consistency. |
||||
* e) If in future, DRA71x and DRA72x values differ, then add 'dra71_' and |
||||
* 'dra72_' tag to entries. Both the new and old entries should gain a tag. |
||||
* |
||||
* Datamanual Revisions: |
||||
* |
||||
* AM571x Silicon Revision 2.0: SPRS957D, Revised January 2017 |
||||
* AM571x Silicon Revision 1.0: SPRS919M, Revised November 2017 |
||||
* DRA71x : SPRS960B, Revised February 2017 |
||||
*/ |
||||
|
||||
&dra7_pmx_core { |
||||
mmc1_pins_default: mmc1_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */ |
||||
DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */ |
||||
DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc1_pins_sdr12: mmc1_pins_sdr12 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */ |
||||
DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */ |
||||
DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc1_pins_hs: mmc1_pins_hs { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */ |
||||
DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */ |
||||
DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc1_pins_sdr25: mmc1_pins_sdr25 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */ |
||||
DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */ |
||||
DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc1_pins_sdr50: mmc1_pins_sdr50 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE15 | MUX_MODE0) /* mmc1_clk.clk */ |
||||
DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE15 | MUX_MODE0) /* mmc1_cmd.cmd */ |
||||
DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE15 | MUX_MODE0) /* mmc1_dat0.dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE15 | MUX_MODE0) /* mmc1_dat1.dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE15 | MUX_MODE0) /* mmc1_dat2.dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE15 | MUX_MODE0) /* mmc1_dat3.dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc1_pins_ddr50_rev10: mmc1_pins_ddr50_rev10 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE14 | MUX_MODE0) /* mmc1_clk.mmc1_clk */ |
||||
DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE14 | MUX_MODE0) /* mmc1_cmd.mmc1_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x375C, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE14 | MUX_MODE0) /* mmc1_dat0.mmc1_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE14 | MUX_MODE0) /* mmc1_dat1.mmc1_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE14 | MUX_MODE0) /* mmc1_dat2.mmc1_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE14 | MUX_MODE0) /* mmc1_dat3.mmc1_dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc1_pins_ddr50_rev20: mmc1_pins_ddr50_rev20 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_clk.clk */ |
||||
DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_cmd.cmd */ |
||||
DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_dat0.dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_dat1.dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_dat2.dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_dat3.dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc1_pins_sdr104: mmc1_pins_sdr104 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_clk.clk */ |
||||
DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_cmd.cmd */ |
||||
DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_dat0.dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_dat1.dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_dat2.dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_dat3.dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc2_pins_default: mmc2_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */ |
||||
DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ |
||||
DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ |
||||
DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ |
||||
DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ |
||||
DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc2_pins_hs: mmc2_pins_hs { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */ |
||||
DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ |
||||
DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ |
||||
DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ |
||||
DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ |
||||
DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc2_pins_ddr_rev10: mmc2_pins_ddr_rev10 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ |
||||
DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ |
||||
DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ |
||||
DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ |
||||
DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */ |
||||
DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ |
||||
DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ |
||||
>; |
||||
}; |
||||
|
||||
mmc2_pins_ddr_rev20: mmc2_pins_ddr_rev20 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a23.mmc2_clk */ |
||||
DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ |
||||
DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ |
||||
DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ |
||||
DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ |
||||
DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc2_pins_hs200: mmc2_pins_hs200 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a23.mmc2_clk */ |
||||
DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ |
||||
DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ |
||||
DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ |
||||
DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ |
||||
DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ |
||||
>; |
||||
}; |
||||
}; |
||||
|
||||
&dra7_iodelay_core { |
||||
|
||||
/* Corresponds to MMC1_MANUAL1 in datamanual */ |
||||
mmc1_iodelay_ddr50_conf: mmc1_iodelay_ddr50_conf { |
||||
pinctrl-pin-array = < |
||||
0x618 A_DELAY_PS(588) G_DELAY_PS(0) /* CFG_MMC1_CLK_IN */ |
||||
0x624 A_DELAY_PS(1000) G_DELAY_PS(0) /* CFG_MMC1_CMD_IN */ |
||||
0x630 A_DELAY_PS(1375) G_DELAY_PS(0) /* CFG_MMC1_DAT0_IN */ |
||||
0x63C A_DELAY_PS(1000) G_DELAY_PS(0) /* CFG_MMC1_DAT1_IN */ |
||||
0x648 A_DELAY_PS(1000) G_DELAY_PS(0) /* CFG_MMC1_DAT2_IN */ |
||||
0x654 A_DELAY_PS(1000) G_DELAY_PS(0) /* CFG_MMC1_DAT3_IN */ |
||||
0x620 A_DELAY_PS(1230) G_DELAY_PS(0) /* CFG_MMC1_CLK_OUT */ |
||||
0x62C A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_CMD_OUT */ |
||||
0x638 A_DELAY_PS(56) G_DELAY_PS(0) /* CFG_MMC1_DAT0_OUT */ |
||||
0x644 A_DELAY_PS(76) G_DELAY_PS(0) /* CFG_MMC1_DAT1_OUT */ |
||||
0x650 A_DELAY_PS(91) G_DELAY_PS(0) /* CFG_MMC1_DAT2_OUT */ |
||||
0x65C A_DELAY_PS(99) G_DELAY_PS(0) /* CFG_MMC1_DAT3_OUT */ |
||||
0x628 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_CMD_OEN */ |
||||
0x634 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT0_OEN */ |
||||
0x640 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT1_OEN */ |
||||
0x64C A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT2_OEN */ |
||||
0x658 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT3_OEN */ |
||||
>; |
||||
}; |
||||
|
||||
/* Corresponds to MMC1_MANUAL2 in datamanual */ |
||||
mmc1_iodelay_sdr104_rev10_conf: mmc1_iodelay_sdr104_rev10_conf { |
||||
pinctrl-pin-array = < |
||||
0x620 A_DELAY_PS(560) G_DELAY_PS(365) /* CFG_MMC1_CLK_OUT */ |
||||
0x62c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_CMD_OUT */ |
||||
0x638 A_DELAY_PS(29) G_DELAY_PS(0) /* CFG_MMC1_DAT0_OUT */ |
||||
0x644 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT1_OUT */ |
||||
0x650 A_DELAY_PS(47) G_DELAY_PS(0) /* CFG_MMC1_DAT2_OUT */ |
||||
0x65c A_DELAY_PS(30) G_DELAY_PS(0) /* CFG_MMC1_DAT3_OUT */ |
||||
0x628 A_DELAY_PS(125) G_DELAY_PS(0) /* CFG_MMC1_CMD_OEN */ |
||||
0x634 A_DELAY_PS(43) G_DELAY_PS(0) /* CFG_MMC1_DAT0_OEN */ |
||||
0x640 A_DELAY_PS(433) G_DELAY_PS(0) /* CFG_MMC1_DAT1_OEN */ |
||||
0x64c A_DELAY_PS(287) G_DELAY_PS(0) /* CFG_MMC1_DAT2_OEN */ |
||||
0x658 A_DELAY_PS(351) G_DELAY_PS(0) /* CFG_MMC1_DAT3_OEN */ |
||||
>; |
||||
}; |
||||
|
||||
/* Corresponds to MMC1_MANUAL2 in datamanual */ |
||||
mmc1_iodelay_sdr104_rev20_conf: mmc1_iodelay_sdr104_rev20_conf { |
||||
pinctrl-pin-array = < |
||||
0x620 A_DELAY_PS(520) G_DELAY_PS(320) /* CFG_MMC1_CLK_OUT */ |
||||
0x62c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_CMD_OUT */ |
||||
0x638 A_DELAY_PS(40) G_DELAY_PS(0) /* CFG_MMC1_DAT0_OUT */ |
||||
0x644 A_DELAY_PS(83) G_DELAY_PS(0) /* CFG_MMC1_DAT1_OUT */ |
||||
0x650 A_DELAY_PS(98) G_DELAY_PS(0) /* CFG_MMC1_DAT2_OUT */ |
||||
0x65c A_DELAY_PS(106) G_DELAY_PS(0) /* CFG_MMC1_DAT3_OUT */ |
||||
0x628 A_DELAY_PS(51) G_DELAY_PS(0) /* CFG_MMC1_CMD_OEN */ |
||||
0x634 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT0_OEN */ |
||||
0x640 A_DELAY_PS(363) G_DELAY_PS(0) /* CFG_MMC1_DAT1_OEN */ |
||||
0x64c A_DELAY_PS(199) G_DELAY_PS(0) /* CFG_MMC1_DAT2_OEN */ |
||||
0x658 A_DELAY_PS(273) G_DELAY_PS(0) /* CFG_MMC1_DAT3_OEN */ |
||||
>; |
||||
}; |
||||
|
||||
/* Corresponds to MMC2_MANUAL1 in datamanual */ |
||||
mmc2_iodelay_ddr_conf: mmc2_iodelay_ddr_conf { |
||||
pinctrl-pin-array = < |
||||
0x18c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A19_IN */ |
||||
0x1a4 A_DELAY_PS(119) G_DELAY_PS(0) /* CFG_GPMC_A20_IN */ |
||||
0x1b0 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A21_IN */ |
||||
0x1bc A_DELAY_PS(18) G_DELAY_PS(0) /* CFG_GPMC_A22_IN */ |
||||
0x1c8 A_DELAY_PS(894) G_DELAY_PS(0) /* CFG_GPMC_A23_IN */ |
||||
0x1d4 A_DELAY_PS(30) G_DELAY_PS(0) /* CFG_GPMC_A24_IN */ |
||||
0x1e0 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A25_IN */ |
||||
0x1ec A_DELAY_PS(23) G_DELAY_PS(0) /* CFG_GPMC_A26_IN */ |
||||
0x1f8 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A27_IN */ |
||||
0x360 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_CS1_IN */ |
||||
0x194 A_DELAY_PS(152) G_DELAY_PS(0) /* CFG_GPMC_A19_OUT */ |
||||
0x1ac A_DELAY_PS(206) G_DELAY_PS(0) /* CFG_GPMC_A20_OUT */ |
||||
0x1b8 A_DELAY_PS(78) G_DELAY_PS(0) /* CFG_GPMC_A21_OUT */ |
||||
0x1c4 A_DELAY_PS(2) G_DELAY_PS(0) /* CFG_GPMC_A22_OUT */ |
||||
0x1d0 A_DELAY_PS(266) G_DELAY_PS(0) /* CFG_GPMC_A23_OUT */ |
||||
0x1dc A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A24_OUT */ |
||||
0x1e8 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A25_OUT */ |
||||
0x1f4 A_DELAY_PS(43) G_DELAY_PS(0) /* CFG_GPMC_A26_OUT */ |
||||
0x200 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A27_OUT */ |
||||
0x368 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_CS1_OUT */ |
||||
0x190 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A19_OEN */ |
||||
0x1a8 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A20_OEN */ |
||||
0x1b4 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A21_OEN */ |
||||
0x1c0 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A22_OEN */ |
||||
0x1d8 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A24_OEN */ |
||||
0x1e4 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A25_OEN */ |
||||
0x1f0 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A26_OEN */ |
||||
0x1fc A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A27_OEN */ |
||||
0x364 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_CS1_OEN */ |
||||
>; |
||||
}; |
||||
|
||||
/* Corresponds to MMC2_MANUAL3 in datamanual */ |
||||
mmc2_iodelay_hs200_rev10_conf: mmc2_iodelay_hs200_rev10_conf { |
||||
pinctrl-pin-array = < |
||||
0x194 A_DELAY_PS(150) G_DELAY_PS(95) /* CFG_GPMC_A19_OUT */ |
||||
0x1ac A_DELAY_PS(250) G_DELAY_PS(0) /* CFG_GPMC_A20_OUT */ |
||||
0x1b8 A_DELAY_PS(125) G_DELAY_PS(0) /* CFG_GPMC_A21_OUT */ |
||||
0x1c4 A_DELAY_PS(100) G_DELAY_PS(0) /* CFG_GPMC_A22_OUT */ |
||||
0x1d0 A_DELAY_PS(870) G_DELAY_PS(415) /* CFG_GPMC_A23_OUT */ |
||||
0x1dc A_DELAY_PS(30) G_DELAY_PS(0) /* CFG_GPMC_A24_OUT */ |
||||
0x1e8 A_DELAY_PS(200) G_DELAY_PS(0) /* CFG_GPMC_A25_OUT */ |
||||
0x1f4 A_DELAY_PS(200) G_DELAY_PS(0) /* CFG_GPMC_A26_OUT */ |
||||
0x200 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A27_OUT */ |
||||
0x368 A_DELAY_PS(240) G_DELAY_PS(0) /* CFG_GPMC_CS1_OUT */ |
||||
0x190 A_DELAY_PS(695) G_DELAY_PS(0) /* CFG_GPMC_A19_OEN */ |
||||
0x1a8 A_DELAY_PS(924) G_DELAY_PS(0) /* CFG_GPMC_A20_OEN */ |
||||
0x1b4 A_DELAY_PS(719) G_DELAY_PS(0) /* CFG_GPMC_A21_OEN */ |
||||
0x1c0 A_DELAY_PS(824) G_DELAY_PS(0) /* CFG_GPMC_A22_OEN */ |
||||
0x1d8 A_DELAY_PS(877) G_DELAY_PS(0) /* CFG_GPMC_A24_OEN */ |
||||
0x1e4 A_DELAY_PS(446) G_DELAY_PS(0) /* CFG_GPMC_A25_OEN */ |
||||
0x1f0 A_DELAY_PS(847) G_DELAY_PS(0) /* CFG_GPMC_A26_OEN */ |
||||
0x1fc A_DELAY_PS(586) G_DELAY_PS(0) /* CFG_GPMC_A27_OEN */ |
||||
0x364 A_DELAY_PS(1039) G_DELAY_PS(0) /* CFG_GPMC_CS1_OEN */ |
||||
>; |
||||
}; |
||||
|
||||
/* Corresponds to MMC2_MANUAL3 in datamanual */ |
||||
mmc2_iodelay_hs200_rev20_conf: mmc2_iodelay_hs200_rev20_conf { |
||||
pinctrl-pin-array = < |
||||
0x194 A_DELAY_PS(285) G_DELAY_PS(0) /* CFG_GPMC_A19_OUT */ |
||||
0x1ac A_DELAY_PS(189) G_DELAY_PS(0) /* CFG_GPMC_A20_OUT */ |
||||
0x1b8 A_DELAY_PS(0) G_DELAY_PS(120) /* CFG_GPMC_A21_OUT */ |
||||
0x1c4 A_DELAY_PS(0) G_DELAY_PS(70) /* CFG_GPMC_A22_OUT */ |
||||
0x1d0 A_DELAY_PS(730) G_DELAY_PS(360) /* CFG_GPMC_A23_OUT */ |
||||
0x1dc A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A24_OUT */ |
||||
0x1e8 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A25_OUT */ |
||||
0x1f4 A_DELAY_PS(70) G_DELAY_PS(0) /* CFG_GPMC_A26_OUT */ |
||||
0x200 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A27_OUT */ |
||||
0x368 A_DELAY_PS(0) G_DELAY_PS(120) /* CFG_GPMC_CS1_OUT */ |
||||
0x190 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A19_OEN */ |
||||
0x1a8 A_DELAY_PS(231) G_DELAY_PS(0) /* CFG_GPMC_A20_OEN */ |
||||
0x1b4 A_DELAY_PS(39) G_DELAY_PS(0) /* CFG_GPMC_A21_OEN */ |
||||
0x1c0 A_DELAY_PS(91) G_DELAY_PS(0) /* CFG_GPMC_A22_OEN */ |
||||
0x1d8 A_DELAY_PS(176) G_DELAY_PS(0) /* CFG_GPMC_A24_OEN */ |
||||
0x1e4 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A25_OEN */ |
||||
0x1f0 A_DELAY_PS(101) G_DELAY_PS(0) /* CFG_GPMC_A26_OEN */ |
||||
0x1fc A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A27_OEN */ |
||||
0x364 A_DELAY_PS(360) G_DELAY_PS(0) /* CFG_GPMC_CS1_OEN */ |
||||
>; |
||||
}; |
||||
}; |
@ -0,0 +1,647 @@ |
||||
/* |
||||
* MMC IOdelay values for TI's DRA74x, DRA75x and AM572x SoCs. |
||||
* |
||||
* Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ |
||||
* |
||||
* This program is free software; you can redistribute it and/or |
||||
* modify it under the terms of the GNU General Public License as |
||||
* published by the Free Software Foundation version 2. |
||||
* |
||||
* This program is distributed "as is" WITHOUT ANY WARRANTY of any |
||||
* kind, whether express or implied; without even the implied warranty |
||||
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
*/ |
||||
|
||||
/* |
||||
* Rules for modifying this file: |
||||
* a) Update of this file should typically correspond to a datamanual revision. |
||||
* Datamanual revision that was used should be updated in comment below. |
||||
* If there is no update to datamanual, do not update the values. If you |
||||
* need to use values different from that recommended by the datamanual |
||||
* for your design, then you should consider adding values to the device- |
||||
* -tree file for your board directly. |
||||
* b) We keep the mode names as close to the datamanual as possible. So |
||||
* if the manual calls a mode, DDR50, or DDR or DDR 1.8v or DDR 3.3v, |
||||
* we follow that in code too. |
||||
* c) If the values change between multiple revisions of silicon, we add |
||||
* a revision tag to both the new and old entry. Use 'rev11' for PG 1.1, |
||||
* 'rev20' for PG 2.0 and so on. |
||||
* d) The node name and node label should be the exact same string. This is |
||||
* to curb naming creativity and achieve consistency. |
||||
* |
||||
* Datamanual Revisions: |
||||
* |
||||
* AM572x Silicon Revision 2.0: SPRS953B, Revised November 2016 |
||||
* AM572x Silicon Revision 1.1: SPRS915R, Revised November 2016 |
||||
* |
||||
*/ |
||||
|
||||
&dra7_pmx_core { |
||||
mmc1_pins_default: mmc1_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */ |
||||
DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */ |
||||
DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc1_pins_sdr12: mmc1_pins_sdr12 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */ |
||||
DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */ |
||||
DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc1_pins_hs: mmc1_pins_hs { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_clk.clk */ |
||||
DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_cmd.cmd */ |
||||
DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat0.dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat1.dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat2.dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat3.dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc1_pins_sdr25: mmc1_pins_sdr25 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_clk.clk */ |
||||
DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_cmd.cmd */ |
||||
DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat0.dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat1.dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat2.dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat3.dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc1_pins_sdr50: mmc1_pins_sdr50 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE10 | MUX_MODE0) /* mmc1_clk.clk */ |
||||
DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE10 | MUX_MODE0) /* mmc1_cmd.cmd */ |
||||
DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE10 | MUX_MODE0) /* mmc1_dat0.dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE10 | MUX_MODE0) /* mmc1_dat1.dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE10 | MUX_MODE0) /* mmc1_dat2.dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE10 | MUX_MODE0) /* mmc1_dat3.dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc1_pins_ddr50: mmc1_pins_ddr50 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_clk.clk */ |
||||
DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_cmd.cmd */ |
||||
DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_dat0.dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_dat1.dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_dat2.dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_dat3.dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc1_pins_sdr104: mmc1_pins_sdr104 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_clk.clk */ |
||||
DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_cmd.cmd */ |
||||
DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_dat0.dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_dat1.dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_dat2.dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0) /* mmc1_dat3.dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc2_pins_default: mmc2_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */ |
||||
DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ |
||||
DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ |
||||
DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ |
||||
DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ |
||||
DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc2_pins_hs: mmc2_pins_hs { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */ |
||||
DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ |
||||
DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ |
||||
DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ |
||||
DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ |
||||
DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc2_pins_ddr_3_3v_rev11: mmc2_pins_ddr_3_3v_rev11 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a23.mmc2_clk */ |
||||
DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ |
||||
DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ |
||||
DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ |
||||
DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ |
||||
DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc2_pins_ddr_1_8v_rev11: mmc2_pins_ddr_1_8v_rev11 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a23.mmc2_clk */ |
||||
DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ |
||||
DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ |
||||
DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ |
||||
DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ |
||||
DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc2_pins_ddr_rev20: mmc2_pins_ddr_rev20 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */ |
||||
DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ |
||||
DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ |
||||
DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ |
||||
DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ |
||||
DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc2_pins_hs200: mmc2_pins_hs200 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a23.mmc2_clk */ |
||||
DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ |
||||
DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ |
||||
DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ |
||||
DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ |
||||
DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc4_pins_default: mmc4_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x37e8, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart1_ctsn.mmc4_clk */ |
||||
DRA7XX_CORE_IOPAD(0x37ec, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart1_rtsn.mmc4_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x37f0, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_rxd.mmc4_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x37f4, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_txd.mmc4_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x37f8, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_ctsn.mmc4_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x37fc, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_rtsn.mmc4_dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc4_pins_hs: mmc4_pins_hs { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x37e8, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart1_ctsn.mmc4_clk */ |
||||
DRA7XX_CORE_IOPAD(0x37ec, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart1_rtsn.mmc4_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x37f0, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_rxd.mmc4_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x37f4, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_txd.mmc4_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x37f8, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_ctsn.mmc4_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x37fc, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_rtsn.mmc4_dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc3_pins_default: mmc3_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x377c, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_clk.mmc3_clk */ |
||||
DRA7XX_CORE_IOPAD(0x3780, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_cmd.mmc3_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x3784, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat0.mmc3_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3788, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat1.mmc3_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x378c, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat2.mmc3_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3790, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat3.mmc3_dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc3_pins_hs: mmc3_pins_hs { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x377c, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_clk.mmc3_clk */ |
||||
DRA7XX_CORE_IOPAD(0x3780, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_cmd.mmc3_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x3784, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat0.mmc3_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3788, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat1.mmc3_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x378c, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat2.mmc3_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3790, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat3.mmc3_dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc3_pins_sdr12: mmc3_pins_sdr12 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x377c, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_clk.mmc3_clk */ |
||||
DRA7XX_CORE_IOPAD(0x3780, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_cmd.mmc3_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x3784, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat0.mmc3_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3788, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat1.mmc3_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x378c, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat2.mmc3_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3790, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat3.mmc3_dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc3_pins_sdr25: mmc3_pins_sdr25 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x377c, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_clk.mmc3_clk */ |
||||
DRA7XX_CORE_IOPAD(0x3780, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_cmd.mmc3_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x3784, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat0.mmc3_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3788, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat1.mmc3_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x378c, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat2.mmc3_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3790, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat3.mmc3_dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc3_pins_sdr50: mmc3_pins_sdr50 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x377c, (PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0)) /* mmc3_clk.mmc3_clk */ |
||||
DRA7XX_CORE_IOPAD(0x3780, (PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0)) /* mmc3_cmd.mmc3_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x3784, (PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0)) /* mmc3_dat0.mmc3_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3788, (PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0)) /* mmc3_dat1.mmc3_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x378c, (PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0)) /* mmc3_dat2.mmc3_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3790, (PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0)) /* mmc3_dat3.mmc3_dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc4_pins_sdr12: mmc4_pins_sdr12 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x37e8, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart1_ctsn.mmc4_clk */ |
||||
DRA7XX_CORE_IOPAD(0x37ec, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart1_rtsn.mmc4_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x37f0, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_rxd.mmc4_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x37f4, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_txd.mmc4_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x37f8, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_ctsn.mmc4_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x37fc, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_rtsn.mmc4_dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc4_pins_sdr25: mmc4_pins_sdr25 { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x37e8, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart1_ctsn.mmc4_clk */ |
||||
DRA7XX_CORE_IOPAD(0x37ec, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart1_rtsn.mmc4_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x37f0, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_rxd.mmc4_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x37f4, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_txd.mmc4_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x37f8, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_ctsn.mmc4_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x37fc, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_rtsn.mmc4_dat3 */ |
||||
>; |
||||
}; |
||||
}; |
||||
|
||||
&dra7_iodelay_core { |
||||
|
||||
/* Corresponds to MMC1_DDR_MANUAL1 in datamanual */ |
||||
mmc1_iodelay_ddr_rev11_conf: mmc1_iodelay_ddr_rev11_conf { |
||||
pinctrl-pin-array = < |
||||
0x618 A_DELAY_PS(572) G_DELAY_PS(540) /* CFG_MMC1_CLK_IN */ |
||||
0x620 A_DELAY_PS(1525) G_DELAY_PS(0) /* CFG_MMC1_CLK_OUT */ |
||||
0x624 A_DELAY_PS(0) G_DELAY_PS(600) /* CFG_MMC1_CMD_IN */ |
||||
0x628 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_CMD_OEN */ |
||||
0x62c A_DELAY_PS(55) G_DELAY_PS(0) /* CFG_MMC1_CMD_OUT */ |
||||
0x630 A_DELAY_PS(403) G_DELAY_PS(120) /* CFG_MMC1_DAT0_IN */ |
||||
0x634 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT0_OEN */ |
||||
0x638 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT0_OUT */ |
||||
0x63c A_DELAY_PS(23) G_DELAY_PS(60) /* CFG_MMC1_DAT1_IN */ |
||||
0x640 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT1_OEN */ |
||||
0x644 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT1_OUT */ |
||||
0x648 A_DELAY_PS(25) G_DELAY_PS(60) /* CFG_MMC1_DAT2_IN */ |
||||
0x64c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT2_OEN */ |
||||
0x650 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT2_OUT */ |
||||
0x654 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT3_IN */ |
||||
0x658 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT3_OEN */ |
||||
0x65c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT3_OUT */ |
||||
>; |
||||
}; |
||||
|
||||
/* Corresponds to MMC1_DDR_MANUAL1 in datamanual */ |
||||
mmc1_iodelay_ddr_rev20_conf: mmc1_iodelay_ddr50_rev20_conf { |
||||
pinctrl-pin-array = < |
||||
0x618 A_DELAY_PS(1076) G_DELAY_PS(330) /* CFG_MMC1_CLK_IN */ |
||||
0x620 A_DELAY_PS(1271) G_DELAY_PS(0) /* CFG_MMC1_CLK_OUT */ |
||||
0x624 A_DELAY_PS(722) G_DELAY_PS(0) /* CFG_MMC1_CMD_IN */ |
||||
0x628 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_CMD_OEN */ |
||||
0x62C A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_CMD_OUT */ |
||||
0x630 A_DELAY_PS(751) G_DELAY_PS(0) /* CFG_MMC1_DAT0_IN */ |
||||
0x634 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT0_OEN */ |
||||
0x638 A_DELAY_PS(20) G_DELAY_PS(0) /* CFG_MMC1_DAT0_OUT */ |
||||
0x63C A_DELAY_PS(256) G_DELAY_PS(0) /* CFG_MMC1_DAT1_IN */ |
||||
0x640 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT1_OEN */ |
||||
0x644 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT1_OUT */ |
||||
0x648 A_DELAY_PS(263) G_DELAY_PS(0) /* CFG_MMC1_DAT2_IN */ |
||||
0x64C A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT2_OEN */ |
||||
0x650 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT2_OUT */ |
||||
0x654 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT3_IN */ |
||||
0x658 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT3_OEN */ |
||||
0x65C A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT3_OUT */ |
||||
>; |
||||
}; |
||||
|
||||
/* Corresponds to MMC1_SDR104_MANUAL1 in datamanual */ |
||||
mmc1_iodelay_sdr104_rev11_conf: mmc1_iodelay_sdr104_rev11_conf { |
||||
pinctrl-pin-array = < |
||||
0x620 A_DELAY_PS(1063) G_DELAY_PS(17) /* CFG_MMC1_CLK_OUT */ |
||||
0x628 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_CMD_OEN */ |
||||
0x62c A_DELAY_PS(23) G_DELAY_PS(0) /* CFG_MMC1_CMD_OUT */ |
||||
0x634 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT0_OEN */ |
||||
0x638 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT0_OUT */ |
||||
0x640 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT1_OEN */ |
||||
0x644 A_DELAY_PS(2) G_DELAY_PS(0) /* CFG_MMC1_DAT1_OUT */ |
||||
0x64c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT2_OEN */ |
||||
0x650 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT2_OUT */ |
||||
0x658 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT3_OEN */ |
||||
0x65c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT3_OUT */ |
||||
>; |
||||
}; |
||||
|
||||
/* Corresponds to MMC1_SDR104_MANUAL1 in datamanual */ |
||||
mmc1_iodelay_sdr104_rev20_conf: mmc1_iodelay_sdr104_rev20_conf { |
||||
pinctrl-pin-array = < |
||||
0x620 A_DELAY_PS(600) G_DELAY_PS(400) /* CFG_MMC1_CLK_OUT */ |
||||
0x628 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_CMD_OEN */ |
||||
0x62c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_CMD_OUT */ |
||||
0x634 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT0_OEN */ |
||||
0x638 A_DELAY_PS(30) G_DELAY_PS(0) /* CFG_MMC1_DAT0_OUT */ |
||||
0x640 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT1_OEN */ |
||||
0x644 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT1_OUT */ |
||||
0x64c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT2_OEN */ |
||||
0x650 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT2_OUT */ |
||||
0x658 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT3_OEN */ |
||||
0x65c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC1_DAT3_OUT */ |
||||
>; |
||||
}; |
||||
|
||||
/* Corresponds to MMC2_HS200_MANUAL1 in datamanual */ |
||||
mmc2_iodelay_hs200_rev11_conf: mmc2_iodelay_hs200_rev11_conf { |
||||
pinctrl-pin-array = < |
||||
0x190 A_DELAY_PS(621) G_DELAY_PS(600) /* CFG_GPMC_A19_OEN */ |
||||
0x194 A_DELAY_PS(300) G_DELAY_PS(0) /* CFG_GPMC_A19_OUT */ |
||||
0x1a8 A_DELAY_PS(739) G_DELAY_PS(600) /* CFG_GPMC_A20_OEN */ |
||||
0x1ac A_DELAY_PS(240) G_DELAY_PS(0) /* CFG_GPMC_A20_OUT */ |
||||
0x1b4 A_DELAY_PS(812) G_DELAY_PS(600) /* CFG_GPMC_A21_OEN */ |
||||
0x1b8 A_DELAY_PS(240) G_DELAY_PS(0) /* CFG_GPMC_A21_OUT */ |
||||
0x1c0 A_DELAY_PS(954) G_DELAY_PS(600) /* CFG_GPMC_A22_OEN */ |
||||
0x1c4 A_DELAY_PS(60) G_DELAY_PS(0) /* CFG_GPMC_A22_OUT */ |
||||
0x1d0 A_DELAY_PS(1340) G_DELAY_PS(420) /* CFG_GPMC_A23_OUT */ |
||||
0x1d8 A_DELAY_PS(935) G_DELAY_PS(600) /* CFG_GPMC_A24_OEN */ |
||||
0x1dc A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A24_OUT */ |
||||
0x1e4 A_DELAY_PS(525) G_DELAY_PS(600) /* CFG_GPMC_A25_OEN */ |
||||
0x1e8 A_DELAY_PS(120) G_DELAY_PS(0) /* CFG_GPMC_A25_OUT */ |
||||
0x1f0 A_DELAY_PS(767) G_DELAY_PS(600) /* CFG_GPMC_A26_OEN */ |
||||
0x1f4 A_DELAY_PS(225) G_DELAY_PS(0) /* CFG_GPMC_A26_OUT */ |
||||
0x1fc A_DELAY_PS(565) G_DELAY_PS(600) /* CFG_GPMC_A27_OEN */ |
||||
0x200 A_DELAY_PS(60) G_DELAY_PS(0) /* CFG_GPMC_A27_OUT */ |
||||
0x364 A_DELAY_PS(969) G_DELAY_PS(600) /* CFG_GPMC_CS1_OEN */ |
||||
0x368 A_DELAY_PS(180) G_DELAY_PS(0) /* CFG_GPMC_CS1_OUT */ |
||||
>; |
||||
}; |
||||
|
||||
/* Corresponds to MMC2_HS200_MANUAL1 in datamanual */ |
||||
mmc2_iodelay_hs200_rev20_conf: mmc2_iodelay_hs200_rev20_conf { |
||||
pinctrl-pin-array = < |
||||
0x190 A_DELAY_PS(274) G_DELAY_PS(0) /* CFG_GPMC_A19_OEN */ |
||||
0x194 A_DELAY_PS(162) G_DELAY_PS(0) /* CFG_GPMC_A19_OUT */ |
||||
0x1a8 A_DELAY_PS(401) G_DELAY_PS(0) /* CFG_GPMC_A20_OEN */ |
||||
0x1ac A_DELAY_PS(73) G_DELAY_PS(0) /* CFG_GPMC_A20_OUT */ |
||||
0x1b4 A_DELAY_PS(465) G_DELAY_PS(0) /* CFG_GPMC_A21_OEN */ |
||||
0x1b8 A_DELAY_PS(115) G_DELAY_PS(0) /* CFG_GPMC_A21_OUT */ |
||||
0x1c0 A_DELAY_PS(633) G_DELAY_PS(0) /* CFG_GPMC_A22_OEN */ |
||||
0x1c4 A_DELAY_PS(47) G_DELAY_PS(0) /* CFG_GPMC_A22_OUT */ |
||||
0x1d0 A_DELAY_PS(935) G_DELAY_PS(280) /* CFG_GPMC_A23_OUT */ |
||||
0x1d8 A_DELAY_PS(621) G_DELAY_PS(0) /* CFG_GPMC_A24_OEN */ |
||||
0x1dc A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A24_OUT */ |
||||
0x1e4 A_DELAY_PS(183) G_DELAY_PS(0) /* CFG_GPMC_A25_OEN */ |
||||
0x1e8 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A25_OUT */ |
||||
0x1f0 A_DELAY_PS(467) G_DELAY_PS(0) /* CFG_GPMC_A26_OEN */ |
||||
0x1f4 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A26_OUT */ |
||||
0x1fc A_DELAY_PS(262) G_DELAY_PS(0) /* CFG_GPMC_A27_OEN */ |
||||
0x200 A_DELAY_PS(46) G_DELAY_PS(0) /* CFG_GPMC_A27_OUT */ |
||||
0x364 A_DELAY_PS(684) G_DELAY_PS(0) /* CFG_GPMC_CS1_OEN */ |
||||
0x368 A_DELAY_PS(76) G_DELAY_PS(0) /* CFG_GPMC_CS1_OUT */ |
||||
>; |
||||
}; |
||||
|
||||
/* Correspnds to MMC2_DDR_3V3_MANUAL1 in datamanual */ |
||||
mmc2_iodelay_ddr_3_3v_rev11_conf: mmc2_iodelay_ddr_3_3v_rev11_conf { |
||||
pinctrl-pin-array = < |
||||
0x18c A_DELAY_PS(0) G_DELAY_PS(120) /* CFG_GPMC_A19_IN */ |
||||
0x190 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A19_OEN */ |
||||
0x194 A_DELAY_PS(174) G_DELAY_PS(0) /* CFG_GPMC_A19_OUT */ |
||||
0x1a4 A_DELAY_PS(265) G_DELAY_PS(360) /* CFG_GPMC_A20_IN */ |
||||
0x1a8 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A20_OEN */ |
||||
0x1ac A_DELAY_PS(168) G_DELAY_PS(0) /* CFG_GPMC_A20_OUT */ |
||||
0x1b0 A_DELAY_PS(0) G_DELAY_PS(120) /* CFG_GPMC_A21_IN */ |
||||
0x1b4 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A21_OEN */ |
||||
0x1b8 A_DELAY_PS(136) G_DELAY_PS(0) /* CFG_GPMC_A21_OUT */ |
||||
0x1bc A_DELAY_PS(0) G_DELAY_PS(120) /* CFG_GPMC_A22_IN */ |
||||
0x1c0 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A22_OEN */ |
||||
0x1c4 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A22_OUT */ |
||||
0x1c8 A_DELAY_PS(287) G_DELAY_PS(420) /* CFG_GPMC_A23_IN */ |
||||
0x1d0 A_DELAY_PS(879) G_DELAY_PS(0) /* CFG_GPMC_A23_OUT */ |
||||
0x1d4 A_DELAY_PS(144) G_DELAY_PS(240) /* CFG_GPMC_A24_IN */ |
||||
0x1d8 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A24_OEN */ |
||||
0x1dc A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A24_OUT */ |
||||
0x1e0 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A25_IN */ |
||||
0x1e4 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A25_OEN */ |
||||
0x1e8 A_DELAY_PS(34) G_DELAY_PS(0) /* CFG_GPMC_A25_OUT */ |
||||
0x1ec A_DELAY_PS(0) G_DELAY_PS(120) /* CFG_GPMC_A26_IN */ |
||||
0x1f0 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A26_OEN */ |
||||
0x1f4 A_DELAY_PS(120) G_DELAY_PS(0) /* CFG_GPMC_A26_OUT */ |
||||
0x1f8 A_DELAY_PS(120) G_DELAY_PS(180) /* CFG_GPMC_A27_IN */ |
||||
0x1fc A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A27_OEN */ |
||||
0x200 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A27_OUT */ |
||||
0x360 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_CS1_IN */ |
||||
0x364 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_CS1_OEN */ |
||||
0x368 A_DELAY_PS(11) G_DELAY_PS(0) /* CFG_GPMC_CS1_OUT */ |
||||
>; |
||||
}; |
||||
|
||||
/* Corresponds to MMC2_DDR_1V8_MANUAL1 in datamanual */ |
||||
mmc2_iodelay_ddr_1_8v_rev11_conf: mmc2_iodelay_ddr_1_8v_rev11_conf { |
||||
pinctrl-pin-array = < |
||||
0x18c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A19_IN */ |
||||
0x190 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A19_OEN */ |
||||
0x194 A_DELAY_PS(174) G_DELAY_PS(0) /* CFG_GPMC_A19_OUT */ |
||||
0x1a4 A_DELAY_PS(274) G_DELAY_PS(240) /* CFG_GPMC_A20_IN */ |
||||
0x1a8 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A20_OEN */ |
||||
0x1ac A_DELAY_PS(168) G_DELAY_PS(0) /* CFG_GPMC_A20_OUT */ |
||||
0x1b0 A_DELAY_PS(0) G_DELAY_PS(60) /* CFG_GPMC_A21_IN */ |
||||
0x1b4 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A21_OEN */ |
||||
0x1b8 A_DELAY_PS(136) G_DELAY_PS(0) /* CFG_GPMC_A21_OUT */ |
||||
0x1bc A_DELAY_PS(0) G_DELAY_PS(60) /* CFG_GPMC_A22_IN */ |
||||
0x1c0 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A22_OEN */ |
||||
0x1c4 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A22_OUT */ |
||||
0x1c8 A_DELAY_PS(514) G_DELAY_PS(360) /* CFG_GPMC_A23_IN */ |
||||
0x1d0 A_DELAY_PS(879) G_DELAY_PS(0) /* CFG_GPMC_A23_OUT */ |
||||
0x1d4 A_DELAY_PS(187) G_DELAY_PS(120) /* CFG_GPMC_A24_IN */ |
||||
0x1d8 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A24_OEN */ |
||||
0x1dc A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A24_OUT */ |
||||
0x1e0 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A25_IN */ |
||||
0x1e4 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A25_OEN */ |
||||
0x1e8 A_DELAY_PS(34) G_DELAY_PS(0) /* CFG_GPMC_A25_OUT */ |
||||
0x1ec A_DELAY_PS(0) G_DELAY_PS(60) /* CFG_GPMC_A26_IN */ |
||||
0x1f0 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A26_OEN */ |
||||
0x1f4 A_DELAY_PS(120) G_DELAY_PS(0) /* CFG_GPMC_A26_OUT */ |
||||
0x1f8 A_DELAY_PS(121) G_DELAY_PS(60) /* CFG_GPMC_A27_IN */ |
||||
0x1fc A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A27_OEN */ |
||||
0x200 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_A27_OUT */ |
||||
0x360 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_CS1_IN */ |
||||
0x364 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_GPMC_CS1_OEN */ |
||||
0x368 A_DELAY_PS(11) G_DELAY_PS(0) /* CFG_GPMC_CS1_OUT */ |
||||
>; |
||||
}; |
||||
|
||||
/* Corresponds to MMC3_MANUAL1 in datamanual */ |
||||
mmc3_iodelay_manual1_rev20_conf: mmc3_iodelay_manual1_conf { |
||||
pinctrl-pin-array = < |
||||
0x678 A_DELAY_PS(0) G_DELAY_PS(386) /* CFG_MMC3_CLK_IN */ |
||||
0x680 A_DELAY_PS(605) G_DELAY_PS(0) /* CFG_MMC3_CLK_OUT */ |
||||
0x684 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_CMD_IN */ |
||||
0x688 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_CMD_OEN */ |
||||
0x68c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_CMD_OUT */ |
||||
0x690 A_DELAY_PS(171) G_DELAY_PS(0) /* CFG_MMC3_DAT0_IN */ |
||||
0x694 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_DAT0_OEN */ |
||||
0x698 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_DAT0_OUT */ |
||||
0x69c A_DELAY_PS(221) G_DELAY_PS(0) /* CFG_MMC3_DAT1_IN */ |
||||
0x6a0 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_DAT1_OEN */ |
||||
0x6a4 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_DAT1_OUT */ |
||||
0x6a8 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_DAT2_IN */ |
||||
0x6ac A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_DAT2_OEN */ |
||||
0x6b0 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_DAT2_OUT */ |
||||
0x6b4 A_DELAY_PS(474) G_DELAY_PS(0) /* CFG_MMC3_DAT3_IN */ |
||||
0x6b8 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_DAT3_OEN */ |
||||
0x6bc A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_DAT3_OUT */ |
||||
>; |
||||
}; |
||||
|
||||
/* Corresponds to MMC3_MANUAL1 in datamanual */ |
||||
mmc3_iodelay_manual1_rev11_conf: mmc3_iodelay_manual1_conf { |
||||
pinctrl-pin-array = < |
||||
0x678 A_DELAY_PS(406) G_DELAY_PS(0) /* CFG_MMC3_CLK_IN */ |
||||
0x680 A_DELAY_PS(659) G_DELAY_PS(0) /* CFG_MMC3_CLK_OUT */ |
||||
0x684 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_CMD_IN */ |
||||
0x688 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_CMD_OEN */ |
||||
0x68c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_CMD_OUT */ |
||||
0x690 A_DELAY_PS(130) G_DELAY_PS(0) /* CFG_MMC3_DAT0_IN */ |
||||
0x694 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_DAT0_OEN */ |
||||
0x698 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_DAT0_OUT */ |
||||
0x69c A_DELAY_PS(169) G_DELAY_PS(0) /* CFG_MMC3_DAT1_IN */ |
||||
0x6a0 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_DAT1_OEN */ |
||||
0x6a4 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_DAT1_OUT */ |
||||
0x6a8 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_DAT2_IN */ |
||||
0x6ac A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_DAT2_OEN */ |
||||
0x6b0 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_DAT2_OUT */ |
||||
0x6b4 A_DELAY_PS(457) G_DELAY_PS(0) /* CFG_MMC3_DAT3_IN */ |
||||
0x6b8 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_DAT3_OEN */ |
||||
0x6bc A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_MMC3_DAT3_OUT */ |
||||
>; |
||||
}; |
||||
|
||||
/* Corresponds to MMC4_DS_MANUAL1 in datamanual */ |
||||
mmc4_iodelay_ds_rev11_conf: mmc4_iodelay_ds_rev11_conf { |
||||
pinctrl-pin-array = < |
||||
0x840 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART1_CTSN_IN */ |
||||
0x848 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART1_CTSN_OUT */ |
||||
0x84c A_DELAY_PS(96) G_DELAY_PS(0) /* CFG_UART1_RTSN_IN */ |
||||
0x850 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART1_RTSN_OEN */ |
||||
0x854 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART1_RTSN_OUT */ |
||||
0x870 A_DELAY_PS(582) G_DELAY_PS(0) /* CFG_UART2_CTSN_IN */ |
||||
0x874 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_CTSN_OEN */ |
||||
0x878 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_CTSN_OUT */ |
||||
0x87c A_DELAY_PS(391) G_DELAY_PS(0) /* CFG_UART2_RTSN_IN */ |
||||
0x880 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RTSN_OEN */ |
||||
0x884 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RTSN_OUT */ |
||||
0x888 A_DELAY_PS(561) G_DELAY_PS(0) /* CFG_UART2_RXD_IN */ |
||||
0x88c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RXD_OEN */ |
||||
0x890 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RXD_OUT */ |
||||
0x894 A_DELAY_PS(588) G_DELAY_PS(0) /* CFG_UART2_TXD_IN */ |
||||
0x898 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_TXD_OEN */ |
||||
0x89c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_TXD_OUT */ |
||||
>; |
||||
}; |
||||
|
||||
/* Corresponds to MMC4_DS_MANUAL1 in datamanual */ |
||||
mmc4_iodelay_ds_rev20_conf: mmc4_iodelay_ds_rev20_conf { |
||||
pinctrl-pin-array = < |
||||
0x840 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART1_CTSN_IN */ |
||||
0x848 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART1_CTSN_OUT */ |
||||
0x84c A_DELAY_PS(307) G_DELAY_PS(0) /* CFG_UART1_RTSN_IN */ |
||||
0x850 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART1_RTSN_OEN */ |
||||
0x854 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART1_RTSN_OUT */ |
||||
0x870 A_DELAY_PS(785) G_DELAY_PS(0) /* CFG_UART2_CTSN_IN */ |
||||
0x874 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_CTSN_OEN */ |
||||
0x878 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_CTSN_OUT */ |
||||
0x87c A_DELAY_PS(613) G_DELAY_PS(0) /* CFG_UART2_RTSN_IN */ |
||||
0x880 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RTSN_OEN */ |
||||
0x884 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RTSN_OUT */ |
||||
0x888 A_DELAY_PS(683) G_DELAY_PS(0) /* CFG_UART2_RXD_IN */ |
||||
0x88c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RXD_OEN */ |
||||
0x890 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RXD_OUT */ |
||||
0x894 A_DELAY_PS(835) G_DELAY_PS(0) /* CFG_UART2_TXD_IN */ |
||||
0x898 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_TXD_OEN */ |
||||
0x89c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_TXD_OUT */ |
||||
>; |
||||
}; |
||||
|
||||
/* Corresponds to MMC4_MANUAL1 in datamanual */ |
||||
mmc4_iodelay_sdr12_hs_sdr25_rev11_conf: mmc4_iodelay_sdr12_hs_sdr25_rev11_conf { |
||||
pinctrl-pin-array = < |
||||
0x840 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART1_CTSN_IN */ |
||||
0x848 A_DELAY_PS(2651) G_DELAY_PS(0) /* CFG_UART1_CTSN_OUT */ |
||||
0x84c A_DELAY_PS(1572) G_DELAY_PS(0) /* CFG_UART1_RTSN_IN */ |
||||
0x850 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART1_RTSN_OEN */ |
||||
0x854 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART1_RTSN_OUT */ |
||||
0x870 A_DELAY_PS(1913) G_DELAY_PS(0) /* CFG_UART2_CTSN_IN */ |
||||
0x874 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_CTSN_OEN */ |
||||
0x878 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_CTSN_OUT */ |
||||
0x87c A_DELAY_PS(1721) G_DELAY_PS(0) /* CFG_UART2_RTSN_IN */ |
||||
0x880 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RTSN_OEN */ |
||||
0x884 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RTSN_OUT */ |
||||
0x888 A_DELAY_PS(1891) G_DELAY_PS(0) /* CFG_UART2_RXD_IN */ |
||||
0x88c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RXD_OEN */ |
||||
0x890 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RXD_OUT */ |
||||
0x894 A_DELAY_PS(1919) G_DELAY_PS(0) /* CFG_UART2_TXD_IN */ |
||||
0x898 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_TXD_OEN */ |
||||
0x89c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_TXD_OUT */ |
||||
>; |
||||
}; |
||||
|
||||
/* Corresponds to MMC4_MANUAL1 in datamanual */ |
||||
mmc4_iodelay_sdr12_hs_sdr25_rev20_conf: mmc4_iodelay_sdr12_hs_sdr25_rev20_conf { |
||||
pinctrl-pin-array = < |
||||
0x840 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART1_CTSN_IN */ |
||||
0x848 A_DELAY_PS(1147) G_DELAY_PS(0) /* CFG_UART1_CTSN_OUT */ |
||||
0x84c A_DELAY_PS(1834) G_DELAY_PS(0) /* CFG_UART1_RTSN_IN */ |
||||
0x850 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART1_RTSN_OEN */ |
||||
0x854 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART1_RTSN_OUT */ |
||||
0x870 A_DELAY_PS(2165) G_DELAY_PS(0) /* CFG_UART2_CTSN_IN */ |
||||
0x874 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_CTSN_OEN */ |
||||
0x878 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_CTSN_OUT */ |
||||
0x87c A_DELAY_PS(1929) G_DELAY_PS(64) /* CFG_UART2_RTSN_IN */ |
||||
0x880 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RTSN_OEN */ |
||||
0x884 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RTSN_OUT */ |
||||
0x888 A_DELAY_PS(1935) G_DELAY_PS(128) /* CFG_UART2_RXD_IN */ |
||||
0x88c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RXD_OEN */ |
||||
0x890 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RXD_OUT */ |
||||
0x894 A_DELAY_PS(2172) G_DELAY_PS(44) /* CFG_UART2_TXD_IN */ |
||||
0x898 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_TXD_OEN */ |
||||
0x89c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_TXD_OUT */ |
||||
>; |
||||
}; |
||||
}; |
@ -0,0 +1,423 @@ |
||||
/* |
||||
* Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ |
||||
* |
||||
* This program is free software; you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License version 2 as |
||||
* published by the Free Software Foundation. |
||||
*/ |
||||
/dts-v1/; |
||||
|
||||
#include "dra76x.dtsi" |
||||
#include "dra7-evm-common.dtsi" |
||||
#include <dt-bindings/net/ti-dp83867.h> |
||||
|
||||
/ { |
||||
model = "TI DRA762 EVM"; |
||||
compatible = "ti,dra76-evm", "ti,dra762", "ti,dra7"; |
||||
|
||||
memory@0 { |
||||
device_type = "memory"; |
||||
reg = <0x0 0x80000000 0x0 0x80000000>; |
||||
}; |
||||
|
||||
vsys_12v0: fixedregulator-vsys12v0 { |
||||
/* main supply */ |
||||
compatible = "regulator-fixed"; |
||||
regulator-name = "vsys_12v0"; |
||||
regulator-min-microvolt = <12000000>; |
||||
regulator-max-microvolt = <12000000>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
vsys_5v0: fixedregulator-vsys5v0 { |
||||
/* Output of Cntlr B of TPS43351-Q1 on dra76-evm */ |
||||
compatible = "regulator-fixed"; |
||||
regulator-name = "vsys_5v0"; |
||||
regulator-min-microvolt = <5000000>; |
||||
regulator-max-microvolt = <5000000>; |
||||
vin-supply = <&vsys_12v0>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
vsys_3v3: fixedregulator-vsys3v3 { |
||||
/* Output of Cntlr A of TPS43351-Q1 on dra76-evm */ |
||||
compatible = "regulator-fixed"; |
||||
regulator-name = "vsys_3v3"; |
||||
regulator-min-microvolt = <3300000>; |
||||
regulator-max-microvolt = <3300000>; |
||||
vin-supply = <&vsys_12v0>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
vio_3v3: fixedregulator-vio_3v3 { |
||||
compatible = "regulator-fixed"; |
||||
regulator-name = "vio_3v3"; |
||||
regulator-min-microvolt = <3300000>; |
||||
regulator-max-microvolt = <3300000>; |
||||
vin-supply = <&vsys_3v3>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
vio_3v3_sd: fixedregulator-sd { |
||||
compatible = "regulator-fixed"; |
||||
regulator-name = "vio_3v3_sd"; |
||||
regulator-min-microvolt = <3300000>; |
||||
regulator-max-microvolt = <3300000>; |
||||
vin-supply = <&vio_3v3>; |
||||
enable-active-high; |
||||
gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>; |
||||
}; |
||||
|
||||
vio_1v8: fixedregulator-vio_1v8 { |
||||
compatible = "regulator-fixed"; |
||||
regulator-name = "vio_1v8"; |
||||
regulator-min-microvolt = <1800000>; |
||||
regulator-max-microvolt = <1800000>; |
||||
vin-supply = <&smps5_reg>; |
||||
}; |
||||
|
||||
vtt_fixed: fixedregulator-vtt { |
||||
compatible = "regulator-fixed"; |
||||
regulator-name = "vtt_fixed"; |
||||
regulator-min-microvolt = <1350000>; |
||||
regulator-max-microvolt = <1350000>; |
||||
vin-supply = <&vsys_3v3>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
aic_dvdd: fixedregulator-aic_dvdd { |
||||
/* TPS77018DBVT */ |
||||
compatible = "regulator-fixed"; |
||||
regulator-name = "aic_dvdd"; |
||||
vin-supply = <&vio_3v3>; |
||||
regulator-min-microvolt = <1800000>; |
||||
regulator-max-microvolt = <1800000>; |
||||
}; |
||||
}; |
||||
|
||||
&dra7_pmx_core { |
||||
mmc1_pins_default: mmc1_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x376c, PIN_INPUT | MUX_MODE14) /* mmc1sdcd.gpio219 */ |
||||
DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */ |
||||
DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */ |
||||
DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc1_pins_sdr12: pinmux_mmc1_sdr12_pins { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */ |
||||
DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */ |
||||
DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */ |
||||
>; |
||||
}; |
||||
|
||||
mmc2_pins_default: mmc2_pins_default { |
||||
pinctrl-single,pins = < |
||||
DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */ |
||||
DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ |
||||
DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ |
||||
DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ |
||||
DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ |
||||
DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ |
||||
DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ |
||||
DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ |
||||
DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ |
||||
DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ |
||||
>; |
||||
}; |
||||
}; |
||||
|
||||
&i2c1 { |
||||
status = "okay"; |
||||
clock-frequency = <400000>; |
||||
|
||||
tps65917: tps65917@58 { |
||||
compatible = "ti,tps65917"; |
||||
reg = <0x58>; |
||||
ti,system-power-controller; |
||||
interrupt-controller; |
||||
#interrupt-cells = <2>; |
||||
|
||||
tps65917_pmic { |
||||
compatible = "ti,tps65917-pmic"; |
||||
|
||||
smps12-in-supply = <&vsys_3v3>; |
||||
smps3-in-supply = <&vsys_3v3>; |
||||
smps4-in-supply = <&vsys_3v3>; |
||||
smps5-in-supply = <&vsys_3v3>; |
||||
ldo1-in-supply = <&vsys_3v3>; |
||||
ldo2-in-supply = <&vsys_3v3>; |
||||
ldo3-in-supply = <&vsys_5v0>; |
||||
ldo4-in-supply = <&vsys_5v0>; |
||||
ldo5-in-supply = <&vsys_3v3>; |
||||
|
||||
tps65917_regulators: regulators { |
||||
smps12_reg: smps12 { |
||||
/* VDD_DSPEVE */ |
||||
regulator-name = "smps12"; |
||||
regulator-min-microvolt = <850000>; |
||||
regulator-max-microvolt = <1250000>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
smps3_reg: smps3 { |
||||
/* VDD_CORE */ |
||||
regulator-name = "smps3"; |
||||
regulator-min-microvolt = <850000>; |
||||
regulator-max-microvolt = <1250000>; |
||||
regulator-boot-on; |
||||
regulator-always-on; |
||||
}; |
||||
|
||||
smps4_reg: smps4 { |
||||
/* VDD_IVA */ |
||||
regulator-name = "smps4"; |
||||
regulator-min-microvolt = <850000>; |
||||
regulator-max-microvolt = <1250000>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
smps5_reg: smps5 { |
||||
/* VDDS1V8 */ |
||||
regulator-name = "smps5"; |
||||
regulator-min-microvolt = <1800000>; |
||||
regulator-max-microvolt = <1800000>; |
||||
regulator-boot-on; |
||||
regulator-always-on; |
||||
}; |
||||
|
||||
ldo1_reg: ldo1 { |
||||
/* LDO1_OUT --> VDA_PHY1_1V8 */ |
||||
regulator-name = "ldo1"; |
||||
regulator-min-microvolt = <1800000>; |
||||
regulator-max-microvolt = <1800000>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
regulator-allow-bypass; |
||||
}; |
||||
|
||||
ldo2_reg: ldo2 { |
||||
/* LDO2_OUT --> VDA_PHY2_1V8 */ |
||||
regulator-name = "ldo2"; |
||||
regulator-min-microvolt = <1800000>; |
||||
regulator-max-microvolt = <1800000>; |
||||
regulator-allow-bypass; |
||||
regulator-always-on; |
||||
}; |
||||
|
||||
ldo3_reg: ldo3 { |
||||
/* VDA_USB_3V3 */ |
||||
regulator-name = "ldo3"; |
||||
regulator-min-microvolt = <3300000>; |
||||
regulator-max-microvolt = <3300000>; |
||||
regulator-boot-on; |
||||
regulator-always-on; |
||||
}; |
||||
|
||||
ldo5_reg: ldo5 { |
||||
/* VDDA_1V8_PLL */ |
||||
regulator-name = "ldo5"; |
||||
regulator-min-microvolt = <1800000>; |
||||
regulator-max-microvolt = <1800000>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
ldo4_reg: ldo4 { |
||||
/* VDD_SDIO_DV */ |
||||
regulator-name = "ldo4"; |
||||
regulator-min-microvolt = <1800000>; |
||||
regulator-max-microvolt = <3300000>; |
||||
regulator-boot-on; |
||||
regulator-always-on; |
||||
}; |
||||
}; |
||||
}; |
||||
|
||||
tps65917_power_button { |
||||
compatible = "ti,palmas-pwrbutton"; |
||||
interrupt-parent = <&tps65917>; |
||||
interrupts = <1 IRQ_TYPE_NONE>; |
||||
wakeup-source; |
||||
ti,palmas-long-press-seconds = <6>; |
||||
}; |
||||
}; |
||||
|
||||
lp87565: lp87565@60 { |
||||
compatible = "ti,lp87565-q1"; |
||||
reg = <0x60>; |
||||
|
||||
buck10-in-supply =<&vsys_3v3>; |
||||
buck23-in-supply =<&vsys_3v3>; |
||||
|
||||
regulators: regulators { |
||||
buck10_reg: buck10 { |
||||
/*VDD_MPU*/ |
||||
regulator-name = "buck10"; |
||||
regulator-min-microvolt = <850000>; |
||||
regulator-max-microvolt = <1250000>; |
||||
regulator-always-on; |
||||
regulator-boot-on; |
||||
}; |
||||
|
||||
buck23_reg: buck23 { |
||||
/* VDD_GPU*/ |
||||
regulator-name = "buck23"; |
||||
regulator-min-microvolt = <850000>; |
||||
regulator-max-microvolt = <1250000>; |
||||
regulator-boot-on; |
||||
regulator-always-on; |
||||
}; |
||||
}; |
||||
}; |
||||
|
||||
pcf_lcd: pcf8757@20 { |
||||
compatible = "ti,pcf8575", "nxp,pcf8575"; |
||||
reg = <0x20>; |
||||
gpio-controller; |
||||
#gpio-cells = <2>; |
||||
interrupt-controller; |
||||
#interrupt-cells = <2>; |
||||
interrupt-parent = <&gpio1>; |
||||
interrupts = <3 IRQ_TYPE_EDGE_FALLING>; |
||||
}; |
||||
|
||||
pcf_gpio_21: pcf8757@21 { |
||||
compatible = "ti,pcf8575", "nxp,pcf8575"; |
||||
reg = <0x21>; |
||||
gpio-controller; |
||||
#gpio-cells = <2>; |
||||
interrupt-parent = <&gpio1>; |
||||
interrupts = <3 IRQ_TYPE_EDGE_FALLING>; |
||||
interrupt-controller; |
||||
#interrupt-cells = <2>; |
||||
}; |
||||
|
||||
pcf_hdmi: pcf8575@26 { |
||||
compatible = "ti,pcf8575", "nxp,pcf8575"; |
||||
reg = <0x26>; |
||||
gpio-controller; |
||||
#gpio-cells = <2>; |
||||
p1 { |
||||
/* vin6_sel_s0: high: VIN6, low: audio */ |
||||
gpio-hog; |
||||
gpios = <1 GPIO_ACTIVE_HIGH>; |
||||
output-low; |
||||
line-name = "vin6_sel_s0"; |
||||
}; |
||||
}; |
||||
|
||||
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 = <&vio_3v3>; |
||||
IOVDD-supply = <&vio_3v3>; |
||||
DRVDD-supply = <&vio_3v3>; |
||||
DVDD-supply = <&aic_dvdd>; |
||||
}; |
||||
}; |
||||
|
||||
&cpu0 { |
||||
vdd-supply = <&buck10_reg>; |
||||
}; |
||||
|
||||
&mmc1 { |
||||
status = "okay"; |
||||
vmmc-supply = <&vio_3v3_sd>; |
||||
vmmc_aux-supply = <&ldo4_reg>; |
||||
bus-width = <4>; |
||||
/* |
||||
* SDCD signal is not being used here - using the fact that GPIO mode |
||||
* is always hardwired. |
||||
*/ |
||||
cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; |
||||
pinctrl-names = "default"; |
||||
pinctrl-0 = <&mmc1_pins_default>; |
||||
}; |
||||
|
||||
&mmc2 { |
||||
status = "okay"; |
||||
vmmc-supply = <&vio_1v8>; |
||||
bus-width = <8>; |
||||
pinctrl-names = "default"; |
||||
pinctrl-0 = <&mmc2_pins_default>; |
||||
}; |
||||
|
||||
/* No RTC on this device */ |
||||
&rtc { |
||||
status = "disabled"; |
||||
}; |
||||
|
||||
&mac { |
||||
status = "okay"; |
||||
|
||||
dual_emac; |
||||
}; |
||||
|
||||
&cpsw_emac0 { |
||||
phy_id = <&davinci_mdio>, <2>; |
||||
phy-mode = "rgmii-id"; |
||||
dual_emac_res_vlan = <1>; |
||||
}; |
||||
|
||||
&cpsw_emac1 { |
||||
phy_id = <&davinci_mdio>, <3>; |
||||
phy-mode = "rgmii-id"; |
||||
dual_emac_res_vlan = <2>; |
||||
}; |
||||
|
||||
&davinci_mdio { |
||||
dp83867_0: ethernet-phy@2 { |
||||
reg = <2>; |
||||
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; |
||||
ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>; |
||||
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>; |
||||
ti,min-output-impedance; |
||||
ti,dp83867-rxctrl-strap-quirk; |
||||
}; |
||||
|
||||
dp83867_1: ethernet-phy@3 { |
||||
reg = <3>; |
||||
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; |
||||
ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>; |
||||
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>; |
||||
ti,min-output-impedance; |
||||
ti,dp83867-rxctrl-strap-quirk; |
||||
}; |
||||
}; |
||||
|
||||
&usb2_phy1 { |
||||
phy-supply = <&ldo3_reg>; |
||||
}; |
||||
|
||||
&usb2_phy2 { |
||||
phy-supply = <&ldo3_reg>; |
||||
}; |
||||
|
||||
&qspi { |
||||
spi-max-frequency = <96000000>; |
||||
m25p80@0 { |
||||
spi-max-frequency = <96000000>; |
||||
}; |
||||
}; |
@ -0,0 +1,19 @@ |
||||
/* |
||||
* Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ |
||||
* |
||||
* This program is free software; you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License version 2 as |
||||
* published by the Free Software Foundation. |
||||
*/ |
||||
|
||||
#include "dra74x.dtsi" |
||||
|
||||
/ { |
||||
compatible = "ti,dra762", "ti,dra7"; |
||||
|
||||
}; |
||||
|
||||
/* MCAN interrupts are hard-wired to irqs 67, 68 */ |
||||
&crossbar_mpu { |
||||
ti,irqs-skip = <10 67 68 133 139 140>; |
||||
}; |
Loading…
Reference in new issue