From: York Sun <york.sun@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 06/11][v4] armv8: fsl-layerscape: Add support of QorIQ LS1012A SoC
Date: Tue, 31 May 2016 08:43:09 -0700 [thread overview]
Message-ID: <574DB10D.6030706@nxp.com> (raw)
In-Reply-To: <1464707754-8450-7-git-send-email-prabhakar.kushwaha@nxp.com>
On 05/31/2016 08:17 AM, Prabhakar Kushwaha wrote:
> The QorIQ LS1012A processor, optimized for battery-backed or
> USB-powered, integrates a single ARM Cortex-A53 core with a hardware
> packet forwarding engine and high-speed interfaces to deliver
> line-rate networking performance.
>
> This patch add support of LS1012A SoC along with
> - Update platform & DDR clock read logic as per SVR
> - Define MMDC controller register set.
> - Update LUT base address for PCIe
> - Avoid L3 platform cache compilation
> - Update USB address, errata
> - SerDes table
> - Added CSU IDs for SDHC2, SAI-1 to SAI-4
>
> Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com>
> Signed-off-by: Makarand Pawagi <makarand.pawagi@mindspeed.com>
> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
> ---
> Changes for v2: Sending as it is
> Changes for v3: Incorporated York's comments
> - Placed SoC overview in README.soc
> Changes for v4
> - Incorporated Edward L Swarthout's comments
> - Updated DDR speed
> - Added defines for MMDC controller
<snip>
> diff --git a/include/fsl_mmdc.h b/include/fsl_mmdc.h
> new file mode 100644
> index 0000000..31411f7
> --- /dev/null
> +++ b/include/fsl_mmdc.h
> @@ -0,0 +1,164 @@
> +/*
> + * Copyright 2016 Freescale Semiconductor, Inc.
> + *
> + * SPDX-License-Identifier: GPL-2.0+
> + */
> +
> +#ifndef FSL_MMDC_H
> +#define FSL_MMDC_H
> +
> +#define CONFIG_SYS_MMDC_CORE_ODT_TIMING 0x12554000
> +#define CONFIG_SYS_MMDC_CORE_TIMING_CFG_0 0xbabf7954
> +#define CONFIG_SYS_MMDC_CORE_TIMING_CFG_1 0xff328f64
> +#define CONFIG_SYS_MMDC_CORE_TIMING_CFG_2 0x01ff00db
> +
> +#define CONFIG_SYS_MMDC_CORE_MISC 0x00000680
> +#define CONFIG_SYS_MMDC_PHY_MEASURE_UNIT 0x00000800
> +#define CONFIG_SYS_MMDC_CORE_RDWR_CMD_DELAY 0x00002000
> +#define CONFIG_SYS_MMDC_PHY_ODT_CTRL 0x0000022a
> +
> +#define CONFIG_SYS_MMDC_CORE_OUT_OF_RESET_DELAY 0x00bf1023
> +
> +#define CONFIG_SYS_MMDC_CORE_ADDR_PARTITION 0x0000007f
> +
> +#define CONFIG_SYS_MMDC_PHY_ZQ_HW_CTRL 0xa1390003
> +
> +#define FORCE_ZQ_AUTO_CALIBRATION (0x1 << 16)
> +
> +/* PHY Write Leveling Configuration and Error Status (MPWLGCR) */
> +#define WR_LVL_HW_EN 0x00000001
> +
> +/* PHY Pre-defined Compare and CA delay-line Configuration (MPPDCMPR2) */
> +#define MPR_COMPARE_EN 0x00000001
> +
> +#define CONFIG_SYS_MMDC_PHY_RD_DLY_LINES_CFG 0x40404040
> +
> +/* MMDC PHY Read DQS gating control register 0 (MPDGCTRL0) */
> +#define AUTO_RD_DQS_GATING_CALIBRATION_EN 0x10000000
> +
> +/* MMDC PHY Read Delay HW Calibration Control Register (MPRDDLHWCTL) */
> +#define AUTO_RD_CALIBRATION_EN 0x00000010
> +
> +#define CONFIG_SYS_MMDC_CORE_PWR_DOWN_CTRL 0x00030035
> +
> +#define CONFIG_SYS_MMDC_CORE_PWR_SAV_CTRL_STAT 0x00001067
> +
> +#define CONFIG_SYS_MMDC_CORE_REFRESH_CTL 0x103e8000
> +
> +#define START_REFRESH 0x00000001
Are these values board-specific?
York
next prev parent reply other threads:[~2016-05-31 15:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-31 15:15 [U-Boot] [PATCH 00/11] [v4] armv8: fsl-layerscape: Add support of LS1012A SoC and platform Prabhakar Kushwaha
2016-05-31 15:15 ` [U-Boot] [PATCH 01/11][v4] armv8: fsl-layerscape: Put SMMU config code in SMMU_BASE Prabhakar Kushwaha
2016-05-31 15:15 ` [U-Boot] [PATCH 02/11][v4] armv8: fsl-layerscape: Avoid LS1043A specifc defines Prabhakar Kushwaha
2016-05-31 15:15 ` [U-Boot] [PATCH 03/11][v4] driver: mtd: spi: Adding support for QSPI flash Prabhakar Kushwaha
2016-05-31 15:15 ` [U-Boot] [PATCH 04/11][v4] armv8: fsl-layerscape: fix compile warning "rcw_tmp" Prabhakar Kushwaha
2016-05-31 15:15 ` [U-Boot] [PATCH 05/11][v4] armv8: fsl-layerscape: Organize SoC overview at common location Prabhakar Kushwaha
2016-05-31 15:15 ` [U-Boot] [PATCH 06/11][v4] armv8: fsl-layerscape: Add support of QorIQ LS1012A SoC Prabhakar Kushwaha
2016-05-31 15:43 ` York Sun [this message]
2016-05-31 15:15 ` [U-Boot] [PATCH 07/11][v4] board: freescale: common: Conditionally compile IFC QXIS func Prabhakar Kushwaha
2016-05-31 15:15 ` [U-Boot] [PATCH 08/11][v4] board: freescale: common: Add flag for LBMAP brdcfg reg offset Prabhakar Kushwaha
2016-05-31 15:15 ` [U-Boot] [PATCH 09/11][v4] armv8: ls1012a: Add support of ls1012aqds board Prabhakar Kushwaha
2016-05-31 15:15 ` [U-Boot] [PATCH 10/11][v4] armv8: ls1012a: Add support of ls1012ardb board Prabhakar Kushwaha
2016-05-31 15:15 ` [U-Boot] [PATCH 11/11][v4] armv8: ls1012a: Add support of ls1012afrdm board Prabhakar Kushwaha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=574DB10D.6030706@nxp.com \
--to=york.sun@nxp.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.