From patchwork Tue Jul 10 08:39:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10516595 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 98E6C600CA for ; Tue, 10 Jul 2018 08:56:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8483B28C6C for ; Tue, 10 Jul 2018 08:56:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8282D28CDB; Tue, 10 Jul 2018 08:56:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EC71F28CDA for ; Tue, 10 Jul 2018 08:56:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tMJAYpTvZ3qi2o/t1T99QVG0m6yXsMfA6LGkpEmCRWE=; b=hyHg5WrvR6ONYj GWCajhL0yXLIZgqNttLtJT5qwIjzDrgv7rLEEm+3eH/nLh65FzYP8WHQVHlXEYgAeHHzDeYQt6naZ GiucjACA0skcZflCjyQawWTAjQu4yvvln5zagDmczRQ0uO4Y6MKhSKfB3X6GANC+IWU5tI9/De0R1 UYlHfrQpEP0fraG3LsCXATsJItQS2BrM5sBq9HoQsrPPsDWfGYDZlaa274xves2y7JTvokMAnsmSC MgdTh77S20jF2kSjg1p4sjE39jr00LvMXnlEu3qUxVA31VspY1sQFY71H3lJKvNdjwFVt0V/dJrsb tsPrfEfy6sRyKPmYb3UA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fcoRC-0000le-CU; Tue, 10 Jul 2018 08:55:58 +0000 Received: from mail-eopbgr20064.outbound.protection.outlook.com ([40.107.2.64] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fcoGA-0002po-S3 for linux-arm-kernel@lists.infradead.org; Tue, 10 Jul 2018 08:44:36 +0000 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:X-MS-Exchange-SenderADCheck; bh=LVAkTVuIrMmsIUWxDgnnWzLEjUSKr45HQdwdPCaIpeY=; b=Ct/q46gdW9mH1p6gYlBN9jsL1bEg2M0vk7mri9hzfqBXvw78i/262c5UdyPSEEYRgZ5PjMcPWBTkqo7tByhsAFIcrzxhU5JowA3Mf1qezD/Om1JEgtFCZyd3d8Kxt54JYG8MJixHKEZjrTOirvH709QoVNCuxnxQlHMhAFnKx58= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; Received: from anson-OptiPlex-790.ap.freescale.net (119.31.174.66) by VI1PR04MB1327.eurprd04.prod.outlook.com (2a01:111:e400:5187::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.20; Tue, 10 Jul 2018 08:44:17 +0000 From: Anson Huang To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, fabio.estevam@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, mturquette@baylibre.com, sboyd@kernel.org, shengjiu.wang@nxp.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 2/2] ARM: dts: imx6sx: add ocram_s support Date: Tue, 10 Jul 2018 16:39:39 +0800 Message-Id: <1531211979-2179-2-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531211979-2179-1-git-send-email-Anson.Huang@nxp.com> References: <1531211979-2179-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK0P153CA0025.APCP153.PROD.OUTLOOK.COM (2603:1096:203:17::13) To VI1PR04MB1327.eurprd04.prod.outlook.com (2a01:111:e400:5187::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b4c96a9e-9bbb-4ba2-b126-08d5e641550b X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(48565401081)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB1327; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1327; 3:0vSaRmTdjhm8zDC6fGBFT6HQfOEpQAZ34Mn2G51nRn8J2cqua/dhVeJ+zFe6Ey3GCkErX7izyIupkjvVpLJmielJUZbidk/oCVS28YKqbE6l6/tqM45789RPQRaXX697aOSlWYlg5YswVdyDqFRIlyY1BIBJf56uqYioJnVvAwCjWZHv29Jw5s33bTjY7T3KWOsjIt7JE0cOdydIRypNIBpubARZNg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TGtRiBW0O/alEE8el1HJnGz2Kgvi3FpYV/D6lzfouhlBn9MlpOeKa+smiJd1ayEKa7IC6Vt/ZX+MF3YEeK0EIj2C6TkX8vPtu63my5VzqQAV6vrgk; 4:rTAJ+66x8B2pns/6xHCTENBXYsSo9jEF7aEu6QifSYP8q6d1UF3nWRDFf//RbVpEB/bL9S7Rjls/PykIMwLljCiyt4NoKEuAxRxY0UekwRdb9zIPtSxYI7gGa+EhmOgcTV/qUYrgPlEbkR8rUHhxhEf7RJCGdAl4eVKs9jdzPhUtc0yf2iYgB5MXPg++zIUodkNzO9zp/La7I8c74blesCBQF8THz997ZRxQQ3MREWd7dUt1+b+myeAUCVricavBkHoiZgw9Apq9pWQY3DQyXCebeH0K4iSE2+EQzrqWKsPsFzofnsVWU21n1LcnzKl4 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231311)(944501410)(52105095)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:VI1PR04MB1327; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB1327; X-Forefront-PRVS: 0729050452 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(376002)(346002)(366004)(396003)(189003)(199004)(25786009)(8676002)(478600001)(16526019)(47776003)(53936002)(106356001)(81156014)(2906002)(66066001)(186003)(6116002)(3846002)(386003)(6506007)(81166006)(105586002)(4326008)(8936002)(26005)(6512007)(316002)(7416002)(36756003)(86362001)(68736007)(97736004)(5660300001)(6666003)(2616005)(446003)(50466002)(7736002)(305945005)(50226002)(11346002)(51416003)(6486002)(16586007)(476003)(48376002)(486006)(956004)(76176011)(52116002)(32563001)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB1327; H:anson-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR04MB1327; 23:A1B2x0PFhE77PyCLwHcrThOhyV2BsTE5QYWScBDzV?= =?us-ascii?Q?/w2QGi/1i6OqTC6SkEzKNJNTZCD2mK6BTOZPR+jwe8PislGLoiBUm5NMA8Il?= =?us-ascii?Q?SjlpCXehcRi5zjNzX3YS3EAX+FMOa8PoaNQCD1iups4Fl7PlkRCw3WII3KmT?= =?us-ascii?Q?qWzmnQxx4tb2aHJB2mRFpH9ls/RVic76Wq5ewuu7RmgPhX87EuHaLVzfAa6D?= =?us-ascii?Q?6XdydpGPXUsYLGOntN1smUbHUOZM59NMxIi03pSY9qUU5wHRbU3aGGUcJixO?= =?us-ascii?Q?3IFkomDNkhbDDSy5/82OkV8fwiAuAZbolaSM2EGrlZ/qiD9TEDLS4e09pqf6?= =?us-ascii?Q?q3YhIF6D3b1HLZPkjBomMEdro2F32mczfvJj0qaX5HYn0UJOhBVAIR5sl6Te?= =?us-ascii?Q?OiFo3Q3aoijWbul8B0C2UZXeurfKIV/NbDGh2I/5i0PPAnle2s/qgxpOoL31?= =?us-ascii?Q?PmREnoLHj3AzLIMcnULiosfqrGqV/M/MSjfMQeTJo6GYXOzweofCSXRI1LyX?= =?us-ascii?Q?YULloQaAfLazvOzOLfb310OLK3qKo873TJyqvoq7pgwWW+P2/8hJca08ck6+?= =?us-ascii?Q?0mS3hWvQDlHvWXSVWX2LQ9chHaEVFZDlSGjTZmKku/6ezud0jX2cQ/O3ouim?= =?us-ascii?Q?2iEzmea3s9G1Z60iflkjIqIRPMCEMC/9vOpkt9BeOfk60FQVcWywqH0bDtZp?= =?us-ascii?Q?WeJQQ4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q2gLY1V/iufUPzOrcmCvij5nntL1erG49sJjYOvYyDibueZxXyAgkRJeS X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2018 08:44:17.5625 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b4c96a9e-9bbb-4ba2-b126-08d5e641550b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1327 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180710_014434_905434_75CEDE3F X-CRM114-Status: GOOD ( 10.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux-imx@nxp.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP i.MX6SX has a 16KB always-on ocram bank called ocram_s, enable it as another mmio sram. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6sx.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index 596763c..9923739 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -172,6 +172,12 @@ clocks = <&clks IMX6SX_CLK_OCRAM>; }; + ocram_s: sram@8f8000 { + compatible = "mmio-sram"; + reg = <0x008f8000 0x4000>; + clocks = <&clks IMX6SX_CLK_OCRAM_S>; + }; + L2: l2-cache@a02000 { compatible = "arm,pl310-cache"; reg = <0x00a02000 0x1000>;