From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.107.0.67; helo=eur02-am5-obe.outbound.protection.outlook.com; envelope-from=meenakshi.aggarwal@nxp.com; receiver=edk2-devel@lists.01.org Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00067.outbound.protection.outlook.com [40.107.0.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D296B223230CE for ; Fri, 16 Feb 2018 00:47:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=7HEESVBPMSoEiquTyWQEO0GXGhAOHrYurOLzGXyg6Tg=; b=FvWaSKMByD8gg4hTmcFSE9CTjc5ihL0ia/RcsrRvkyC+VgjW3YcCLQ7zOsXo1boU/1LwyjSPW1WZK3H+9zDtDC3D0OVTKosTif9k/liLc8iqodmNGwbdtSBSHKXFdz0DJLuCllSd528E9cEEYERa/gsgF/WV5uUjzoM30pXsyoI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=meenakshi.aggarwal@nxp.com; Received: from idcbfarm.ap.freescale.net (192.88.169.1) by VI1PR04MB1008.eurprd04.prod.outlook.com (2a01:111:e400:5090::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.485.10; Fri, 16 Feb 2018 08:53:19 +0000 From: Meenakshi To: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, michael.d.kinney@intel.com, edk2-devel@lists.01.org Date: Fri, 16 Feb 2018 14:20:09 +0530 Message-Id: <1518771035-6733-14-git-send-email-meenakshi.aggarwal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1518771035-6733-1-git-send-email-meenakshi.aggarwal@nxp.com> References: <1518771035-6733-1-git-send-email-meenakshi.aggarwal@nxp.com> MIME-Version: 1.0 X-Originating-IP: [192.88.169.1] X-ClientProxiedBy: HK2PR02CA0172.apcprd02.prod.outlook.com (2603:1096:201:1f::32) To VI1PR04MB1008.eurprd04.prod.outlook.com (2a01:111:e400:5090::28) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: cd6bec38-be15-4993-acc4-08d5751abbf4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020); SRVR:VI1PR04MB1008; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1008; 3:vTCWSS/s2YPsRPXOsJalpmUVOWoWyjyna1n+PZkbgWaKVNrwtbSZnz/0fLAioNYoVeXD56Uly94zPyGfqdvD0G0aqjpnnKmt9FAquptFd9DwLtibokLILO2219Kimf/0f7gPRJceGPNXOqJ4pZb4pRYwFXL7F52SFkYXkTmfnMG2LBE3oUF26T1Z088ikVMJBxBl1pYLRADf6QqfYByoeyFSCzyI1deUW31ED8bEbWnw0P2iplm0I2b3LKSh9Vg/; 25:70+benm/mlXX0Fb2CZjssqzKU9/zlCZhzcpSby/wqRW7tdbo6I45uDxjb5AOQz8Fn+m0JJ20zAUjGpw1a4O+KXOjCIgFyakMuQBUpD0U+70BmXQyPw5TrUIYWHAR1KAfwPy62tx0dscxEOy92DWcWxvIHBOmi+lxrXsDFcmoQX9gctQuenNYp+j9i9Sj2Gg0E4OjGup16yXeTLUbybdQX0x5mxv81hjt8BizKrXBLVEpG0N3yI3M80eqhFAVkRgdUEkx/3ZGuMHoEjBjYHxPHRO+D9bMVb5L2c3Jp9XcfpZo1s1v9hSWYwb6QOznjQJWNZ+Laa2JELIBkEsqSsGb5A==; 31:zxrxCZkDmLDDviVciQW8idwaDH2DHo6qBDi7cf/C+pzCmn59EE/6EFrIOLcf8fQda08n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antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231101)(944501161)(6055026)(6041288)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:VI1PR04MB1008; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB1008; X-Forefront-PRVS: 0585417D7B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(376002)(39380400002)(396003)(39860400002)(366004)(199004)(189003)(86362001)(6486002)(8676002)(76176011)(36756003)(53376002)(966005)(4326008)(6116002)(15188155005)(16799955002)(7736002)(386003)(68736007)(186003)(26005)(53936002)(305945005)(16526019)(81156014)(3846002)(6506007)(478600001)(50226002)(16586007)(8936002)(2950100002)(316002)(2906002)(25786009)(97736004)(50466002)(48376002)(105586002)(52116002)(47776003)(81166006)(51416003)(5660300001)(6666003)(106356001)(66066001)(6306002)(6512007)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB1008; H:idcbfarm.ap.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR04MB1008; 23:dKYvlyco8ek8S2iVbg00TgFTyx0A3qIjbMDv/CMH6?= =?us-ascii?Q?2unOc1W7FpBO/waCBksPIKC3vL6Sf0p+92IRyL8wNFm/OE92NzST6b9xKPpa?= =?us-ascii?Q?vimiG8g86lESkUgHtK35Ssp8nu56++m63U7jhX0dLJus2aTh4vX71sw9CcPg?= =?us-ascii?Q?AEjfRFmR4hTkulmldMBd7OogZG+mSj7uQPhWmPwn8n+ixs0OcSr46JgUrV6c?= =?us-ascii?Q?QFYasMbvXNquLmeXT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XgkXTavGWTp/WHiCOCAKDAd0yI/s0N7HAb7KUdRPlafUCq8rx2vI1+t01efpf SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Feb 2018 08:53:19.6079 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cd6bec38-be15-4993-acc4-08d5751abbf4 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1008 Subject: [PATCH edk2-platforms 13/39] LS1043/FpgaLib : Add support for FpgaLib. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Feb 2018 08:47:32 -0000 Content-Type: text/plain From: Meenakshi Aggarwal FpgaLib export FPGA_READ and FPGA_WRITE function and provide a function to print Board personality. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Meenakshi Aggarwal --- .../NXP/LS1043aRdbPkg/Include/Library/FpgaLib.h | 79 ++++++++++++ .../NXP/LS1043aRdbPkg/Library/FpgaLib/FpgaLib.c | 142 +++++++++++++++++++++ .../NXP/LS1043aRdbPkg/Library/FpgaLib/FpgaLib.inf | 31 +++++ 3 files changed, 252 insertions(+) create mode 100644 Platform/NXP/LS1043aRdbPkg/Include/Library/FpgaLib.h create mode 100644 Platform/NXP/LS1043aRdbPkg/Library/FpgaLib/FpgaLib.c create mode 100644 Platform/NXP/LS1043aRdbPkg/Library/FpgaLib/FpgaLib.inf diff --git a/Platform/NXP/LS1043aRdbPkg/Include/Library/FpgaLib.h b/Platform/NXP/LS1043aRdbPkg/Include/Library/FpgaLib.h new file mode 100644 index 0000000..3f55a02 --- /dev/null +++ b/Platform/NXP/LS1043aRdbPkg/Include/Library/FpgaLib.h @@ -0,0 +1,79 @@ +/** FpgaLib.h +* Header defining the LS1043a Fpga specific constants (Base addresses, sizes, flags) +* +* Copyright 2017 NXP +* +* This program and the accompanying materials +* are licensed and made available under the terms and conditions of the BSD License +* which accompanies this distribution. The full text of the license may be found at +* http://opensource.org/licenses/bsd-license.php +* +* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +* +**/ + +#ifndef __LS1043A_FPGA_H__ +#define __LS1043A_FPGA_H__ + +/* + * FPGA register set of LS1043ARDB board-specific. + */ +typedef struct { + UINT8 FpgaVersionMajor; /* 0x0 - FPGA Major Revision Register */ + UINT8 FpgaVersionMinor; /* 0x1 - FPGA Minor Revision Register */ + UINT8 PcbaVersion; /* 0x2 - PCBA Revision Register */ + UINT8 SystemReset; /* 0x3 - system reset register */ + UINT8 SoftMuxOn; /* 0x4 - Switch Control Enable Register */ + UINT8 RcwSource1; /* 0x5 - Reset config word 1 */ + UINT8 RcwSource2; /* 0x6 - Reset config word 1 */ + UINT8 Vbank; /* 0x7 - Flash bank selection Control */ + UINT8 SysclkSelect; /* 0x8 - System clock selection Control */ + UINT8 UartSel; /* 0x9 - Uart selection Control */ + UINT8 Sd1RefClkSel; /* 0xA - Serdes1 reference clock selection Control */ + UINT8 TdmClkMuxSel; /* 0xB - TDM Clock Mux selection Control */ + UINT8 SdhcSpiCsSel; /* 0xC - SDHC/SPI Chip select selection Control */ + UINT8 StatusLed; /* 0xD - Status Led */ + UINT8 GlobalReset; /* 0xE - Global reset */ +} FPGA_REG_SET; + +UINT8 +FpgaRead ( + UINTN Reg + ); + +VOID +FpgaWrite ( + UINTN Reg, + UINT8 Value + ); + +VOID +FpgaRevBit ( + UINT8 *Value + ); + +VOID +FpgaInit ( + VOID + ); + +VOID +PrintBoardPersonality ( + VOID + ); + +#define FPGA_BASE_PHYS 0x7fb00000 + +#define SRC_VBANK 0x25 +#define SRC_NAND 0x106 +#define SRC_QSPI 0x44 +#define SRC_SD 0x40 + +#define SERDES_FREQ1 "100.00 MHz" +#define SERDES_FREQ2 "156.25 MHz" + +#define FPGA_READ(Reg) FpgaRead (OFFSET_OF (FPGA_REG_SET, Reg)) +#define FPGA_WRITE(Reg, Value) FpgaWrite (OFFSET_OF (FPGA_REG_SET, Reg), Value) + +#endif diff --git a/Platform/NXP/LS1043aRdbPkg/Library/FpgaLib/FpgaLib.c b/Platform/NXP/LS1043aRdbPkg/Library/FpgaLib/FpgaLib.c new file mode 100644 index 0000000..99d514d --- /dev/null +++ b/Platform/NXP/LS1043aRdbPkg/Library/FpgaLib/FpgaLib.c @@ -0,0 +1,142 @@ +/** @FpgaLib.c + Fpga Library for LS1043A-RDB board, containing functions to + program and read the Fpga registers. + + FPGA is connected to IFC Controller and so MMIO APIs are used + to read/write FPGA registers + + Copyright 2017 NXP + + This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD License + which accompanies this distribution. The full text of the license may be found at + http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +**/ + +#include +#include +#include +#include +#include + +/** + Function to read FPGA register. + + @param Reg Register offset of FPGA to read. + +**/ +UINT8 +FpgaRead ( + IN UINTN Reg + ) +{ + VOID *Base; + + Base = (VOID *)FPGA_BASE_PHYS; + + return MmioRead8 ((UINTN)(Base + Reg)); +} + +/** + Function to write FPGA register. + + @param Reg Register offset of FPGA to write. + @param Value Value to be written. + +**/ +VOID +FpgaWrite ( + IN UINTN Reg, + IN UINT8 Value + ) +{ + VOID *Base; + + Base = (VOID *)FPGA_BASE_PHYS; + + MmioWrite8 ((UINTN)(Base + Reg), Value); +} + +/** + Function to reverse the number. + + @param *Value pointer to number to reverse. + + @retval *Value reversed value. + +**/ +VOID +FpgaRevBit ( + OUT UINT8 *Value + ) +{ + UINT8 Rev; + UINT8 Val; + UINTN Index; + + Val = *Value; + Rev = Val & 1; + for (Index = 1; Index <= 7; Index++) { + Val >>= 1; + Rev <<= 1; + Rev |= Val & 1; + } + + *Value = Rev; +} + +/** + Function to print board personality. + +**/ +VOID +PrintBoardPersonality ( + VOID + ) +{ + UINT8 RcwSrc1; + UINT8 RcwSrc2; + UINT32 RcwSrc; + UINT32 Sd1RefClkSel; + + RcwSrc1 = FPGA_READ(RcwSource1); + RcwSrc2 = FPGA_READ(RcwSource2); + FpgaRevBit (&RcwSrc1); + RcwSrc = RcwSrc1; + RcwSrc = (RcwSrc << 1) | RcwSrc2; + + switch (RcwSrc) { + case SRC_VBANK: + DEBUG ((DEBUG_INFO, "vBank: %d\n", FPGA_READ(Vbank))); + break; + case SRC_NAND: + DEBUG ((DEBUG_INFO, "NAND\n")); + break; + case SRC_QSPI: + DEBUG ((DEBUG_INFO, "QSPI vBank %d\n", FPGA_READ(Vbank))); + break; + case SRC_SD: + DEBUG ((DEBUG_INFO, "SD\n")); + break; + default: + DEBUG ((DEBUG_INFO, "Invalid setting of SW5\n")); + break; + } + + DEBUG ((DEBUG_INFO, "FPGA: V%x.%x\nPCBA: V%x.0\n", + FPGA_READ(FpgaVersionMajor), + FPGA_READ(FpgaVersionMinor), + FPGA_READ(PcbaVersion))); + + DEBUG ((DEBUG_INFO, "SERDES Reference Clocks:\n")); + + Sd1RefClkSel = FPGA_READ(Sd1RefClkSel); + DEBUG((DEBUG_INFO, "SD1_CLK1 = %a, SD1_CLK2 = %a\n", + Sd1RefClkSel ? SERDES_FREQ2 : SERDES_FREQ1, SERDES_FREQ1)); + + return; +} diff --git a/Platform/NXP/LS1043aRdbPkg/Library/FpgaLib/FpgaLib.inf b/Platform/NXP/LS1043aRdbPkg/Library/FpgaLib/FpgaLib.inf new file mode 100644 index 0000000..39e9bde --- /dev/null +++ b/Platform/NXP/LS1043aRdbPkg/Library/FpgaLib/FpgaLib.inf @@ -0,0 +1,31 @@ +# @FpgaLib.inf +# +# Copyright 2017 NXP +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# + +[Defines] + INF_VERSION = 0x0001000A + BASE_NAME = FpgaLib + FILE_GUID = 5962d040-8b8a-11df-9a71-0002a5d5c51b + MODULE_TYPE = BASE + VERSION_STRING = 1.0 + LIBRARY_CLASS = FpgaLib + +[Sources.common] + FpgaLib.c + +[Packages] + MdePkg/MdePkg.dec + Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dec + Silicon/NXP/NxpQoriqLs.dec + +[LibraryClasses] + BaseLib + IoLib -- 1.9.1