Lines Matching +full:- +full:pinmux
1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
18 #include <asm/ti-common/davinci_nand.h>
21 #include <asm/mach-types.h>
30 #define pinmux(x) (&davinci_syscfg_regs->pinmux[x]) macro
36 { pinmux(0), 8, 4 }, /* GP0[11] */
37 { pinmux(10), 2, 0 }, /* MMCSD0_CLK */
38 { pinmux(10), 2, 1 }, /* MMCSD0_CMD */
39 { pinmux(10), 2, 2 }, /* MMCSD0_DAT_0 */
40 { pinmux(10), 2, 3 }, /* MMCSD0_DAT_1 */
41 { pinmux(10), 2, 4 }, /* MMCSD0_DAT_2 */
42 { pinmux(10), 2, 5 }, /* MMCSD0_DAT_3 */
43 /* LCDK supports only 4-bit mode, remaining pins are not configured */
49 { pinmux(0), 4, 6 },
50 { pinmux(0), 4, 7 },
51 { pinmux(4), 2, 4 },
52 { pinmux(4), 2, 5 }
57 { pinmux(2), 8, 1 },
58 { pinmux(2), 8, 2 },
59 { pinmux(2), 8, 3 },
60 { pinmux(2), 8, 4 },
61 { pinmux(2), 8, 5 },
62 { pinmux(2), 8, 6 },
63 { pinmux(2), 8, 7 },
64 { pinmux(3), 8, 0 },
65 { pinmux(3), 8, 1 },
66 { pinmux(3), 8, 2 },
67 { pinmux(3), 8, 3 },
68 { pinmux(3), 8, 4 },
69 { pinmux(3), 8, 5 },
70 { pinmux(3), 8, 6 },
71 { pinmux(3), 8, 7 },
72 { pinmux(4), 8, 0 },
73 { pinmux(4), 8, 1 }
79 { pinmux(4), 2, 2 },
80 { pinmux(4), 2, 3 }
85 { pinmux(7), 1, 1 },
86 { pinmux(7), 1, 2 },
87 { pinmux(7), 1, 4 },
88 { pinmux(7), 1, 5 },
89 { pinmux(8), 1, 0 },
90 { pinmux(8), 1, 1 },
91 { pinmux(8), 1, 2 },
92 { pinmux(8), 1, 3 },
93 { pinmux(8), 1, 4 },
94 { pinmux(8), 1, 5 },
95 { pinmux(8), 1, 6 },
96 { pinmux(8), 1, 7 },
97 { pinmux(9), 1, 0 },
98 { pinmux(9), 1, 1 },
99 { pinmux(9), 1, 2 },
100 { pinmux(9), 1, 3 },
101 { pinmux(9), 1, 4 },
102 { pinmux(9), 1, 5 },
103 { pinmux(9), 1, 6 },
104 { pinmux(9), 1, 7 },
105 { pinmux(12), 1, 5 },
106 { pinmux(12), 1, 6 }
145 * get_board_rev() - setup to pass kernel board revision information
147 * bit[0-3] Maximum cpu clock rate supported by onboard SoC
148 * 0000b - 300 MHz
149 * 0001b - 372 MHz
150 * 0010b - 408 MHz
151 * 0011b - 456 MHz
177 gd->bd->bi_arch_number = MACH_TYPE_OMAPL138_LCDK; in board_init()
180 gd->bd->bi_boot_params = LINUX_BOOT_PARAM_ADDR; in board_init()
184 writel(readl(&davinci_syscfg_regs->suspsrc) & in board_init()
188 &davinci_syscfg_regs->suspsrc); in board_init()
190 /* configure pinmux settings */ in board_init()
196 * NAND CS setup - cycle counts based on da850evm NAND timings in the in board_init()
207 &davinci_emif_regs->ab2cr); /* CS3 */ in board_init()
225 &davinci_uart2_ctrl_regs->pwremu_mgmt); in board_init()
233 * Initializes on-board ethernet controllers.
239 return -1; in board_eth_init()
252 #define CFG_MAC_ADDR_OFFSET (flash->size - SZ_64K)
266 mdstat = &psc_regs->psc0.mdstat[id]; in dsp_lpsc_on()
267 mdctl = &psc_regs->psc0.mdctl[id]; in dsp_lpsc_on()
268 ptstat = &psc_regs->ptstat; in dsp_lpsc_on()
269 ptcmd = &psc_regs->ptcmd; in dsp_lpsc_on()
360 .host_caps = MMC_MODE_4BIT, /* DA850 supports only 4-bit SD/MMC */
369 /* Add slot-0 to mmc subsystem */ in board_mmc_init()