xref: /openbmc/linux/arch/arm/boot/dts/ti/omap/dra76x-mmc-iodelay.dtsi (revision 2612e3bbc0386368a850140a6c9b990cd496a5ec)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring// Copyright (c) 2018 Texas Instruments
3*724ba675SRob Herring// MMC IOdelay values for TI's DRA76x and AM576x SoCs.
4*724ba675SRob Herring// Author: Sekhar Nori <nsekhar@ti.com>
5*724ba675SRob Herring
6*724ba675SRob Herring/*
7*724ba675SRob Herring * Rules for modifying this file:
8*724ba675SRob Herring * a) Update of this file should typically correspond to a datamanual revision.
9*724ba675SRob Herring *    Datamanual revision that was used should be updated in comment below.
10*724ba675SRob Herring *    If there is no update to datamanual, do not update the values. If you
11*724ba675SRob Herring *    need to use values different from that recommended by the datamanual
12*724ba675SRob Herring *    for your design, then you should consider adding values to the device-
13*724ba675SRob Herring *    -tree file for your board directly.
14*724ba675SRob Herring * b) We keep the mode names as close to the datamanual as possible. So
15*724ba675SRob Herring *    if the manual calls a mode, DDR50, or DDR or DDR 1.8v or DDR 3.3v,
16*724ba675SRob Herring *    we follow that in code too.
17*724ba675SRob Herring * c) If the values change between multiple revisions of silicon, we add
18*724ba675SRob Herring *    a revision tag to both the new and old entry. Use 'rev11' for PG 1.1,
19*724ba675SRob Herring *    'rev20' for PG 2.0 and so on.
20*724ba675SRob Herring * d) The node name and node label should be the exact same string. This is
21*724ba675SRob Herring *    to curb naming creativity and achieve consistency.
22*724ba675SRob Herring *
23*724ba675SRob Herring * Datamanual Revisions:
24*724ba675SRob Herring *
25*724ba675SRob Herring * DRA76x Silicon Revision 1.0: SPRS993E, Revised December 2018
26*724ba675SRob Herring *
27*724ba675SRob Herring */
28*724ba675SRob Herring
29*724ba675SRob Herring&dra7_pmx_core {
30*724ba675SRob Herring	mmc1_pins_default: mmc1-default-pins {
31*724ba675SRob Herring		pinctrl-single,pins = <
32*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */
33*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */
34*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */
35*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */
36*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */
37*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */
38*724ba675SRob Herring		>;
39*724ba675SRob Herring	};
40*724ba675SRob Herring
41*724ba675SRob Herring	mmc1_pins_hs: mmc1-hs-pins {
42*724ba675SRob Herring		pinctrl-single,pins = <
43*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_clk.clk */
44*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_cmd.cmd */
45*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat0.dat0 */
46*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat1.dat1 */
47*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat2.dat2 */
48*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat3.dat3 */
49*724ba675SRob Herring		>;
50*724ba675SRob Herring	};
51*724ba675SRob Herring
52*724ba675SRob Herring	mmc1_pins_sdr50: mmc1-sdr50-pins {
53*724ba675SRob Herring		pinctrl-single,pins = <
54*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE10 | MUX_MODE0)	/* mmc1_clk.clk */
55*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE10 | MUX_MODE0)	/* mmc1_cmd.cmd */
56*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE10 | MUX_MODE0)	/* mmc1_dat0.dat0 */
57*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE10 | MUX_MODE0)	/* mmc1_dat1.dat1 */
58*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE10 | MUX_MODE0)	/* mmc1_dat2.dat2 */
59*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE10 | MUX_MODE0)	/* mmc1_dat3.dat3 */
60*724ba675SRob Herring		>;
61*724ba675SRob Herring	};
62*724ba675SRob Herring
63*724ba675SRob Herring	mmc1_pins_ddr50: mmc1-ddr50-pins {
64*724ba675SRob Herring		pinctrl-single,pins = <
65*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0)	/* mmc1_clk.clk */
66*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0)	/* mmc1_cmd.cmd */
67*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0)	/* mmc1_dat0.dat0 */
68*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0)	/* mmc1_dat1.dat1 */
69*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0)	/* mmc1_dat2.dat2 */
70*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0)	/* mmc1_dat3.dat3 */
71*724ba675SRob Herring		>;
72*724ba675SRob Herring	};
73*724ba675SRob Herring
74*724ba675SRob Herring	mmc2_pins_default: mmc2-default-pins {
75*724ba675SRob Herring		pinctrl-single,pins = <
76*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */
77*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */
78*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */
79*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */
80*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */
81*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */
82*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */
83*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */
84*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */
85*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */
86*724ba675SRob Herring		>;
87*724ba675SRob Herring	};
88*724ba675SRob Herring
89*724ba675SRob Herring	mmc2_pins_hs200: mmc2-hs200-pins {
90*724ba675SRob Herring		pinctrl-single,pins = <
91*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a23.mmc2_clk */
92*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */
93*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */
94*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */
95*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */
96*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */
97*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */
98*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */
99*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */
100*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */
101*724ba675SRob Herring		>;
102*724ba675SRob Herring	};
103*724ba675SRob Herring
104*724ba675SRob Herring	mmc3_pins_default: mmc3-default-pins {
105*724ba675SRob Herring		pinctrl-single,pins = <
106*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x377c, (PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0)) /* mmc3_clk.mmc3_clk */
107*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3780, (PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0)) /* mmc3_cmd.mmc3_cmd */
108*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3784, (PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0)) /* mmc3_dat0.mmc3_dat0 */
109*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3788, (PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0)) /* mmc3_dat1.mmc3_dat1 */
110*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x378c, (PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0)) /* mmc3_dat2.mmc3_dat2 */
111*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x3790, (PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE0)) /* mmc3_dat3.mmc3_dat3 */
112*724ba675SRob Herring		>;
113*724ba675SRob Herring	};
114*724ba675SRob Herring
115*724ba675SRob Herring	mmc4_pins_hs: mmc4-hs-pins {
116*724ba675SRob Herring		pinctrl-single,pins = <
117*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x37e8, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart1_ctsn.mmc4_clk */
118*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x37ec, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart1_rtsn.mmc4_cmd */
119*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x37f0, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_rxd.mmc4_dat0 */
120*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x37f4, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_txd.mmc4_dat1 */
121*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x37f8, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_ctsn.mmc4_dat2 */
122*724ba675SRob Herring			DRA7XX_CORE_IOPAD(0x37fc, PIN_INPUT_PULLUP | MODE_SELECT | MUX_MODE3) /* uart2_rtsn.mmc4_dat3 */
123*724ba675SRob Herring		>;
124*724ba675SRob Herring	};
125*724ba675SRob Herring};
126*724ba675SRob Herring
127*724ba675SRob Herring&dra7_iodelay_core {
128*724ba675SRob Herring
129*724ba675SRob Herring	/* Corresponds to MMC1_DDR_MANUAL1 in datamanual */
130*724ba675SRob Herring	mmc1_iodelay_ddr_conf: mmc1_iodelay_ddr_conf {
131*724ba675SRob Herring		pinctrl-pin-array = <
132*724ba675SRob Herring			0x618 A_DELAY_PS(489) G_DELAY_PS(0)	/* CFG_MMC1_CLK_IN */
133*724ba675SRob Herring			0x624 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_CMD_IN */
134*724ba675SRob Herring			0x630 A_DELAY_PS(374) G_DELAY_PS(0)	/* CFG_MMC1_DAT0_IN */
135*724ba675SRob Herring			0x63c A_DELAY_PS(31) G_DELAY_PS(0)	/* CFG_MMC1_DAT1_IN */
136*724ba675SRob Herring			0x648 A_DELAY_PS(56) G_DELAY_PS(0)	/* CFG_MMC1_DAT2_IN */
137*724ba675SRob Herring			0x654 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_DAT3_IN */
138*724ba675SRob Herring			0x620 A_DELAY_PS(1355) G_DELAY_PS(0)	/* CFG_MMC1_CLK_OUT */
139*724ba675SRob Herring			0x628 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_CMD_OEN */
140*724ba675SRob Herring			0x62c A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_CMD_OUT */
141*724ba675SRob Herring			0x634 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_DAT0_OEN */
142*724ba675SRob Herring			0x638 A_DELAY_PS(0) G_DELAY_PS(4)	/* CFG_MMC1_DAT0_OUT */
143*724ba675SRob Herring			0x640 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_DAT1_OEN */
144*724ba675SRob Herring			0x644 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_DAT1_OUT */
145*724ba675SRob Herring			0x64c A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_DAT2_OEN */
146*724ba675SRob Herring			0x650 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_DAT2_OUT */
147*724ba675SRob Herring			0x658 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_DAT3_OEN */
148*724ba675SRob Herring			0x65c A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_DAT3_OUT */
149*724ba675SRob Herring		>;
150*724ba675SRob Herring	};
151*724ba675SRob Herring
152*724ba675SRob Herring	/* Corresponds to MMC1_SDR104_MANUAL1 in datamanual */
153*724ba675SRob Herring	mmc1_iodelay_sdr104_conf: mmc1_iodelay_sdr104_conf {
154*724ba675SRob Herring		pinctrl-pin-array = <
155*724ba675SRob Herring			0x620 A_DELAY_PS(892) G_DELAY_PS(0)	/* CFG_MMC1_CLK_OUT */
156*724ba675SRob Herring			0x628 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_CMD_OEN */
157*724ba675SRob Herring			0x62c A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_CMD_OUT */
158*724ba675SRob Herring			0x634 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_DAT0_OEN */
159*724ba675SRob Herring			0x638 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_DAT0_OUT */
160*724ba675SRob Herring			0x640 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_DAT1_OEN */
161*724ba675SRob Herring			0x644 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_DAT1_OUT */
162*724ba675SRob Herring			0x64c A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_DAT2_OEN */
163*724ba675SRob Herring			0x650 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_DAT2_OUT */
164*724ba675SRob Herring			0x658 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_DAT3_OEN */
165*724ba675SRob Herring			0x65c A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC1_DAT3_OUT */
166*724ba675SRob Herring		>;
167*724ba675SRob Herring	};
168*724ba675SRob Herring
169*724ba675SRob Herring	/* Corresponds to MMC2_HS200_MANUAL1 in datamanual */
170*724ba675SRob Herring	mmc2_iodelay_hs200_conf: mmc2_iodelay_hs200_conf {
171*724ba675SRob Herring		pinctrl-pin-array = <
172*724ba675SRob Herring			0x190 A_DELAY_PS(384) G_DELAY_PS(0)	/* CFG_GPMC_A19_OEN */
173*724ba675SRob Herring			0x194 A_DELAY_PS(350) G_DELAY_PS(174)	/* CFG_GPMC_A19_OUT */
174*724ba675SRob Herring			0x1a8 A_DELAY_PS(410) G_DELAY_PS(0)	/* CFG_GPMC_A20_OEN */
175*724ba675SRob Herring			0x1ac A_DELAY_PS(335) G_DELAY_PS(0)	/* CFG_GPMC_A20_OUT */
176*724ba675SRob Herring			0x1b4 A_DELAY_PS(468) G_DELAY_PS(0)	/* CFG_GPMC_A21_OEN */
177*724ba675SRob Herring			0x1b8 A_DELAY_PS(339) G_DELAY_PS(0)	/* CFG_GPMC_A21_OUT */
178*724ba675SRob Herring			0x1c0 A_DELAY_PS(676) G_DELAY_PS(0)	/* CFG_GPMC_A22_OEN */
179*724ba675SRob Herring			0x1c4 A_DELAY_PS(219) G_DELAY_PS(0)	/* CFG_GPMC_A22_OUT */
180*724ba675SRob Herring			0x1d0 A_DELAY_PS(1062) G_DELAY_PS(154)	/* CFG_GPMC_A23_OUT */
181*724ba675SRob Herring			0x1d8 A_DELAY_PS(640) G_DELAY_PS(0)	/* CFG_GPMC_A24_OEN */
182*724ba675SRob Herring			0x1dc A_DELAY_PS(150) G_DELAY_PS(0)	/* CFG_GPMC_A24_OUT */
183*724ba675SRob Herring			0x1e4 A_DELAY_PS(356) G_DELAY_PS(0)	/* CFG_GPMC_A25_OEN */
184*724ba675SRob Herring			0x1e8 A_DELAY_PS(150) G_DELAY_PS(0)	/* CFG_GPMC_A25_OUT */
185*724ba675SRob Herring			0x1f0 A_DELAY_PS(579) G_DELAY_PS(0)	/* CFG_GPMC_A26_OEN */
186*724ba675SRob Herring			0x1f4 A_DELAY_PS(200) G_DELAY_PS(0)	/* CFG_GPMC_A26_OUT */
187*724ba675SRob Herring			0x1fc A_DELAY_PS(435) G_DELAY_PS(0)	/* CFG_GPMC_A27_OEN */
188*724ba675SRob Herring			0x200 A_DELAY_PS(236) G_DELAY_PS(0)	/* CFG_GPMC_A27_OUT */
189*724ba675SRob Herring			0x364 A_DELAY_PS(759) G_DELAY_PS(0)	/* CFG_GPMC_CS1_OEN */
190*724ba675SRob Herring			0x368 A_DELAY_PS(372) G_DELAY_PS(0)	/* CFG_GPMC_CS1_OUT */
191*724ba675SRob Herring	      >;
192*724ba675SRob Herring	};
193*724ba675SRob Herring
194*724ba675SRob Herring	/* Corresponds to MMC3_MANUAL1 in datamanual */
195*724ba675SRob Herring	mmc3_iodelay_manual1_conf: mmc3_iodelay_manual1_conf {
196*724ba675SRob Herring		pinctrl-pin-array = <
197*724ba675SRob Herring			0x678 A_DELAY_PS(0) G_DELAY_PS(386)	/* CFG_MMC3_CLK_IN */
198*724ba675SRob Herring			0x680 A_DELAY_PS(605) G_DELAY_PS(0)	/* CFG_MMC3_CLK_OUT */
199*724ba675SRob Herring			0x684 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_CMD_IN */
200*724ba675SRob Herring			0x688 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_CMD_OEN */
201*724ba675SRob Herring			0x68c A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_CMD_OUT */
202*724ba675SRob Herring			0x690 A_DELAY_PS(171) G_DELAY_PS(0)	/* CFG_MMC3_DAT0_IN */
203*724ba675SRob Herring			0x694 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_DAT0_OEN */
204*724ba675SRob Herring			0x698 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_DAT0_OUT */
205*724ba675SRob Herring			0x69c A_DELAY_PS(221) G_DELAY_PS(0)	/* CFG_MMC3_DAT1_IN */
206*724ba675SRob Herring			0x6a0 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_DAT1_OEN */
207*724ba675SRob Herring			0x6a4 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_DAT1_OUT */
208*724ba675SRob Herring			0x6a8 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_DAT2_IN */
209*724ba675SRob Herring			0x6ac A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_DAT2_OEN */
210*724ba675SRob Herring			0x6b0 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_DAT2_OUT */
211*724ba675SRob Herring			0x6b4 A_DELAY_PS(474) G_DELAY_PS(0)	/* CFG_MMC3_DAT3_IN */
212*724ba675SRob Herring			0x6b8 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_DAT3_OEN */
213*724ba675SRob Herring			0x6bc A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_DAT3_OUT */
214*724ba675SRob Herring		>;
215*724ba675SRob Herring	};
216*724ba675SRob Herring
217*724ba675SRob Herring	/* Corresponds to MMC3_MANUAL2 in datamanual */
218*724ba675SRob Herring	mmc3_iodelay_sdr50_conf: mmc3_iodelay_sdr50_conf {
219*724ba675SRob Herring		pinctrl-pin-array = <
220*724ba675SRob Herring			0x678 A_DELAY_PS(852) G_DELAY_PS(0)	/* CFG_MMC3_CLK_IN */
221*724ba675SRob Herring			0x680 A_DELAY_PS(94) G_DELAY_PS(0)	/* CFG_MMC3_CLK_OUT */
222*724ba675SRob Herring			0x684 A_DELAY_PS(122) G_DELAY_PS(0)	/* CFG_MMC3_CMD_IN */
223*724ba675SRob Herring			0x688 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_CMD_OEN */
224*724ba675SRob Herring			0x68c A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_CMD_OUT */
225*724ba675SRob Herring			0x690 A_DELAY_PS(91) G_DELAY_PS(0)	/* CFG_MMC3_DAT0_IN */
226*724ba675SRob Herring			0x694 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_DAT0_OEN */
227*724ba675SRob Herring			0x698 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_DAT0_OUT */
228*724ba675SRob Herring			0x69c A_DELAY_PS(57) G_DELAY_PS(0)	/* CFG_MMC3_DAT1_IN */
229*724ba675SRob Herring			0x6a0 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_DAT1_OEN */
230*724ba675SRob Herring			0x6a4 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_DAT1_OUT */
231*724ba675SRob Herring			0x6a8 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_DAT2_IN */
232*724ba675SRob Herring			0x6ac A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_DAT2_OEN */
233*724ba675SRob Herring			0x6b0 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_DAT2_OUT */
234*724ba675SRob Herring			0x6b4 A_DELAY_PS(375) G_DELAY_PS(0)	/* CFG_MMC3_DAT3_IN */
235*724ba675SRob Herring			0x6b8 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_DAT3_OEN */
236*724ba675SRob Herring			0x6bc A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_MMC3_DAT3_OUT */
237*724ba675SRob Herring		>;
238*724ba675SRob Herring	};
239*724ba675SRob Herring
240*724ba675SRob Herring	/* Corresponds to MMC4_MANUAL1 in datamanual */
241*724ba675SRob Herring	mmc4_iodelay_manual1_conf: mmc4_iodelay_manual1_conf {
242*724ba675SRob Herring		pinctrl-pin-array = <
243*724ba675SRob Herring			0x840 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART1_CTSN_IN */
244*724ba675SRob Herring			0x848 A_DELAY_PS(1147) G_DELAY_PS(0)	/* CFG_UART1_CTSN_OUT */
245*724ba675SRob Herring			0x84c A_DELAY_PS(1834) G_DELAY_PS(0)	/* CFG_UART1_RTSN_IN */
246*724ba675SRob Herring			0x850 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART1_RTSN_OEN */
247*724ba675SRob Herring			0x854 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART1_RTSN_OUT */
248*724ba675SRob Herring			0x870 A_DELAY_PS(2165) G_DELAY_PS(0)	/* CFG_UART2_CTSN_IN */
249*724ba675SRob Herring			0x874 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART2_CTSN_OEN */
250*724ba675SRob Herring			0x878 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART2_CTSN_OUT */
251*724ba675SRob Herring			0x87c A_DELAY_PS(1929) G_DELAY_PS(64)	/* CFG_UART2_RTSN_IN */
252*724ba675SRob Herring			0x880 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART2_RTSN_OEN */
253*724ba675SRob Herring			0x884 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART2_RTSN_OUT */
254*724ba675SRob Herring			0x888 A_DELAY_PS(1935) G_DELAY_PS(128)	/* CFG_UART2_RXD_IN */
255*724ba675SRob Herring			0x88c A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART2_RXD_OEN */
256*724ba675SRob Herring			0x890 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART2_RXD_OUT */
257*724ba675SRob Herring			0x894 A_DELAY_PS(2172) G_DELAY_PS(44)	/* CFG_UART2_TXD_IN */
258*724ba675SRob Herring			0x898 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART2_TXD_OEN */
259*724ba675SRob Herring			0x89c A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART2_TXD_OUT */
260*724ba675SRob Herring		>;
261*724ba675SRob Herring	};
262*724ba675SRob Herring
263*724ba675SRob Herring	/* Corresponds to MMC4_DS_MANUAL1 in datamanual */
264*724ba675SRob Herring	mmc4_iodelay_default_conf: mmc4_iodelay_default_conf {
265*724ba675SRob Herring		pinctrl-pin-array = <
266*724ba675SRob Herring			0x840 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART1_CTSN_IN */
267*724ba675SRob Herring			0x848 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART1_CTSN_OUT */
268*724ba675SRob Herring			0x84c A_DELAY_PS(307) G_DELAY_PS(0)	/* CFG_UART1_RTSN_IN */
269*724ba675SRob Herring			0x850 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART1_RTSN_OEN */
270*724ba675SRob Herring			0x854 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART1_RTSN_OUT */
271*724ba675SRob Herring			0x870 A_DELAY_PS(785) G_DELAY_PS(0)	/* CFG_UART2_CTSN_IN */
272*724ba675SRob Herring			0x874 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART2_CTSN_OEN */
273*724ba675SRob Herring			0x878 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART2_CTSN_OUT */
274*724ba675SRob Herring			0x87c A_DELAY_PS(613) G_DELAY_PS(0)	/* CFG_UART2_RTSN_IN */
275*724ba675SRob Herring			0x880 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART2_RTSN_OEN */
276*724ba675SRob Herring			0x884 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART2_RTSN_OUT */
277*724ba675SRob Herring			0x888 A_DELAY_PS(683) G_DELAY_PS(0)	/* CFG_UART2_RXD_IN */
278*724ba675SRob Herring			0x88c A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART2_RXD_OEN */
279*724ba675SRob Herring			0x890 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART2_RXD_OUT */
280*724ba675SRob Herring			0x894 A_DELAY_PS(835) G_DELAY_PS(0)	/* CFG_UART2_TXD_IN */
281*724ba675SRob Herring			0x898 A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART2_TXD_OEN */
282*724ba675SRob Herring			0x89c A_DELAY_PS(0) G_DELAY_PS(0)	/* CFG_UART2_TXD_OUT */
283*724ba675SRob Herring		>;
284*724ba675SRob Herring	};
285*724ba675SRob Herring};
286