From patchwork Mon Dec 2 11:47:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 21929 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f198.google.com (mail-ve0-f198.google.com [209.85.128.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7E755244E2 for ; Mon, 2 Dec 2013 11:46:08 +0000 (UTC) Received: by mail-ve0-f198.google.com with SMTP id oy12sf30780092veb.5 for ; Mon, 02 Dec 2013 03:46:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:dlp-filter:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=bXzW/7gPlazTKi1CcEVDjtsIcUoBMdDaL83ipbWUnjo=; b=DAYfBsK73R2UvLxKGlJ+ULP+2jdntoZU13KnK5wciEyNPx0EdiwkRWQz0KkhO4z8G0 qb81kOT0lQNW8LEZuDJyWIlQP4EBOLUyFGlpYl+9GzREbncCk4DvhcQzke6RdDWuFwZC ijxHPAzS4t+rm/UnlyZGPmKVCs1ZQsBfpgxY386BRCLLtQtXmGXZH7J2tnrtwuUzERn6 T2eIP9aaMy75nfbmiSnr0lqpNPlp3taV4f0jOCjZuNbLR46eY+iTQfEXvi6X4eM8NEls 0O6cggEcBFcHOoSDr54UOSTytobJHUywzHndbZVf4C9NqphEbzLvohjgKX2UU8BTjf5L QdiA== X-Gm-Message-State: ALoCoQm9SNx8bc7IPRQ9j3xn/BO8gBmz7EWMR8iyrCRJbtvIi/2T5GLNtK7RCmUoZY8X5VrD/M8K X-Received: by 10.236.220.39 with SMTP id n37mr29348428yhp.15.1385984766580; Mon, 02 Dec 2013 03:46:06 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.71.170 with SMTP id w10ls379908qeu.58.gmail; Mon, 02 Dec 2013 03:46:06 -0800 (PST) X-Received: by 10.220.182.69 with SMTP id cb5mr182107vcb.41.1385984766495; Mon, 02 Dec 2013 03:46:06 -0800 (PST) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id uw1si4468222vdc.45.2013.12.02.03.46.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Dec 2013 03:46:06 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.178; Received: by mail-ve0-f178.google.com with SMTP id c14so8952859vea.9 for ; Mon, 02 Dec 2013 03:46:06 -0800 (PST) X-Received: by 10.220.95.201 with SMTP id e9mr68000vcn.71.1385984766396; Mon, 02 Dec 2013 03:46:06 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp113498vcz; Mon, 2 Dec 2013 03:46:05 -0800 (PST) X-Received: by 10.66.161.38 with SMTP id xp6mr3009403pab.145.1385984763646; Mon, 02 Dec 2013 03:46:03 -0800 (PST) Received: from mailout4.samsung.com (mailout4.samsung.com. [203.254.224.34]) by mx.google.com with ESMTPS id pj7si14468749pbc.189.2013.12.02.03.46.03 for (version=TLSv1 cipher=RC4-MD5 bits=128/128); Mon, 02 Dec 2013 03:46:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.34 as permitted sender) client-ip=203.254.224.34; Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MX600FIXGOOVWA0@mailout4.samsung.com>; Mon, 02 Dec 2013 20:46:00 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.126]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 54.67.18301.7F27C925; Mon, 02 Dec 2013 20:46:00 +0900 (KST) X-AuditID: cbfee68e-b7f7e6d00000477d-1f-529c72f718c1 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id F7.C4.32308.7F27C925; Mon, 02 Dec 2013 20:45:59 +0900 (KST) Received: from localhost.localdomain.com ([107.108.73.95]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MX600DAVGOFNY80@mmp2.samsung.com>; Mon, 02 Dec 2013 20:45:59 +0900 (KST) From: Rajeshwari S Shinde To: u-boot@lists.denx.de Cc: patches@linaro.org, sjg@chromium.org, mk7.kang@samsung.com, chander.kashyap@linaro.org, u-boot-review@google.com, alim.akhtar@samsung.com, trini@ti.com Subject: [PATCH 2/9 V9] Exynos5420: Add base addresses for 5420 Date: Mon, 02 Dec 2013 17:17:31 +0530 Message-id: <1385984858-30816-3-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.11.7 In-reply-to: <1385984858-30816-1-git-send-email-rajeshwari.s@samsung.com> References: <1385984858-30816-1-git-send-email-rajeshwari.s@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrPLMWRmVeSWpSXmKPExsWyRsSkTvdH0Zwggz8TWC0ezNvGZvFw/U0W i44jLYwWUw5/YbH4tmUbo8XkxfOZLZa/3shu8XZvJ7sDh8fshossHgs2lXrcubaHzePsnR2M Hn1bVjF6HL+xnSmALYrLJiU1J7MstUjfLoErY0nbM6aCOfIVG29sYGpgPCHVxcjJISFgIvH/ 3wFmCFtM4sK99WxdjFwcQgJLGSW+XJrCAlP0fdF6VojEdEaJtp/dU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IziunkntYFzZYHGIUYCDUYmH96LwnCAh1sSy4srcQ4wSHMxKIrwvE4FC vCmJlVWpRfnxRaU5qcWHGJOBbprILCWanA+M+bySeENjE3NTY1NLEwsTM0vShJXEeQ+0WgcK CaQnlqRmp6YWpBbBbGHi4JRqYOST7Li7Qjrrn/aFtnc3vZ+l/I6ZemhjfSK3w4OuT0V8c2O+ sbDu4hOrcp1x13jL3IlLN0d18dpL5wh2qPCs+Wu6vYidtUqkcEqh6VajdwtYvRWmHDOOdbrT eHbmkW3fhJu/TE2Q+DRpyZ+PhXpdZ9qUmb5E+sUyMAc3qNnUVH9cE2p59+rDbUosxRmJhlrM RcWJAN9CuN/vAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: rajeshwari.s@samsung.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Adds base addresses of various IPs and controllers required for Exynos5420. Signed-off-by: Rajeshwari S Shinde Signed-off-by: Akshay Saraswat Acked-by: Simon Glass --- Changes in V2: - None Changes in V3: - None Changes in V4: - Added base address for TZPC. Changes in V5: - None Chnages in V6: - Rebased on latest samsung mainline branch. Changes in V7: - Corrected the comments Changes in V8: - None Chnages in V9: - None arch/arm/include/asm/arch-exynos/cpu.h | 49 +++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/include/asm/arch-exynos/cpu.h index b4ef03e..2b44210 100644 --- a/arch/arm/include/asm/arch-exynos/cpu.h +++ b/arch/arm/include/asm/arch-exynos/cpu.h @@ -92,7 +92,7 @@ #define EXYNOS4X12_USB_HOST_XHCI_BASE DEVICE_NOT_AVAILABLE #define EXYNOS4X12_USB3PHY_BASE DEVICE_NOT_AVAILABLE -/* EXYNOS5 Common*/ +/* EXYNOS5 */ #define EXYNOS5_I2C_SPACING 0x10000 #define EXYNOS5_AUDIOSS_BASE 0x03810000 @@ -130,6 +130,46 @@ #define EXYNOS5_ADC_BASE DEVICE_NOT_AVAILABLE #define EXYNOS5_MODEM_BASE DEVICE_NOT_AVAILABLE +/* EXYNOS5420 */ +#define EXYNOS5420_AUDIOSS_BASE 0x03810000 +#define EXYNOS5420_GPIO_PART5_BASE 0x03860000 +#define EXYNOS5420_PRO_ID 0x10000000 +#define EXYNOS5420_CLOCK_BASE 0x10010000 +#define EXYNOS5420_POWER_BASE 0x10040000 +#define EXYNOS5420_SWRESET 0x10040400 +#define EXYNOS5420_SYSREG_BASE 0x10050000 +#define EXYNOS5420_TZPC_BASE 0x100E0000 +#define EXYNOS5420_WATCHDOG_BASE 0x101D0000 +#define EXYNOS5420_ACE_SFR_BASE 0x10830000 +#define EXYNOS5420_DMC_PHY_BASE 0x10C00000 +#define EXYNOS5420_DMC_CTRL_BASE 0x10C20000 +#define EXYNOS5420_DMC_TZASC0_BASE 0x10D40000 +#define EXYNOS5420_DMC_TZASC1_BASE 0x10D50000 +#define EXYNOS5420_USB_HOST_EHCI_BASE 0x12110000 +#define EXYNOS5420_MMC_BASE 0x12200000 +#define EXYNOS5420_SROMC_BASE 0x12250000 +#define EXYNOS5420_UART_BASE 0x12C00000 +#define EXYNOS5420_I2C_BASE 0x12C60000 +#define EXYNOS5420_I2C_8910_BASE 0x12E00000 +#define EXYNOS5420_SPI_BASE 0x12D20000 +#define EXYNOS5420_I2S_BASE 0x12D60000 +#define EXYNOS5420_PWMTIMER_BASE 0x12DD0000 +#define EXYNOS5420_SPI_ISP_BASE 0x131A0000 +#define EXYNOS5420_GPIO_PART2_BASE 0x13400000 +#define EXYNOS5420_GPIO_PART3_BASE 0x13410000 +#define EXYNOS5420_GPIO_PART4_BASE 0x14000000 +#define EXYNOS5420_GPIO_PART1_BASE 0x14010000 +#define EXYNOS5420_MIPI_DSIM_BASE 0x14500000 +#define EXYNOS5420_DP_BASE 0x145B0000 + +#define EXYNOS5420_USBPHY_BASE DEVICE_NOT_AVAILABLE +#define EXYNOS5420_USBOTG_BASE DEVICE_NOT_AVAILABLE +#define EXYNOS5420_FIMD_BASE DEVICE_NOT_AVAILABLE +#define EXYNOS5420_ADC_BASE DEVICE_NOT_AVAILABLE +#define EXYNOS5420_MODEM_BASE DEVICE_NOT_AVAILABLE +#define EXYNOS5420_USB3PHY_BASE DEVICE_NOT_AVAILABLE +#define EXYNOS5420_USB_HOST_XHCI_BASE DEVICE_NOT_AVAILABLE + #ifndef __ASSEMBLY__ #include /* CPU detection macros */ @@ -163,6 +203,10 @@ static inline void s5p_set_cpu_id(void) /* Exynos5250 */ s5p_cpu_id = 0x5250; break; + case 0x420: + /* Exynos5420 */ + s5p_cpu_id = 0x5420; + break; } } @@ -190,6 +234,7 @@ static inline int __attribute__((no_instrument_function)) \ IS_EXYNOS_TYPE(exynos4210, 0x4210) IS_EXYNOS_TYPE(exynos4412, 0x4412) IS_EXYNOS_TYPE(exynos5250, 0x5250) +IS_EXYNOS_TYPE(exynos5420, 0x5420) #define SAMSUNG_BASE(device, base) \ static inline unsigned int __attribute__((no_instrument_function)) \ @@ -200,6 +245,8 @@ static inline unsigned int __attribute__((no_instrument_function)) \ return EXYNOS4X12_##base; \ return EXYNOS4_##base; \ } else if (cpu_is_exynos5()) { \ + if (proid_is_exynos5420()) \ + return EXYNOS5420_##base; \ return EXYNOS5_##base; \ } \ return 0; \