Searched +full:tmod +full:- +full:calibration (Results 1 – 9 of 9) sorted by relevance
| /openbmc/u-boot/arch/arm/mach-sunxi/ |
| H A D | dram_sun8i_a33.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (C) Copyright 2007-2015 Allwinner Technology Co. 17 /* PLL runs at 2x dram-clk, controller runs at PLL / 4 (dram-clk / 2) */ 37 writel(MCTL_CR_CS1_CONTROL(para->cs1) | MCTL_CR_UNKNOWN | in mctl_set_cr() 39 (para->seq ? MCTL_CR_SEQUENCE : 0) | in mctl_set_cr() 40 ((para->bus_width == 16) ? MCTL_CR_BUSW16 : MCTL_CR_BUSW8) | in mctl_set_cr() 41 MCTL_CR_PAGE_SIZE(para->page_size) | MCTL_CR_ROW(para->rows) | in mctl_set_cr() 42 MCTL_CR_BANK(para->bank) | MCTL_CR_RANK(para->rank), in mctl_set_cr() 43 &mctl_com->cr); in mctl_set_cr() 48 u8 orig_rank = para->rank; in auto_detect_dram_size() [all …]
|
| H A D | dram_sun9i.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (C) Copyright 2007-2015 10 * Philipp Tomsich <philipp.tomsich@theobroma-systems.com> 26 * Allwinner as part of the open-source bootloader release (refer to 27 * https://github.com/allwinner-zh/bootloader.git) and augments the upstream 36 * Note that the Zynq-documentation provides a very close match for the DDR 42 * (i.e. the rules for MEMC_FREQ_RATIO=2 from the Zynq-documentation apply). 48 * 1) Only DDR3 support is implemented, as our test platform (the A80-Q7 50 * 2) Only 2T-mode has been implemented and tested. 62 * The driver should be driven from a device-tree based configuration that [all …]
|
| H A D | dram_sun8i_a83t.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (C) Copyright 2007-2015 Allwinner Technology Co. 36 writel(MCTL_CR_CS1_CONTROL(para->cs1) | MCTL_CR_UNKNOWN | in mctl_set_cr() 37 MCTL_CR_CHANNEL(1) | MCTL_CR_DRAM_TYPE(para->dram_type) | in mctl_set_cr() 38 (para->seq ? MCTL_CR_SEQUENCE : 0) | in mctl_set_cr() 39 ((para->bus_width == 16) ? MCTL_CR_BUSW16 : MCTL_CR_BUSW8) | in mctl_set_cr() 40 MCTL_CR_PAGE_SIZE(para->page_size) | MCTL_CR_ROW(para->rows) | in mctl_set_cr() 41 MCTL_CR_BANK(para->bank) | MCTL_CR_RANK(para->rank), in mctl_set_cr() 42 &mctl_com->cr); in mctl_set_cr() 47 u8 orig_rank = para->rank; in auto_detect_dram_size() [all …]
|
| /openbmc/u-boot/arch/arm/mach-imx/ |
| H A D | ddrmc-vf610.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include <asm/arch/imx-regs.h> 11 #include <asm/arch/iomux-vf610.h> 12 #include <asm/arch/ddrmc-vf610.h> 13 #include "ddrmc-vf610-calibration.h" 107 { 0, -1 } 119 writel(DDRMC_CR00_DRAM_CLASS_DDR3, &ddrmr->cr[0]); in ddrmc_ctrl_init_ddr3() 120 writel(DDRMC_CR02_DRAM_TINIT(timings->tinit), &ddrmr->cr[2]); in ddrmc_ctrl_init_ddr3() 121 writel(DDRMC_CR10_TRST_PWRON(timings->trst_pwron), &ddrmr->cr[10]); in ddrmc_ctrl_init_ddr3() 123 writel(DDRMC_CR11_CKE_INACTIVE(timings->cke_inactive), &ddrmr->cr[11]); in ddrmc_ctrl_init_ddr3() [all …]
|
| /openbmc/u-boot/drivers/ddr/altera/ |
| H A D | sequencer.c | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright Altera Corporation (C) 2012-2015 40 * In order to reduce ROM size, most of the selectable calibration steps are 41 * decided at compile time based on the user's calibration mode selection, 44 * However, to support simulation-time selection of fast simulation mode, where 47 * check, which is based on the rtl-supplied value, or we dynamically compute 48 * the value to use based on the dynamically-chosen calibration mode 58 /* calibration steps requested by the rtl */ 64 * non-skip and skip values 66 * The mask is set to include all bits when not-skipping, but is [all …]
|
| /openbmc/u-boot/drivers/ddr/fsl/ |
| H A D | ctrl_regs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2008-2016 Freescale Semiconductor, Inc. 4 * Copyright 2017-2018 NXP Semiconductor 29 * Rtt(nominal) - DDR2: 34 * Rtt(nominal) - DDR3: 49 * if (popts->dimmslot[i].num_valid_cs 50 * && (popts->cs_local_opts[2*i].odt_rd_cfg 51 * || popts->cs_local_opts[2*i].odt_wr_cfg)) { 155 unsigned int ap_n_en = 0; /* Chip select n auto-precharge enable */ in set_csn_config() 174 if (!popts->memctl_interleaving) in set_csn_config() [all …]
|
| /openbmc/u-boot/arch/arm/dts/ |
| H A D | uniphier-pxs2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 // Copyright (C) 2015-2016 Socionext Inc. 8 #include <dt-bindings/gpio/uniphier-gpio.h> 9 #include <dt-bindings/thermal/thermal.h> 12 compatible = "socionext,uniphier-pxs2"; 13 #address-cells = <1>; 14 #size-cells = <1>; 17 #address-cells = <1>; 18 #size-cells = <0>; 22 compatible = "arm,cortex-a9"; [all …]
|
| H A D | uniphier-ld20.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 // Copyright (C) 2015-2016 Socionext Inc. 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/uniphier-gpio.h> 10 #include <dt-bindings/thermal/thermal.h> 15 compatible = "socionext,uniphier-ld20"; 16 #address-cells = <2>; 17 #size-cells = <2>; 18 interrupt-parent = <&gic>; 21 #address-cells = <2>; [all …]
|
| /openbmc/u-boot/drivers/ram/rockchip/ |
| H A D | dmc-rk3368.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <dt-bindings/memory/rk3368-dmc.h> 10 #include <dt-structs.h> 123 ((n <= 8) ? ((n - 4) << 9) : (((n >> 1) & 0x7) << 9)) 125 ((((n - 4) & 0x7) << 4) | (((n - 4) & 0x8) >> 2)) 133 (((n - 5) & 0x7) << 3) 141 rk_setreg(&grf->ddrc0_con0, NOC_RSP_ERR_STALL); in ddr_set_noc_spr_err_stall() 143 rk_clrreg(&grf->ddrc0_con0, NOC_RSP_ERR_STALL); in ddr_set_noc_spr_err_stall() 149 rk_setreg(&grf->ddrc0_con0, MSCH0_MAINDDR3_DDR3); in ddr_set_ddr3_mode() 151 rk_clrreg(&grf->ddrc0_con0, MSCH0_MAINDDR3_DDR3); in ddr_set_ddr3_mode() [all …]
|