From patchwork Thu Oct 25 07:01:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vabhav Sharma X-Patchwork-Id: 10655521 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EDFA014BB for ; Thu, 25 Oct 2018 07:02:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DCCDE2B344 for ; Thu, 25 Oct 2018 07:02:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D0AE02B354; Thu, 25 Oct 2018 07:02:34 +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=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 5BAA32B344 for ; Thu, 25 Oct 2018 07:02:34 +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:In-Reply-To:References: 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=r86Gw+4B9qLVjh41PIjRRtLYIT0Zj1zDoA2qANL2Jlk=; b=cPZ8DKGkiF3q0Z BJrIC1XmC6vNY2SQpejFG+hhfHQEGWdqjb3i9GMANq7ShlXuxHbs1xhjZGNdB3/EI9tj3ZttU6b4m Ff4YThd3+fhQQ91GfoSnGiyvtXo0TCoIt2Ilc3XWHaX2vpHGdw7VLCs4xfAxRki0Au/T3DBVJ/30v qpi2XI9rrwCd4rRgwSiqaK+jmeEU3yMAkTXp5W2YH/saa71UhmKnnfrMff99/jEzv3vRIUWOUzzWV h36hYfSfJ2Djtv2SP4K/2PFHG+HYEbEyPHJiKHb+bGOib3mA8yUsU7l76BImA30BMFGDy49/3jMZa eD3to9s+qn6bUhwClYSg==; 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 1gFZf3-0001pU-RH; Thu, 25 Oct 2018 07:02:29 +0000 Received: from mail-ve1eur01on0070.outbound.protection.outlook.com ([104.47.1.70] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gFZeM-0001V0-MS for linux-arm-kernel@lists.infradead.org; Thu, 25 Oct 2018 07:01:55 +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=AuQtNhKpFm23DHDZMGE8e+19SH9rALkPy5bBAW+Zoyg=; b=DLjwy7MSFhlIqJT4R9WWeL34loFsB0sL8ugA4WRtN6YS8o/qlvFrSpFA2/UCkRg5MaatgLX4PAIe/Ez4mB58I0qzHN4++WpdqbsVFOkls529ivJgbTJzHTJZQA3NZkrpsFwuxGoYw4h9SQI38jlc+4f1IENnb7yCO8aJM9YRYP0= Received: from VI1PR04MB4800.eurprd04.prod.outlook.com (20.177.48.221) by VI1PR04MB2077.eurprd04.prod.outlook.com (10.166.43.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1273.20; Thu, 25 Oct 2018 07:01:35 +0000 Received: from VI1PR04MB4800.eurprd04.prod.outlook.com ([fe80::c9af:2da0:2fc4:1aca]) by VI1PR04MB4800.eurprd04.prod.outlook.com ([fe80::c9af:2da0:2fc4:1aca%3]) with mapi id 15.20.1273.021; Thu, 25 Oct 2018 07:01:35 +0000 From: Vabhav Sharma To: "sudeep.holla@arm.com" , "oss@buserror.net" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "mturquette@baylibre.com" , "sboyd@kernel.org" , "rjw@rjwysocki.net" , "viresh.kumar@linaro.org" , "linux-clk@vger.kernel.org" , "linux-pm@vger.kernel.org" , "linux-kernel-owner@vger.kernel.org" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "gregkh@linuxfoundation.org" , "arnd@arndb.de" , "kstewart@linuxfoundation.org" , "yamada.masahiro@socionext.com" , Leo Li , "shawnguo@kernel.org" Subject: [PATCH v6 1/6] dt-bindings: arm64: add compatible for LX2160A Thread-Topic: [PATCH v6 1/6] dt-bindings: arm64: add compatible for LX2160A Thread-Index: AQHUbDCRG5m/d7gNDEangw6XyBm3MA== Date: Thu, 25 Oct 2018 07:01:35 +0000 Message-ID: <1540407376-24115-2-git-send-email-vabhav.sharma@nxp.com> References: <1540407376-24115-1-git-send-email-vabhav.sharma@nxp.com> In-Reply-To: <1540407376-24115-1-git-send-email-vabhav.sharma@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0059.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::21) To VI1PR04MB4800.eurprd04.prod.outlook.com (2603:10a6:803:53::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=vabhav.sharma@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [14.143.30.134] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB2077; 6:z6zZYNklj3qj1X6ukCCjYAeE2oDHSx/WBx1oUGmimF81NhYSfP80N5iZxUJUW6xXM4oKHCluRRSwTji7/dQsySz3tTEQK+8xc/3/+9FtgDB+RJauTbusLzzY8fRGMgO4v3A+wlqnRlMS9EdiXsQh+4gwNeEyFr4eGbZ0u3LWv/zWM4ZI/spwjC2+qMEHTuIi3kar+uIjIq0O6S+/zmEllaXsyM5NzkjplOWA3mmzOPlzu1ybvgIDXz0S8yHSj20kfuJmuhWeZKw0/X05jlY5R0nusZbfZi81z7V5xi7I4+5ZgGC+VqwRbsHiRYIcGQS9ohieLXh/b3aRFGqqMHki6TNuE6b82uMVvEcB/2JRvAMO1BUc6dBlyJ/7SslfmXOAT5iONS5mUmT4JuxIpp7hWonjgj2ovnHZ/SgBb0ROR+qluCgwC6H6GTdlRc53nL6GKRyFoxjbHczKeIFi+WUjyQ==; 5:APSjBEJ5A50ndvJH0muCb8Nj7iXttGAeVAeQsLx0/vZ8fO+jfpmb/g4hugdVqjgfk/JctHtd0vCWodhz5N5dEshiJGY2QhOPCCyohLkjX/zuhADttOMTDii2pRxhza4JfdqfxZ29gNp0oSyc5pjVMsAWnJ84QFMooRIqv7VpZJs=; 7:IAqbxOSpqJSq/pUvp/B9H3CVGbj1HtbUUCwmxxkknpMk3x2MI9vB5aPdExmYzQ95Ui9A6tyW6Ja4VvpNrKaEumcwal+RzW7rjxy3Kfoplipk4YtMz+3mocTpdY7vtfHyCmKnbmHAK7fOT18zcsseiA== x-ms-office365-filtering-correlation-id: 809bc56f-6ee4-42c8-23ac-08d63a47b355 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB2077; x-ms-traffictypediagnostic: VI1PR04MB2077: 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)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(3231355)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB2077; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB2077; x-forefront-prvs: 083691450C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(136003)(366004)(346002)(376002)(189003)(199004)(5250100002)(2201001)(446003)(81156014)(476003)(68736007)(97736004)(54906003)(4326008)(86362001)(5660300001)(26005)(102836004)(478600001)(6486002)(81166006)(44832011)(316002)(2616005)(25786009)(11346002)(486006)(36756003)(7736002)(71190400001)(110136005)(99286004)(52116002)(7416002)(105586002)(76176011)(14454004)(71200400001)(386003)(55236004)(8936002)(6506007)(2906002)(256004)(106356001)(6436002)(14444005)(186003)(305945005)(6116002)(3846002)(6512007)(8676002)(66066001)(2900100001)(2501003)(53936002)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB2077; H:VI1PR04MB4800.eurprd04.prod.outlook.com; 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-antispam-message-info: u3qs9bYNrqRinnGZatrjr7MFhe0pgU0yyiTDfVSv6/fodM79irO4RgBqeoUQI82kfHAkvqMOS1BOlJnCifkLufKZgyrZWFfFfI1XfPBMW9sxz71Euu8E3IW1kUYTu+/h46DDNNpoTCyzZ0GNlwyLuHjrdnV7QzU0zdU24qpW1hRjBzAAExnfzAZJv3vHy2x3b7KkksyZTOVnPqbI32aUosc2nPP43FHy3rf1fSDYfxOv2xhXaPYK/M9aHu59Cs3piueTq4/R0+iKGzQ44PFxVL+1gZ1OoTAq+VY5JgI2p5eNYo++YiU779HpOsxf+xVvCO3tfrfPtefPEmIuq8mqZLKcsO6RRy860x+55m0NY7A= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 809bc56f-6ee4-42c8-23ac-08d63a47b355 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2018 07:01:35.0762 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB2077 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181025_000146_738365_6980826C X-CRM114-Status: GOOD ( 13.37 ) 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: "ulf.hansson@linaro.org" , Udit Kumar , Pankaj Bansal , "linux@armlinux.org.uk" , "adrian.hunter@intel.com" , Varun Sethi , Vabhav Sharma 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 Add compatible for LX2160A SoC,QDS and RDB board Add lx2160a compatible for clockgen and dcfg Signed-off-by: Vabhav Sharma Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.txt | 14 +++++++++++++- Documentation/devicetree/bindings/clock/qoriq-clock.txt | 1 + 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/fsl.txt b/Documentation/devicetree/bindings/arm/fsl.txt index 8a1baa2..71adce2 100644 --- a/Documentation/devicetree/bindings/arm/fsl.txt +++ b/Documentation/devicetree/bindings/arm/fsl.txt @@ -130,7 +130,7 @@ core start address and release the secondary core from holdoff and startup. - compatible: Should contain a chip-specific compatible string, Chip-specific strings are of the form "fsl,-dcfg", The following s are known to be supported: - ls1012a, ls1021a, ls1043a, ls1046a, ls2080a. + ls1012a, ls1021a, ls1043a, ls1046a, ls2080a, lx2160a. - reg : should contain base address and length of DCFG memory-mapped registers @@ -222,3 +222,15 @@ Required root node properties: LS2088A ARMv8 based RDB Board Required root node properties: - compatible = "fsl,ls2088a-rdb", "fsl,ls2088a"; + +LX2160A SoC +Required root node properties: + - compatible = "fsl,lx2160a"; + +LX2160A ARMv8 based QDS Board +Required root node properties: + - compatible = "fsl,lx2160a-qds", "fsl,lx2160a"; + +LX2160A ARMv8 based RDB Board +Required root node properties: + - compatible = "fsl,lx2160a-rdb", "fsl,lx2160a"; diff --git a/Documentation/devicetree/bindings/clock/qoriq-clock.txt b/Documentation/devicetree/bindings/clock/qoriq-clock.txt index 97f46ad..3fb9995 100644 --- a/Documentation/devicetree/bindings/clock/qoriq-clock.txt +++ b/Documentation/devicetree/bindings/clock/qoriq-clock.txt @@ -37,6 +37,7 @@ Required properties: * "fsl,ls1046a-clockgen" * "fsl,ls1088a-clockgen" * "fsl,ls2080a-clockgen" + * "fsl,lx2160a-clockgen" Chassis-version clock strings include: * "fsl,qoriq-clockgen-1.0": for chassis 1.0 clocks * "fsl,qoriq-clockgen-2.0": for chassis 2.0 clocks From patchwork Thu Oct 25 07:01:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vabhav Sharma X-Patchwork-Id: 10655523 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 785FB14BB for ; Thu, 25 Oct 2018 07:03:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 666EA2B30A for ; Thu, 25 Oct 2018 07:03:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A4F52B350; Thu, 25 Oct 2018 07:03:21 +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=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 E3D662B344 for ; Thu, 25 Oct 2018 07:03:20 +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:In-Reply-To:References: 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=Y8AxBRHBG4xO5zK8D2ubC9xVjqfgu3ma1rBSvb5yt+E=; b=FJ44r4blZUSBS0 VWu/qKZb7KIiiKavUK99bng0j93qLcoFTSshoHkwlMiNf0vIM7KafwxydoNiVMx9VoGQmaLZ28eZe QE7BDsas0ZIdjhOKswPNANgwWQHf/FQnlykO8MI/PaRnymmDDwuvbQbamSrOqXuqihBZSwcEMscVV GACNOhxJ/h9o4VE4QEmYZckEvz0vvdaf+IVVqJw6M1kGnZpp/u6gGAton69zfz/l2ixYUPF+5zyDe UIhVnthOFftmcEq6hdqf/G6wBMXpoj9KqTj2nrqBHa/dffB0lOzv+C+graKQWOtw4j5BHIf9ZnfhM MenuibxCGGu+OjuxOD/A==; 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 1gFZfm-00027g-4o; Thu, 25 Oct 2018 07:03:14 +0000 Received: from mail-he1eur01on0087.outbound.protection.outlook.com ([104.47.0.87] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gFZeW-0001Wf-LM for linux-arm-kernel@lists.infradead.org; Thu, 25 Oct 2018 07:02:08 +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=1Tw12xB1ajkqPXg0EQ6CyGxy6i6KHRsX+WOfIzWGsZE=; b=BugiXyKcxpMo5ktDgMZxDlD7rzequPIdopunW/SFhys0Imj4Do3Al3KGsF2zXVrYleNCio1/5TBzd4ReO9pN+ROupF6Toi4+Oj8RCj3xXSc1bzVuQv7BK32kc8qtO8/gfWYP0emtK0HZo9eneDbOaO+gb6TAEliXL5q0VL53JiU= Received: from VI1PR04MB4800.eurprd04.prod.outlook.com (20.177.48.221) by VI1PR04MB3055.eurprd04.prod.outlook.com (10.170.228.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1273.20; Thu, 25 Oct 2018 07:01:41 +0000 Received: from VI1PR04MB4800.eurprd04.prod.outlook.com ([fe80::c9af:2da0:2fc4:1aca]) by VI1PR04MB4800.eurprd04.prod.outlook.com ([fe80::c9af:2da0:2fc4:1aca%3]) with mapi id 15.20.1273.021; Thu, 25 Oct 2018 07:01:41 +0000 From: Vabhav Sharma To: "sudeep.holla@arm.com" , "oss@buserror.net" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "mturquette@baylibre.com" , "sboyd@kernel.org" , "rjw@rjwysocki.net" , "viresh.kumar@linaro.org" , "linux-clk@vger.kernel.org" , "linux-pm@vger.kernel.org" , "linux-kernel-owner@vger.kernel.org" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "gregkh@linuxfoundation.org" , "arnd@arndb.de" , "kstewart@linuxfoundation.org" , "yamada.masahiro@socionext.com" , Leo Li , "shawnguo@kernel.org" Subject: [PATCH v6 2/6] soc/fsl/guts: Add definition for LX2160A Thread-Topic: [PATCH v6 2/6] soc/fsl/guts: Add definition for LX2160A Thread-Index: AQHUbDCUExVIB/DJSEqaajKdSla7BA== Date: Thu, 25 Oct 2018 07:01:41 +0000 Message-ID: <1540407376-24115-3-git-send-email-vabhav.sharma@nxp.com> References: <1540407376-24115-1-git-send-email-vabhav.sharma@nxp.com> In-Reply-To: <1540407376-24115-1-git-send-email-vabhav.sharma@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0059.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::21) To VI1PR04MB4800.eurprd04.prod.outlook.com (2603:10a6:803:53::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=vabhav.sharma@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [14.143.30.134] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB3055; 6:7InQXxy83fFD8U6GgZNvQCrhxi+y990TpvOKnUYeXJLI5wgMsDeRx8PCDwClmOiwsTBjA8Xb7+FJZZpr+RniJQbUNuuYUry20IymNzqsIB4arYhA6u+v8tukV+KOCMB5p9XYGZj56ivleXr2aTg8AtcbMPdmDApwZK72OCzRWG+KsXjXd4RguYZ8SwgUc9J/+hbjFlAxr1xgDwEf9za47/MEZ2cpLwk3Ke4x3yi/2wNqMF4Ik6GYTttCX6zLUhV7yRhwjxYW4lK8IepCdN4REqmf+C73G2KGH66O/S6/h19y4Xj8OrfLWnanpluUZl9pZZJcGMsQrJ7wC9K3m5BoXSlVW4zIdBqlZdoVKbv3pNI+zeEPXQVWexhP2PTwwx2oLhm0QZnxAHX3bQ2Qe0cEiYzErFV7soAj2liyL85YUwCzo3boQ4mXRCoouUsINvyYpnwXWh/qS/G7nyBDLm2llg==; 5:ohNbKfpkR7HMRC2lTmuWEi+lZNkZgZn6cP/iXDDpRjQVzBpPiXM1lbL5wTMCqaTn5TR5ijR3jfxsH4l0BWUJ7Ia19DuKi59+Br4h/LtjXgmn8tXW+dy0BR5otBkMURq5hNRvT+s1CABPv/ePG4v90mEduPtCgqhnuCgUwzDrLcU=; 7:4w+sDNllSds9Z5b+bbHMBmDogX/VXXu7OUYD3MIEA+h1pHLo2knCoj90BTzb48CkSqGwkc4EI/5ma09Rs9mLVdMpOQQo/2WbL4taWctDUpLO8fcWX+dfzXeKtPmpz2xTqTAbmma16F3a0DsXTfux9w== x-ms-office365-filtering-correlation-id: 17a95b87-7509-42a6-7f7e-08d63a47b71f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB3055; x-ms-traffictypediagnostic: VI1PR04MB3055: 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)(5005006)(8121501046)(3231355)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB3055; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB3055; x-forefront-prvs: 083691450C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(396003)(366004)(39860400002)(346002)(376002)(189003)(199004)(5250100002)(86362001)(2201001)(575784001)(446003)(68736007)(81156014)(81166006)(97736004)(54906003)(4326008)(476003)(478600001)(26005)(102836004)(5660300001)(6486002)(44832011)(316002)(2616005)(25786009)(11346002)(486006)(36756003)(7736002)(305945005)(110136005)(99286004)(52116002)(7416002)(105586002)(76176011)(14454004)(71200400001)(386003)(71190400001)(6506007)(55236004)(186003)(2906002)(106356001)(256004)(6436002)(6116002)(8936002)(3846002)(8676002)(6512007)(2501003)(53936002)(66066001)(2900100001)(921003)(1121003)(473944003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB3055; H:VI1PR04MB4800.eurprd04.prod.outlook.com; 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-antispam-message-info: ozibUYzf5dlAljaiJFYT37nw4MBu6pIAGvsK/nS5+a9Jd5x7Ze6CioQScMlSHKLoJhqK0eYoE7qNrMX0YQc3UTS48giiBZgR+HJylqzD8RwWgaoIjmGbklUwI05scJ9cu5cEXZkHLhsn1eCgffMdRFXzP1V3VAwUIwp49cF1TjTEtiny0ALLWlF3hNS/Sc6bFp/Mz9O8xokqbbGs2wjiGoWAdxjR4WMhtls05BaJ/v3lTflsgw3g61Wt9Vu6skDn9lsRg8jZCQ0zNlC8T8WwmP+eMIlm8Gdtct56e8vGbeJU9uYhvJtd1+kt3NWb35SpZ+t3bu3IzotDuydlQpNEcI3mdABG4vSZXeQUuaJsgIk= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 17a95b87-7509-42a6-7f7e-08d63a47b71f X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2018 07:01:41.4043 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3055 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181025_000156_724822_31C2310A X-CRM114-Status: GOOD ( 13.75 ) 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: "ulf.hansson@linaro.org" , Udit Kumar , Pankaj Bansal , "linux@armlinux.org.uk" , "adrian.hunter@intel.com" , Varun Sethi , Vabhav Sharma , Yinbo Zhu 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 Adding compatible string "lx2160a-dcfg" to initialize guts driver for lx2160 and SoC die attribute definition for LX2160A Signed-off-by: Vabhav Sharma Signed-off-by: Yinbo Zhu Acked-by: Li Yang --- drivers/soc/fsl/guts.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/soc/fsl/guts.c b/drivers/soc/fsl/guts.c index 302e0c8..bcab1ee 100644 --- a/drivers/soc/fsl/guts.c +++ b/drivers/soc/fsl/guts.c @@ -100,6 +100,11 @@ static const struct fsl_soc_die_attr fsl_soc_die[] = { .svr = 0x87000000, .mask = 0xfff70000, }, + /* Die: LX2160A, SoC: LX2160A/LX2120A/LX2080A */ + { .die = "LX2160A", + .svr = 0x87360000, + .mask = 0xff3f0000, + }, { }, }; @@ -222,6 +227,7 @@ static const struct of_device_id fsl_guts_of_match[] = { { .compatible = "fsl,ls1088a-dcfg", }, { .compatible = "fsl,ls1012a-dcfg", }, { .compatible = "fsl,ls1046a-dcfg", }, + { .compatible = "fsl,lx2160a-dcfg", }, {} }; MODULE_DEVICE_TABLE(of, fsl_guts_of_match); From patchwork Thu Oct 25 07:01:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vabhav Sharma X-Patchwork-Id: 10655547 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8F6FB109C for ; Thu, 25 Oct 2018 07:16:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7615B2B33E for ; Thu, 25 Oct 2018 07:16:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 623EB2B373; Thu, 25 Oct 2018 07:16:39 +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=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 ED1082B38C for ; Thu, 25 Oct 2018 07:16:38 +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:In-Reply-To:References: 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=bNR9R1HOKIvU0gyB0Auwvr8B7hCoLoZ/8vHtpK+767Y=; b=NBFO64hly12nvd i6LJlOpDZAaeau83XL0SF0/sj6J/CbWG6ycfjVhkea0hGhKC/9gdKzPrz+l83K28TanXLrP7tBMI9 2ZlEXOGUIOeD0HhsgXngmzsMACKg4unkVXOd9IOs7mUaQ+r6ErQlEbvlNvCctfeVnT4U8llOPYu1l LcVJeJmwFX0pEUi+NMPdtu+uc0//72U/dSOoz7oKs9R3MTt5RVUxg//PrIXDdaexEVHO4KLXCh4Gz wmbOliw4KReQH2dZZsImD6J/XInKyjoyfq5gBOG4NKOAFKXMrLguu/77shJz9wAmITv8+J9heKP3Z n/H/0vQWSTQG5GsT7AOg==; 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 1gFZsh-0007QO-SZ; Thu, 25 Oct 2018 07:16:35 +0000 Received: from mail-he1eur01on0087.outbound.protection.outlook.com ([104.47.0.87] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gFZej-0001Wf-4a for linux-arm-kernel@lists.infradead.org; Thu, 25 Oct 2018 07:02:28 +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=g88fk7r3K7OfiwRynUBeicxdrF3GKieQcJWEL6amKlE=; b=UvP620aYxyfhFoe0beTZ1NZE4rFOevdpnlJi017OJZMEUVQsQcczYbEQcoOYXydJMl8bL0uEesuj97hhjOsDrjzqui9WBhp4cDMSn/lVtxKDWVhtn7o4hWbi8ycpooT5KQuMd0ToV+GYpaVH88JMsV/SHvDbDvgzT/78gRqDOx4= Received: from VI1PR04MB4800.eurprd04.prod.outlook.com (20.177.48.221) by VI1PR04MB3055.eurprd04.prod.outlook.com (10.170.228.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1273.20; Thu, 25 Oct 2018 07:01:47 +0000 Received: from VI1PR04MB4800.eurprd04.prod.outlook.com ([fe80::c9af:2da0:2fc4:1aca]) by VI1PR04MB4800.eurprd04.prod.outlook.com ([fe80::c9af:2da0:2fc4:1aca%3]) with mapi id 15.20.1273.021; Thu, 25 Oct 2018 07:01:47 +0000 From: Vabhav Sharma To: "sudeep.holla@arm.com" , "oss@buserror.net" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "mturquette@baylibre.com" , "sboyd@kernel.org" , "rjw@rjwysocki.net" , "viresh.kumar@linaro.org" , "linux-clk@vger.kernel.org" , "linux-pm@vger.kernel.org" , "linux-kernel-owner@vger.kernel.org" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "gregkh@linuxfoundation.org" , "arnd@arndb.de" , "kstewart@linuxfoundation.org" , "yamada.masahiro@socionext.com" , Leo Li , "shawnguo@kernel.org" Subject: [PATCH v6 3/6] clk: qoriq: increase array size of cmux_to_group Thread-Topic: [PATCH v6 3/6] clk: qoriq: increase array size of cmux_to_group Thread-Index: AQHUbDCYC3oxFn5O8EOzjZ4dhKNbXQ== Date: Thu, 25 Oct 2018 07:01:47 +0000 Message-ID: <1540407376-24115-4-git-send-email-vabhav.sharma@nxp.com> References: <1540407376-24115-1-git-send-email-vabhav.sharma@nxp.com> In-Reply-To: <1540407376-24115-1-git-send-email-vabhav.sharma@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0059.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::21) To VI1PR04MB4800.eurprd04.prod.outlook.com (2603:10a6:803:53::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=vabhav.sharma@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [14.143.30.134] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB3055; 6:MHy1xIw4vkopoaX+cqcsNxM0UCUQEtv84ZLm+R5n33DcrT+HipCpvz+vseLpkW6g7oD4RUdF8yk2H1w9f7WTJkiuw0Rr2HTK8H3znTuJTueNCznCpwk1FtO3IrDuE2fMOzbPhhK/GpA0UxLYCgzjoTYFjqf8B58LrokyoThN2uvSRtavTj+o9YGII5+yTEYzsEJL9EI04hPlSCiB9Iq7wBQ82l85z6lBg0qx8K/ISDsgEBq8BcI3irBb+1KyVvLABMOimMvFTs1PTnbCvrhNoiENVCm1PGHBeZUYvtnWlGTMYkkPJXNGCZfHzN6M44BjLyImGjGE0CHJOhCG07vkHxYZtX4kIDtGCNO0OtHIgkx2CuDWl+d0ykVups6pb7dV9qfJw8b04OxBpXHIjjeL6v/Guj0Lvb6j3AKVMxqztSgbK4ExCUFrfzMEt0LncapMsGTebqJYu2Vpd97LRQ6yGQ==; 5:/OHR4CIDN8sJes6RElJlZKAVLfinu62LWUALbfOkuK7Ps6JfdfzL7FUsRrvkP/wWVifMYI9UyRh67F43KKfbB1SElaR/hPLILuuq9uDQdqqo9SKZ+aZ7X+u/MKCMWxr5XiOZtIkguluxFFVZYTUPT01zjtYQ6fJzrnoLWjIcIMY=; 7:fPdn3GDsnCGEOAeUWmoPylXXhDtvWbyD7f1PiYy4njyWyhO5XUdXTMOdT7Ptx07b04+PLXEA8xfTVVp1oFmaLxygWW8Jw+6PgRxhSifWkXxblHD/E0Tr5LW6CT0WDVAm2QASOUIQX3c2CcrktUnDQA== x-ms-office365-filtering-correlation-id: 40e6b7ae-3c41-4fcd-2b23-08d63a47bad9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB3055; x-ms-traffictypediagnostic: VI1PR04MB3055: 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)(5005006)(8121501046)(3231355)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB3055; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB3055; x-forefront-prvs: 083691450C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(396003)(366004)(39860400002)(346002)(376002)(189003)(199004)(5250100002)(86362001)(2201001)(446003)(68736007)(81156014)(81166006)(97736004)(54906003)(4326008)(476003)(478600001)(26005)(102836004)(5660300001)(6486002)(44832011)(316002)(2616005)(25786009)(11346002)(486006)(36756003)(7736002)(305945005)(110136005)(99286004)(52116002)(7416002)(105586002)(76176011)(14454004)(71200400001)(386003)(71190400001)(6506007)(55236004)(186003)(2906002)(106356001)(256004)(14444005)(6436002)(6116002)(8936002)(3846002)(8676002)(6512007)(2501003)(53936002)(66066001)(2900100001)(921003)(21314003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB3055; H:VI1PR04MB4800.eurprd04.prod.outlook.com; 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-antispam-message-info: QEGGqWCJVfLFp+mRB+oC/0NaOgF0vQbh1rMl6IcMlJcqXxTkWqyg9/9AHq43k3C9cGO8YmhQ7in4scRUKZdCVUfUiN0dB3Ar1+wdvFVne47M6JEcq3fkJOIX9rmG14C7NOfATBj4JHo8njkEnkpC57idZiyA0OeSpbU2RKNI/40U1oMJ8XOwfN1XR5y4yRiUV8VqsBTy4iCThVpNZv6mv9swglUNV5ZgWek9vV08UwWLBbi2Bk9VlTO+7P7YJBJcl6oG1l+YYLglDqkuNH6U9dSbf3XnAx6n2Wzg3odQlGJ+INYGywx7Qba9GzXAE4Gd49g2mkJul5UFBdUghIXdV6bbQ0JfQ3wRsTR9IlIVA7E= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 40e6b7ae-3c41-4fcd-2b23-08d63a47bad9 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2018 07:01:47.6699 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3055 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181025_000209_351586_ABA2B3B4 X-CRM114-Status: GOOD ( 14.30 ) 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: "ulf.hansson@linaro.org" , Yogesh Narayan Gaur , Udit Kumar , Pankaj Bansal , "linux@armlinux.org.uk" , "adrian.hunter@intel.com" , Varun Sethi , Vabhav Sharma 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 From: Yogesh Gaur Increase size of cmux_to_group array, to accomdate entry of -1 termination. Added -1, terminated, entry for 4080_cmux_grpX. Signed-off-by: Yogesh Gaur Signed-off-by: Vabhav Sharma Acked-by: Stephen Boyd --- drivers/clk/clk-qoriq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index 3a1812f..e152bfb 100644 --- a/drivers/clk/clk-qoriq.c +++ b/drivers/clk/clk-qoriq.c @@ -79,7 +79,7 @@ struct clockgen_chipinfo { const struct clockgen_muxinfo *cmux_groups[2]; const struct clockgen_muxinfo *hwaccel[NUM_HWACCEL]; void (*init_periph)(struct clockgen *cg); - int cmux_to_group[NUM_CMUX]; /* -1 terminates if fewer than NUM_CMUX */ + int cmux_to_group[NUM_CMUX+1]; /* array should be -1 terminated */ u32 pll_mask; /* 1 << n bit set if PLL n is valid */ u32 flags; /* CG_xxx */ }; @@ -601,7 +601,7 @@ static const struct clockgen_chipinfo chipinfo[] = { &p4080_cmux_grp1, &p4080_cmux_grp2 }, .cmux_to_group = { - 0, 0, 0, 0, 1, 1, 1, 1 + 0, 0, 0, 0, 1, 1, 1, 1, -1 }, .pll_mask = 0x1f, }, From patchwork Thu Oct 25 07:01:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vabhav Sharma X-Patchwork-Id: 10655525 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8F8F813A4 for ; Thu, 25 Oct 2018 07:04:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 786352B30A for ; Thu, 25 Oct 2018 07:04:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6BCAB2B356; Thu, 25 Oct 2018 07:04:50 +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=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 C777D2B361 for ; Thu, 25 Oct 2018 07:04:49 +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:In-Reply-To:References: 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=A2uVmNMOJKVjDlmCN3MrDkXF38ICwNBKb9LtDkLB8Qo=; b=m/3+Rrh9NiMHpl Xn5mK9QGhJ10GCFW4MmOIOQCEznu4wJAPhBRrZkgKCK/B99OpONsu326XC+SL5L570C/8GCgSWaik VWfDcAhWnqew5HbNBOnQLKuI9x5inRkaPsPiBdFeJL84WPbQpIne3xuEju78s+F6uU30fGtO1sZRL K6/xcmu/inHzWE2aOiGmICBAqL5ntoAhIgxfIvC8VHlbaB53rgNiUCR5+wx6omsipkrIhuvarx+WI ZuyViv90KIFBDjwieXhljV1ktI6kvSP21Np0ve3APCPg9dEyZw+cuLL0hMPYDAwOpFLGZfAb4Wiba w8Wsxr+UES2eRI1W6Vjg==; 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 1gFZhF-0002iY-L5; Thu, 25 Oct 2018 07:04:45 +0000 Received: from mail-db3eur04on0602.outbound.protection.outlook.com ([2a01:111:f400:fe0c::602] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gFZel-0001c2-AP for linux-arm-kernel@lists.infradead.org; Thu, 25 Oct 2018 07:02:32 +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=MALEO5ltLd+Bp7OEryabJF+FlyngHm0DrJeZKbB87sM=; b=AdCP6PtUWg+QOgh3CqorQJtyRNAZ0ZDjrZKqx7hW41oiXxICLwWBiYAwgpGegiVVByn61AbVFk//N4EqXByBm9uTSpAvtWtHlV9HWg5KSaC6BbUgNiVja12JqbGaqnnqxpITYR7opoDeGuIsEkvYex31NrOehT79UcSSzObznVU= Received: from VI1PR04MB4800.eurprd04.prod.outlook.com (20.177.48.221) by VI1PR04MB0909.eurprd04.prod.outlook.com (10.161.106.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1273.19; Thu, 25 Oct 2018 07:01:54 +0000 Received: from VI1PR04MB4800.eurprd04.prod.outlook.com ([fe80::c9af:2da0:2fc4:1aca]) by VI1PR04MB4800.eurprd04.prod.outlook.com ([fe80::c9af:2da0:2fc4:1aca%3]) with mapi id 15.20.1273.021; Thu, 25 Oct 2018 07:01:54 +0000 From: Vabhav Sharma To: "sudeep.holla@arm.com" , "oss@buserror.net" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "mturquette@baylibre.com" , "sboyd@kernel.org" , "rjw@rjwysocki.net" , "viresh.kumar@linaro.org" , "linux-clk@vger.kernel.org" , "linux-pm@vger.kernel.org" , "linux-kernel-owner@vger.kernel.org" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "gregkh@linuxfoundation.org" , "arnd@arndb.de" , "kstewart@linuxfoundation.org" , "yamada.masahiro@socionext.com" , Leo Li , "shawnguo@kernel.org" Subject: [PATCH v6 4/6] clk: qoriq: Add clockgen support for lx2160a Thread-Topic: [PATCH v6 4/6] clk: qoriq: Add clockgen support for lx2160a Thread-Index: AQHUbDCc0zkWJqs0YU6lPEAT1AT4FQ== Date: Thu, 25 Oct 2018 07:01:54 +0000 Message-ID: <1540407376-24115-5-git-send-email-vabhav.sharma@nxp.com> References: <1540407376-24115-1-git-send-email-vabhav.sharma@nxp.com> In-Reply-To: <1540407376-24115-1-git-send-email-vabhav.sharma@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0059.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::21) To VI1PR04MB4800.eurprd04.prod.outlook.com (2603:10a6:803:53::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=vabhav.sharma@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [14.143.30.134] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB0909; 6:VH3knDkhbyxSX76dDWDUYWakPribYt1h+EB2xNmKkZZLcZt88C+9iHdAT3NAelyNe8OSnCFmJlKYme/LHZtztIndFekTEJNHbsBQzZXDt4ujpE1Vgw+/jimeFlWWw2JOwq49YEaMrAS0Tqmklenm0DkBhKVRpfU9rhOeL0R3MSMTFUssPJ06rXA80uoZ7Jre3rzHLwk6OUSnDS+7K0cdfiKtRwHRl0yZJ67s5quGNwQJ7FAumSHdb+iaW82qZR9n0wRkPEeJjVJDALYmG1FmvIjtn/yRWrKNeSS2HYYyUNSzmJHH//VAGT+HlCxnImmSiqCuL7/wnOTwT0G99BB5tc6QLnZVzoejBaea9ZQiI4hoqxWjFkbPQodUUxGO8dWVm5WHUe0rROM78RRCFRwjvwJHMv6ksLZeXwC2ql2tMmIVTq475K5hEtSHJwZ6IkSlVv62oKhwB3Eu3oGxXTJSDQ==; 5:tG4lBU9gFmD+dIvK0hGrgQa/8FbDHqAfWO1EM6+K68AnB3JqgN7Uf7lPhb9QFyrdRqei/IpygXd451izaM3kipAazpQKTpAKutikP8Pg9ZGPjPjbi+SX4ALernnjb0hzGwhfHwmsR7Y0vRyuptLjVR06wVmRmedc5eON59hrnxE=; 7:/zA1ShNwAHBR2uFK6ZqaMDPZt4U4bHfJKj21ZHzwBjUgybm/79laXpvmOcZqUdlnx3lc0L80waOPlejR8bc8/2Z1fWzB9TszVMZ7c6Dcz/7eIfkw6uE3fc6WWNXtcTORm0a39Ljt9fli6I2dLSIh4Q== x-ms-office365-filtering-correlation-id: 0c12bb51-f051-455d-fc5e-08d63a47beb8 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB0909; x-ms-traffictypediagnostic: VI1PR04MB0909: 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)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231355)(944501410)(52105095)(3002001)(6055026)(148016)(149066)(150057)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB0909; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB0909; x-forefront-prvs: 083691450C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(366004)(136003)(39860400002)(376002)(396003)(189003)(199004)(186003)(478600001)(5660300001)(14454004)(4326008)(25786009)(7416002)(105586002)(106356001)(36756003)(26005)(110136005)(3846002)(6116002)(6436002)(2906002)(102836004)(55236004)(316002)(2900100001)(305945005)(66066001)(8676002)(99286004)(7736002)(6506007)(6512007)(386003)(81156014)(8936002)(52116002)(81166006)(53936002)(476003)(54906003)(68736007)(6486002)(256004)(2616005)(97736004)(2201001)(44832011)(486006)(86362001)(76176011)(5250100002)(11346002)(71190400001)(446003)(2501003)(71200400001)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB0909; H:VI1PR04MB4800.eurprd04.prod.outlook.com; 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-antispam-message-info: jIGFEVha+Z8bH70iOCSxzHr7lztBI1LcPQWhXKLGEy3xbKMSDYE9G1LK0HMKH7WTu8m5Gge+fwnl7JR0MiWnhKrXnV38CmHPeFYIUGtR4Rc5xd4o/mgXFWAISe1MFIUfx4e45wKMf4Z8s2Arc/QgrtzSaawHtF2mXAZRoLisvAVT1ATpeEi73VqUcCcnHNjKPnnOHlp8Lhnx3pZCuKUCbddMiOpkwasnqUwS9CcSV1z1cMcDWfd44R2THlkpuykkARh5xDL8VgkYeGvKx5J2W2RjLCzACoaUqUIqrBxUbU3mWCu1GNuY+ncpH6ZCb2Fp9wU9hkUYwvd4w6r9J1nVjBmHLlnO+i7lYNq5kbicGCY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0c12bb51-f051-455d-fc5e-08d63a47beb8 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2018 07:01:54.2480 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB0909 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181025_000211_539536_B52456EE X-CRM114-Status: GOOD ( 13.35 ) 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: "ulf.hansson@linaro.org" , Yogesh Narayan Gaur , Andy Tang , Udit Kumar , Pankaj Bansal , "linux@armlinux.org.uk" , "adrian.hunter@intel.com" , Varun Sethi , Vabhav Sharma 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 From: Yogesh Gaur Add clockgen support for lx2160a. Added entry for compat 'fsl,lx2160a-clockgen'. Signed-off-by: Tang Yuantian Signed-off-by: Yogesh Gaur Signed-off-by: Vabhav Sharma Acked-by: Stephen Boyd Acked-by: Viresh Kumar --- drivers/clk/clk-qoriq.c | 12 ++++++++++++ drivers/cpufreq/qoriq-cpufreq.c | 1 + 2 files changed, 13 insertions(+) diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index e152bfb..99675de 100644 --- a/drivers/clk/clk-qoriq.c +++ b/drivers/clk/clk-qoriq.c @@ -570,6 +570,17 @@ static const struct clockgen_chipinfo chipinfo[] = { .flags = CG_VER3 | CG_LITTLE_ENDIAN, }, { + .compat = "fsl,lx2160a-clockgen", + .cmux_groups = { + &clockgen2_cmux_cga12, &clockgen2_cmux_cgb + }, + .cmux_to_group = { + 0, 0, 0, 0, 1, 1, 1, 1, -1 + }, + .pll_mask = 0x37, + .flags = CG_VER3 | CG_LITTLE_ENDIAN, + }, + { .compat = "fsl,p2041-clockgen", .guts_compat = "fsl,qoriq-device-config-1.0", .init_periph = p2041_init_periph, @@ -1424,6 +1435,7 @@ CLK_OF_DECLARE(qoriq_clockgen_ls1043a, "fsl,ls1043a-clockgen", clockgen_init); CLK_OF_DECLARE(qoriq_clockgen_ls1046a, "fsl,ls1046a-clockgen", clockgen_init); CLK_OF_DECLARE(qoriq_clockgen_ls1088a, "fsl,ls1088a-clockgen", clockgen_init); CLK_OF_DECLARE(qoriq_clockgen_ls2080a, "fsl,ls2080a-clockgen", clockgen_init); +CLK_OF_DECLARE(qoriq_clockgen_lx2160a, "fsl,lx2160a-clockgen", clockgen_init); /* Legacy nodes */ CLK_OF_DECLARE(qoriq_sysclk_1, "fsl,qoriq-sysclk-1.0", sysclk_init); diff --git a/drivers/cpufreq/qoriq-cpufreq.c b/drivers/cpufreq/qoriq-cpufreq.c index 3d773f6..83921b7 100644 --- a/drivers/cpufreq/qoriq-cpufreq.c +++ b/drivers/cpufreq/qoriq-cpufreq.c @@ -295,6 +295,7 @@ static const struct of_device_id node_matches[] __initconst = { { .compatible = "fsl,ls1046a-clockgen", }, { .compatible = "fsl,ls1088a-clockgen", }, { .compatible = "fsl,ls2080a-clockgen", }, + { .compatible = "fsl,lx2160a-clockgen", }, { .compatible = "fsl,p4080-clockgen", }, { .compatible = "fsl,qoriq-clockgen-1.0", }, { .compatible = "fsl,qoriq-clockgen-2.0", }, From patchwork Thu Oct 25 07:02:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vabhav Sharma X-Patchwork-Id: 10655551 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F0EAB15A7 for ; Thu, 25 Oct 2018 07:17:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D52822B38C for ; Thu, 25 Oct 2018 07:17:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C556228F17; Thu, 25 Oct 2018 07:17:39 +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=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 5999E28F17 for ; Thu, 25 Oct 2018 07:17:38 +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:In-Reply-To:References: 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=+ZIXCKMNvSLjFDBPmjHoE42kZUTC3IGA0bgLrX29yEs=; b=RkaSZjyRQ+KtHR yNu/A5GJxdnJ05LZFTVsHQYkX1g6Tp/70EmxPmCBvMro9JaJEwM3b8Ed0OWiyFokaKnN45PJBZS64 5cxgdfc29vbnWd8fvE5eVuXLSqARU/e4h0t8rMII1KIwXSR2znSMbiygqJx9ql2JRiPDTC8ut1VQI 3Ohem9/8UOQkZLP1IVqk2FVSgRTEhXdkG7tmX5x5tDVWihmFUQzpPycMcLkuISAgGdbI+vrMQ7/q3 h/sWIjLVwhBhmbJo1uYP7QRagvxpXro5HH4cux+JU5THVLKp4a0vIbHWvObf8PdAa9mnkjJg7tvyF acbHQsYmkqjO8zgzcd6w==; 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 1gFZte-0007kn-3e; Thu, 25 Oct 2018 07:17:34 +0000 Received: from mail-he1eur01on0059.outbound.protection.outlook.com ([104.47.0.59] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gFZer-0001f6-Kw for linux-arm-kernel@lists.infradead.org; Thu, 25 Oct 2018 07:03:11 +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=MZp+V8c6Bf0IMR+H+rc3cgtn2YkVXeWwArPuwGIkjfw=; b=EU7JxwdrXOpUS+FbTnW2tzL6ZWaq/q3mXqBOtJWxtJr+amXwsV4dB6EYuat2jbEms4NMmua6cu8r67+wtIenyQSEUcE0iIPiL15DKJQ7HdFRiR0xhrQbpzsRHURjFpvv7digNBmuVDOUKcgc0lzLClBmHZM+T3LMrU8wC1xp5+Y= Received: from VI1PR04MB4800.eurprd04.prod.outlook.com (20.177.48.221) by VI1PR04MB5167.eurprd04.prod.outlook.com (20.177.50.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1250.30; Thu, 25 Oct 2018 07:02:02 +0000 Received: from VI1PR04MB4800.eurprd04.prod.outlook.com ([fe80::c9af:2da0:2fc4:1aca]) by VI1PR04MB4800.eurprd04.prod.outlook.com ([fe80::c9af:2da0:2fc4:1aca%3]) with mapi id 15.20.1273.021; Thu, 25 Oct 2018 07:02:02 +0000 From: Vabhav Sharma To: "sudeep.holla@arm.com" , "oss@buserror.net" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "mturquette@baylibre.com" , "sboyd@kernel.org" , "rjw@rjwysocki.net" , "viresh.kumar@linaro.org" , "linux-clk@vger.kernel.org" , "linux-pm@vger.kernel.org" , "linux-kernel-owner@vger.kernel.org" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "gregkh@linuxfoundation.org" , "arnd@arndb.de" , "kstewart@linuxfoundation.org" , "yamada.masahiro@socionext.com" , Leo Li , "shawnguo@kernel.org" Subject: [PATCH v6 5/6] arm64: dts: add QorIQ LX2160A SoC support Thread-Topic: [PATCH v6 5/6] arm64: dts: add QorIQ LX2160A SoC support Thread-Index: AQHUbDChmEwz+msV3UyIPthBJsA5lA== Date: Thu, 25 Oct 2018 07:02:01 +0000 Message-ID: <1540407376-24115-6-git-send-email-vabhav.sharma@nxp.com> References: <1540407376-24115-1-git-send-email-vabhav.sharma@nxp.com> In-Reply-To: <1540407376-24115-1-git-send-email-vabhav.sharma@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0059.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::21) To VI1PR04MB4800.eurprd04.prod.outlook.com (2603:10a6:803:53::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=vabhav.sharma@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [14.143.30.134] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB5167; 6:eI56YVBL4EUEPL7yjCw5R9DVKBX3aK4Iw755NVwSZNwsMVp3c+3w6dd8WIlZ0gGTMP8lrPp8nHJIV2TZ9CpJOteet+uoOqS3JFpY8XkxIXc5ErUjxjlZJa3W7RkJYIaezWipp6VZFFdnSA+r0spKHbYHFSTEWd3P04qHBl5Xen8Dyr6bBJL77k0JtZYU33YNWbMh/oGKruBGtI8aM0qImY+c+iIiQVaN3aex4E5DNxery+sYJ9gx3Q4qh55gOGIsf9JVxzPcgvevcFARguarUlH6dqutspeuw2gv2+uOvtfq1kwjMlAAGcxojLZEhBRGOkMGmGhEg2mRK1Kusuvr6wfkGXOoBbIioqKMHaoScZ1mAraurb40jGmBo26uhZLFGuOv653Ybcd079CSiWLYJJ4GhL7DBzBVP+cT7PGCK3kCJr1lxGYnMkVlOy3ESPksQojA2XVs3wcC1Cygkb4wpg==; 5:yCNbRz/wk5V5y0GuoZFQN9zbb2kC3ZyGVIY8YHoT58K0AfaCJGfMwJljtoGImpr62CD4bfIFmLOhPgisRZw7GnmvGuohtbYRa1pr0admh++B7q5+RZzfXTR/k4pf+UAjSTt6sdq0zzdIb9nfCa5sK7MtYM0J4y6gXfjLTTdmjwI=; 7:8ffGYdBces1MxSvytb8S7mNORh9aopGgCu4SOd4PfxTXhJaGeN05ssUFFZK5018V/NF05jT5k/a6Gc5eCjztpRx9G7OEOxXHdSR6MH2sE20d35wCpwv3ibxqCHeSPbg5y+iO5WXT7orLC++17TImjf2VHSQpovzZlFQiLaEEP1bMyV5w4Zr4W3yS8Uy7+96kW1jCoJS+wJ4FlO4m9fRy8yn9Ts26fe7sXFhAkySOSn9g8mYZzNuXti/JpGU3LkbG x-ms-office365-filtering-correlation-id: a1d55697-3004-4e51-2734-08d63a47c355 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB5167; x-ms-traffictypediagnostic: VI1PR04MB5167: 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)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB5167; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB5167; x-forefront-prvs: 083691450C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(366004)(39860400002)(346002)(136003)(376002)(396003)(189003)(199004)(478600001)(305945005)(76176011)(316002)(2900100001)(5660300001)(4744004)(4326008)(2906002)(7736002)(8676002)(99286004)(81156014)(3846002)(6116002)(81166006)(256004)(386003)(6506007)(52116002)(14444005)(2201001)(86362001)(71190400001)(68736007)(575784001)(71200400001)(53936002)(55236004)(36756003)(2616005)(106356001)(11346002)(110136005)(14454004)(54906003)(105586002)(6436002)(446003)(476003)(6512007)(53946003)(97736004)(8936002)(486006)(7416002)(66066001)(102836004)(5250100002)(186003)(6486002)(2501003)(26005)(25786009)(44832011)(921003)(1121003)(579004)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB5167; H:VI1PR04MB4800.eurprd04.prod.outlook.com; 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-antispam-message-info: DVP7q7pwZASSA20HzCZtPj65rjiL/wQirFGOMt1rGVBJRh3y2yDrTS8y+S8O/9h1g5lyC4YReuS0Ure4ThjVcKOReOh7W3PuPnyx5WKo2++4JPJYFZpwY4dY9I6bkQvbjOY8ilfWYwZ5975FcQMGWg+Cf0DAOWgJJrAGdGSQuHF6uQxV3iwuqxmeCO7auk2+NAhTaJZ4/nMeM2r2P0nhifN+hrOOhAHOKyu0PuxD4RUkqlrRRobKGSpgLC4k/KzX3KsblAsJ2Pt69Kvfx9W9VwQfiqncb7buevn/eodPSmDryO6r3sa1ZG87A3dTEh6/vCXbWlB9HQOqoPRO6YBB3HVVnLlQDUKskqed6jpgLiU= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a1d55697-3004-4e51-2734-08d63a47c355 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2018 07:02:02.1074 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5167 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181025_000218_024395_27E97E25 X-CRM114-Status: GOOD ( 12.69 ) 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: "ulf.hansson@linaro.org" , Yogesh Narayan Gaur , Horia Geanta , Udit Kumar , Priyanka Jain , Pankaj Bansal , Ying Zhang , "linux@armlinux.org.uk" , "adrian.hunter@intel.com" , Ramneek Mehresh , Varun Sethi , Vabhav Sharma , Nipun Gupta , Sriram Dash , Ran Wang , Yinbo Zhu 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 LX2160A SoC is based on Layerscape Chassis Generation 3.2 Architecture. LX2160A features an advanced 16 64-bit ARM v8 CortexA72 processor cores in 8 cluster, CCN508, GICv3,two 64-bit DDR4 memory controller, 8 I2C controllers, 3 dspi, 2 esdhc,2 USB 3.0, mmu 500, 3 SATA, 4 PL011 SBSA UARTs etc. Signed-off-by: Ramneek Mehresh Signed-off-by: Zhang Ying-22455 Signed-off-by: Nipun Gupta Signed-off-by: Priyanka Jain Signed-off-by: Yogesh Gaur Signed-off-by: Sriram Dash Signed-off-by: Vabhav Sharma Signed-off-by: Horia Geanta Signed-off-by: Ran Wang Signed-off-by: Yinbo Zhu --- arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 766 +++++++++++++++++++++++++ 1 file changed, 766 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi new file mode 100644 index 0000000..9fcfd48 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi @@ -0,0 +1,766 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Device Tree Include file for Layerscape-LX2160A family SoC. +// +// Copyright 2018 NXP + +#include +#include + +/memreserve/ 0x80000000 0x00010000; + +/ { + compatible = "fsl,lx2160a"; + interrupt-parent = <&gic>; + #address-cells = <2>; + #size-cells = <2>; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + // 8 clusters having 2 Cortex-A72 cores each + cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + enable-method = "psci"; + reg = <0x0>; + clocks = <&clockgen 1 0>; + d-cache-size = <0x8000>; + d-cache-line-size = <64>; + d-cache-sets = <128>; + i-cache-size = <0xC000>; + i-cache-line-size = <64>; + i-cache-sets = <192>; + next-level-cache = <&cluster0_l2>; + }; + + cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + enable-method = "psci"; + reg = <0x1>; + clocks = <&clockgen 1 0>; + d-cache-size = <0x8000>; + d-cache-line-size = <64>; + d-cache-sets = <128>; + i-cache-size = <0xC000>; + i-cache-line-size = <64>; + i-cache-sets = <192>; + next-level-cache = <&cluster0_l2>; + }; + + cpu@100 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + enable-method = "psci"; + reg = <0x100>; + clocks = <&clockgen 1 1>; + d-cache-size = <0x8000>; + d-cache-line-size = <64>; + d-cache-sets = <128>; + i-cache-size = <0xC000>; + i-cache-line-size = <64>; + i-cache-sets = <192>; + next-level-cache = <&cluster1_l2>; + }; + + cpu@101 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + enable-method = "psci"; + reg = <0x101>; + clocks = <&clockgen 1 1>; + d-cache-size = <0x8000>; + d-cache-line-size = <64>; + d-cache-sets = <128>; + i-cache-size = <0xC000>; + i-cache-line-size = <64>; + i-cache-sets = <192>; + next-level-cache = <&cluster1_l2>; + }; + + cpu@200 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + enable-method = "psci"; + reg = <0x200>; + clocks = <&clockgen 1 2>; + d-cache-size = <0x8000>; + d-cache-line-size = <64>; + d-cache-sets = <128>; + i-cache-size = <0xC000>; + i-cache-line-size = <64>; + i-cache-sets = <192>; + next-level-cache = <&cluster2_l2>; + }; + + cpu@201 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + enable-method = "psci"; + reg = <0x201>; + clocks = <&clockgen 1 2>; + d-cache-size = <0x8000>; + d-cache-line-size = <64>; + d-cache-sets = <128>; + i-cache-size = <0xC000>; + i-cache-line-size = <64>; + i-cache-sets = <192>; + next-level-cache = <&cluster2_l2>; + }; + + cpu@300 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + enable-method = "psci"; + reg = <0x300>; + clocks = <&clockgen 1 3>; + d-cache-size = <0x8000>; + d-cache-line-size = <64>; + d-cache-sets = <128>; + i-cache-size = <0xC000>; + i-cache-line-size = <64>; + i-cache-sets = <192>; + next-level-cache = <&cluster3_l2>; + }; + + cpu@301 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + enable-method = "psci"; + reg = <0x301>; + clocks = <&clockgen 1 3>; + d-cache-size = <0x8000>; + d-cache-line-size = <64>; + d-cache-sets = <128>; + i-cache-size = <0xC000>; + i-cache-line-size = <64>; + i-cache-sets = <192>; + next-level-cache = <&cluster3_l2>; + }; + + cpu@400 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + enable-method = "psci"; + reg = <0x400>; + clocks = <&clockgen 1 4>; + d-cache-size = <0x8000>; + d-cache-line-size = <64>; + d-cache-sets = <128>; + i-cache-size = <0xC000>; + i-cache-line-size = <64>; + i-cache-sets = <192>; + next-level-cache = <&cluster4_l2>; + }; + + cpu@401 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + enable-method = "psci"; + reg = <0x401>; + clocks = <&clockgen 1 4>; + d-cache-size = <0x8000>; + d-cache-line-size = <64>; + d-cache-sets = <128>; + i-cache-size = <0xC000>; + i-cache-line-size = <64>; + i-cache-sets = <192>; + next-level-cache = <&cluster4_l2>; + }; + + cpu@500 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + enable-method = "psci"; + reg = <0x500>; + clocks = <&clockgen 1 5>; + d-cache-size = <0x8000>; + d-cache-line-size = <64>; + d-cache-sets = <128>; + i-cache-size = <0xC000>; + i-cache-line-size = <64>; + i-cache-sets = <192>; + next-level-cache = <&cluster5_l2>; + }; + + cpu@501 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + enable-method = "psci"; + reg = <0x501>; + clocks = <&clockgen 1 5>; + d-cache-size = <0x8000>; + d-cache-line-size = <64>; + d-cache-sets = <128>; + i-cache-size = <0xC000>; + i-cache-line-size = <64>; + i-cache-sets = <192>; + next-level-cache = <&cluster5_l2>; + }; + + cpu@600 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + enable-method = "psci"; + reg = <0x600>; + clocks = <&clockgen 1 6>; + d-cache-size = <0x8000>; + d-cache-line-size = <64>; + d-cache-sets = <128>; + i-cache-size = <0xC000>; + i-cache-line-size = <64>; + i-cache-sets = <192>; + next-level-cache = <&cluster6_l2>; + }; + + cpu@601 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + enable-method = "psci"; + reg = <0x601>; + clocks = <&clockgen 1 6>; + d-cache-size = <0x8000>; + d-cache-line-size = <64>; + d-cache-sets = <128>; + i-cache-size = <0xC000>; + i-cache-line-size = <64>; + i-cache-sets = <192>; + next-level-cache = <&cluster6_l2>; + }; + + cpu@700 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + enable-method = "psci"; + reg = <0x700>; + clocks = <&clockgen 1 7>; + d-cache-size = <0x8000>; + d-cache-line-size = <64>; + d-cache-sets = <128>; + i-cache-size = <0xC000>; + i-cache-line-size = <64>; + i-cache-sets = <192>; + next-level-cache = <&cluster7_l2>; + }; + + cpu@701 { + device_type = "cpu"; + compatible = "arm,cortex-a72"; + enable-method = "psci"; + reg = <0x701>; + clocks = <&clockgen 1 7>; + d-cache-size = <0x8000>; + d-cache-line-size = <64>; + d-cache-sets = <128>; + i-cache-size = <0xC000>; + i-cache-line-size = <64>; + i-cache-sets = <192>; + next-level-cache = <&cluster7_l2>; + }; + + cluster0_l2: l2-cache0 { + compatible = "cache"; + cache-size = <0x100000>; + cache-line-size = <64>; + cache-sets = <1024>; + cache-level = <2>; + }; + + cluster1_l2: l2-cache1 { + compatible = "cache"; + cache-size = <0x100000>; + cache-line-size = <64>; + cache-sets = <1024>; + cache-level = <2>; + }; + + cluster2_l2: l2-cache2 { + compatible = "cache"; + cache-size = <0x100000>; + cache-line-size = <64>; + cache-sets = <1024>; + cache-level = <2>; + }; + + cluster3_l2: l2-cache3 { + compatible = "cache"; + cache-size = <0x100000>; + cache-line-size = <64>; + cache-sets = <1024>; + cache-level = <2>; + }; + + cluster4_l2: l2-cache4 { + compatible = "cache"; + cache-size = <0x100000>; + cache-line-size = <64>; + cache-sets = <1024>; + cache-level = <2>; + }; + + cluster5_l2: l2-cache5 { + compatible = "cache"; + cache-size = <0x100000>; + cache-line-size = <64>; + cache-sets = <1024>; + cache-level = <2>; + }; + + cluster6_l2: l2-cache6 { + compatible = "cache"; + cache-size = <0x100000>; + cache-line-size = <64>; + cache-sets = <1024>; + cache-level = <2>; + }; + + cluster7_l2: l2-cache7 { + compatible = "cache"; + cache-size = <0x100000>; + cache-line-size = <64>; + cache-sets = <1024>; + cache-level = <2>; + }; + }; + + gic: interrupt-controller@6000000 { + compatible = "arm,gic-v3"; + reg = <0x0 0x06000000 0 0x10000>, // GIC Dist + <0x0 0x06200000 0 0x200000>, // GICR (RD_base + + // SGI_base) + <0x0 0x0c0c0000 0 0x2000>, // GICC + <0x0 0x0c0d0000 0 0x1000>, // GICH + <0x0 0x0c0e0000 0 0x20000>; // GICV + #interrupt-cells = <3>; + #address-cells = <2>; + #size-cells = <2>; + ranges; + interrupt-controller; + interrupts = ; + + its: gic-its@6020000 { + compatible = "arm,gic-v3-its"; + msi-controller; + reg = <0x0 0x6020000 0 0x20000>; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = , + , + , + ; + }; + + pmu { + compatible = "arm,cortex-a72-pmu"; + interrupts = ; + }; + + psci { + compatible = "arm,psci-0.2"; + method = "smc"; + }; + + memory@80000000 { + // DRAM space - 1, size : 2 GB DRAM + device_type = "memory"; + reg = <0x00000000 0x80000000 0 0x80000000>; + }; + + ddr1: memory-controller@1080000 { + compatible = "fsl,qoriq-memory-controller"; + reg = <0x0 0x1080000 0x0 0x1000>; + interrupts = ; + little-endian; + }; + + ddr2: memory-controller@1090000 { + compatible = "fsl,qoriq-memory-controller"; + reg = <0x0 0x1090000 0x0 0x1000>; + interrupts = ; + little-endian; + }; + + // One clock unit-sysclk node which bootloader require during DT fix-up + sysclk: sysclk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <100000000>; + clock-output-names = "sysclk"; + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + crypto: crypto@8000000 { + compatible = "fsl,sec-v5.0", "fsl,sec-v4.0"; + fsl,sec-era = <10>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x00 0x8000000 0x100000>; + reg = <0x00 0x8000000 0x0 0x100000>; + interrupts = ; + dma-coherent; + status = "disabled"; + + sec_jr0: jr@10000 { + compatible = "fsl,sec-v5.0-job-ring", + "fsl,sec-v4.0-job-ring"; + reg = <0x10000 0x10000>; + interrupts = ; + }; + + sec_jr1: jr@20000 { + compatible = "fsl,sec-v5.0-job-ring", + "fsl,sec-v4.0-job-ring"; + reg = <0x20000 0x10000>; + interrupts = ; + }; + + sec_jr2: jr@30000 { + compatible = "fsl,sec-v5.0-job-ring", + "fsl,sec-v4.0-job-ring"; + reg = <0x30000 0x10000>; + interrupts = ; + }; + + sec_jr3: jr@40000 { + compatible = "fsl,sec-v5.0-job-ring", + "fsl,sec-v4.0-job-ring"; + reg = <0x40000 0x10000>; + interrupts = ; + }; + }; + + clockgen: clock-controller@1300000 { + compatible = "fsl,lx2160a-clockgen"; + reg = <0 0x1300000 0 0xa0000>; + #clock-cells = <2>; + clocks = <&sysclk>; + }; + + dcfg: syscon@1e00000 { + compatible = "fsl,lx2160a-dcfg", "syscon"; + reg = <0x0 0x1e00000 0x0 0x10000>; + little-endian; + }; + + i2c0: i2c@2000000 { + compatible = "fsl,vf610-i2c"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2000000 0x0 0x10000>; + interrupts = ; + clock-names = "i2c"; + clocks = <&clockgen 4 7>; + scl-gpio = <&gpio2 15 GPIO_ACTIVE_HIGH>; + status = "disabled"; + }; + + i2c1: i2c@2010000 { + compatible = "fsl,vf610-i2c"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2010000 0x0 0x10000>; + interrupts = ; + clock-names = "i2c"; + clocks = <&clockgen 4 7>; + status = "disabled"; + }; + + i2c2: i2c@2020000 { + compatible = "fsl,vf610-i2c"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2020000 0x0 0x10000>; + interrupts = ; + clock-names = "i2c"; + clocks = <&clockgen 4 7>; + status = "disabled"; + }; + + i2c3: i2c@2030000 { + compatible = "fsl,vf610-i2c"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2030000 0x0 0x10000>; + interrupts = ; + clock-names = "i2c"; + clocks = <&clockgen 4 7>; + status = "disabled"; + }; + + i2c4: i2c@2040000 { + compatible = "fsl,vf610-i2c"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2040000 0x0 0x10000>; + interrupts = ; + clock-names = "i2c"; + clocks = <&clockgen 4 7>; + scl-gpio = <&gpio2 16 GPIO_ACTIVE_HIGH>; + status = "disabled"; + }; + + i2c5: i2c@2050000 { + compatible = "fsl,vf610-i2c"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2050000 0x0 0x10000>; + interrupts = ; + clock-names = "i2c"; + clocks = <&clockgen 4 7>; + status = "disabled"; + }; + + i2c6: i2c@2060000 { + compatible = "fsl,vf610-i2c"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2060000 0x0 0x10000>; + interrupts = ; + clock-names = "i2c"; + clocks = <&clockgen 4 7>; + status = "disabled"; + }; + + i2c7: i2c@2070000 { + compatible = "fsl,vf610-i2c"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2070000 0x0 0x10000>; + interrupts = ; + clock-names = "i2c"; + clocks = <&clockgen 4 7>; + status = "disabled"; + }; + + esdhc0: esdhc@2140000 { + compatible = "fsl,esdhc"; + reg = <0x0 0x2140000 0x0 0x10000>; + interrupts = <0 28 0x4>; /* Level high type */ + clocks = <&clockgen 4 1>; + voltage-ranges = <1800 1800 3300 3300>; + sdhci,auto-cmd12; + little-endian; + bus-width = <4>; + status = "disabled"; + }; + + esdhc1: esdhc@2150000 { + compatible = "fsl,esdhc"; + reg = <0x0 0x2150000 0x0 0x10000>; + interrupts = <0 63 0x4>; /* Level high type */ + clocks = <&clockgen 4 1>; + voltage-ranges = <1800 1800 3300 3300>; + sdhci,auto-cmd12; + broken-cd; + little-endian; + bus-width = <4>; + status = "disabled"; + }; + + uart0: serial@21c0000 { + compatible = "arm,sbsa-uart","arm,pl011"; + reg = <0x0 0x21c0000 0x0 0x1000>; + interrupts = ; + current-speed = <115200>; + status = "disabled"; + }; + + uart1: serial@21d0000 { + compatible = "arm,sbsa-uart","arm,pl011"; + reg = <0x0 0x21d0000 0x0 0x1000>; + interrupts = ; + current-speed = <115200>; + status = "disabled"; + }; + + uart2: serial@21e0000 { + compatible = "arm,sbsa-uart","arm,pl011"; + reg = <0x0 0x21e0000 0x0 0x1000>; + interrupts = ; + current-speed = <115200>; + status = "disabled"; + }; + + uart3: serial@21f0000 { + compatible = "arm,sbsa-uart","arm,pl011"; + reg = <0x0 0x21f0000 0x0 0x1000>; + interrupts = ; + current-speed = <115200>; + status = "disabled"; + }; + + gpio0: gpio@2300000 { + compatible = "fsl,qoriq-gpio"; + reg = <0x0 0x2300000 0x0 0x10000>; + interrupts = ; + gpio-controller; + little-endian; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio1: gpio@2310000 { + compatible = "fsl,qoriq-gpio"; + reg = <0x0 0x2310000 0x0 0x10000>; + interrupts = ; + gpio-controller; + little-endian; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio2: gpio@2320000 { + compatible = "fsl,qoriq-gpio"; + reg = <0x0 0x2320000 0x0 0x10000>; + interrupts = ; + gpio-controller; + little-endian; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio3: gpio@2330000 { + compatible = "fsl,qoriq-gpio"; + reg = <0x0 0x2330000 0x0 0x10000>; + interrupts = ; + gpio-controller; + little-endian; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + watchdog@23a0000 { + compatible = "arm,sbsa-gwdt"; + reg = <0x0 0x23a0000 0 0x1000>, + <0x0 0x2390000 0 0x1000>; + interrupts = ; + timeout-sec = <30>; + }; + + usb0: usb@3100000 { + compatible = "snps,dwc3"; + reg = <0x0 0x3100000 0x0 0x10000>; + interrupts = ; + dr_mode = "host"; + snps,quirk-frame-length-adjustment = <0x20>; + snps,dis_rxdet_inp3_quirk; + status = "disabled"; + }; + + usb1: usb@3110000 { + compatible = "snps,dwc3"; + reg = <0x0 0x3110000 0x0 0x10000>; + interrupts = ; + dr_mode = "host"; + snps,quirk-frame-length-adjustment = <0x20>; + snps,dis_rxdet_inp3_quirk; + status = "disabled"; + }; + + smmu: iommu@5000000 { + compatible = "arm,mmu-500"; + reg = <0 0x5000000 0 0x800000>; + #iommu-cells = <1>; + #global-interrupts = <14>; + // global secure fault + interrupts = , + // combined secure + , + // global non-secure fault + , + // combined non-secure + , + // performance counter interrupts 0-9 + , + , + , + , + , + , + , + , + , + , + // per context interrupt, 64 interrupts + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + dma-coherent; + }; + }; +}; From patchwork Thu Oct 25 07:02:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vabhav Sharma X-Patchwork-Id: 10655549 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6D2CD15A7 for ; Thu, 25 Oct 2018 07:16:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 542952B33D for ; Thu, 25 Oct 2018 07:16:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4765728F17; Thu, 25 Oct 2018 07:16:42 +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=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 A46AA28F17 for ; Thu, 25 Oct 2018 07:16:41 +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:In-Reply-To:References: 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=eJbojnEiqM/HIvWKV21ACPr2iy2lD4304BXkQ1Pu+4U=; b=aSFHu049sXDvp1 6FkBLr/cKHBMHT7JN6CRQ7azGxl+Y+DGAtwcS45+AEodFOOFHJexVVlJSyXKmPLj+CflwYvaCi4Q0 PKxVRaArfe66C3OqnEnIqsLAl4gALT1BGaR+Lz6m+stF0FH7tGVzl1M4D4IthEYgDvGVZWiHDtjxz lKHqNgFnQKWZwXdZNbWBCTPo/C+FsRDwcxj83Phg+plurpAY8D5Tl1ncfSLkt4AT+0l1PgPHvW37K whC6MSXfCagKmIRexP4qNUHdARADR7iLRn5vbrBIEfKhQqAacG6V7n5GARaIEQ+NikCFvLOPN7Vqm jkGJteWzyS3KqQ5azMGw==; 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 1gFZsj-0007Qs-LW; Thu, 25 Oct 2018 07:16:37 +0000 Received: from mail-am5eur03on0612.outbound.protection.outlook.com ([2a01:111:f400:fe08::612] helo=EUR03-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gFZez-0001iV-Tr for linux-arm-kernel@lists.infradead.org; Thu, 25 Oct 2018 07:03:05 +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=yT1nD6+p3bPv4rTswzFGg/kLz3Cisik4qPqGu929Lzw=; b=OwQYQcBnjsDj4Q2uQxXBtX92IP5szOZGJms1dgYDSKw5pplqohx5tua1+yEMcLIFL8HsnXK7JDXlkcP29KoIAq0BwuCEPn7H7Bftg0iQ4p7aOxtptxTGImCLcftfIEaupa9PSPDjQSnfLgfvrZTsAgHsYSokAOLG1nvfOkh9z48= Received: from VI1PR04MB4800.eurprd04.prod.outlook.com (20.177.48.221) by VI1PR04MB4478.eurprd04.prod.outlook.com (20.177.53.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1250.30; Thu, 25 Oct 2018 07:02:09 +0000 Received: from VI1PR04MB4800.eurprd04.prod.outlook.com ([fe80::c9af:2da0:2fc4:1aca]) by VI1PR04MB4800.eurprd04.prod.outlook.com ([fe80::c9af:2da0:2fc4:1aca%3]) with mapi id 15.20.1273.021; Thu, 25 Oct 2018 07:02:09 +0000 From: Vabhav Sharma To: "sudeep.holla@arm.com" , "oss@buserror.net" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "mturquette@baylibre.com" , "sboyd@kernel.org" , "rjw@rjwysocki.net" , "viresh.kumar@linaro.org" , "linux-clk@vger.kernel.org" , "linux-pm@vger.kernel.org" , "linux-kernel-owner@vger.kernel.org" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "gregkh@linuxfoundation.org" , "arnd@arndb.de" , "kstewart@linuxfoundation.org" , "yamada.masahiro@socionext.com" , Leo Li , "shawnguo@kernel.org" Subject: [PATCH v6 6/6] arm64: dts: add LX2160ARDB board support Thread-Topic: [PATCH v6 6/6] arm64: dts: add LX2160ARDB board support Thread-Index: AQHUbDClV6ivgJnGRke4NIVSxJ8Yyw== Date: Thu, 25 Oct 2018 07:02:09 +0000 Message-ID: <1540407376-24115-7-git-send-email-vabhav.sharma@nxp.com> References: <1540407376-24115-1-git-send-email-vabhav.sharma@nxp.com> In-Reply-To: <1540407376-24115-1-git-send-email-vabhav.sharma@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0059.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::21) To VI1PR04MB4800.eurprd04.prod.outlook.com (2603:10a6:803:53::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=vabhav.sharma@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [14.143.30.134] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB4478; 6:PKU3jn6sm6BzIEwbtHYuvxGwnJ9wwcrmh2LyUlhhJjFjVkm2PsB7qUqsWVhUb3ruK7jYGkABCy8V4mvTrdN5qTaGf5xyG/CKuD6IYBmDRHpv5JqVDLe8USssxPwMvhU71KC/FLB+Wf7PmejBoJ4yreQ66UoEnkH7rZT2aCf7lgD/WGd+uMCmstWf4mmqGN4EzMjLK5/boWbc21F7SpmNMU1XlwvFujfELkCM9RIzsMGenZXolamdAkskT18972UmryxrOZVgLaZV3LpOPrBVc8RJWDDMbsAnclvNeKOZlep04Qc8UjbKbSi3wWab+VAzMcnpQ2kACuDkGUJtQX19Wyg/UgqD3W/zGflII+Ie2LPqqoSd46/vij5OkQFBalj6gmyFoiDokO0fr1MHYIp6TW2Ea+pYg5VmZUY6UxS2asppBfNjNcQ1Cpl9Hu28d+XOrBO4rFyI3IAwhJ9tEgjing==; 5:tzPHYAJx8p2jn8yze9hq6JWbRvJhR9oOaryLGwOTd5U1P7/jPWmZaYX0OydRO6RKLI5LL3mFqT3hYXNMfO0/7G2xM4SLI4pBnFvlcLzALSbHtvbRvnJtFTBrN7IbLBI+Dzzqmwfkk8cWGqAOYHlHAowHJoA/oWKAUcRsN5o0hYg=; 7:BNWoeaqQ8zMEn2AIkhBL4EjJ3mUHHfzL77TpUOwerV6Ux7SQdK13pS8s2J7rPBSCZ3OH6XdmqmYhPaft8V6+Z5nDKy93ih21LNXur4QwQA44oTjou9ke2Qly5X36v16h0+/l4ChlDoC/IPBBSlc/aTwzpWY6pTmPOTjCp4KesMxRjERBLy4jHMkKoqe4BJJ10FuqqTsptPgN+t86Lhh5M5JZ92kJn6uEgkSRNDZ+5UPuMls2f7FFJhPbGD7ZepUg x-ms-office365-filtering-correlation-id: 546a0776-1a50-4b52-903e-08d63a47c7ae x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB4478; x-ms-traffictypediagnostic: VI1PR04MB4478: 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)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231355)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB4478; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB4478; x-forefront-prvs: 083691450C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(396003)(39860400002)(376002)(136003)(366004)(199004)(189003)(486006)(71190400001)(71200400001)(44832011)(97736004)(2906002)(6116002)(3846002)(102836004)(76176011)(5250100002)(256004)(6506007)(86362001)(55236004)(52116002)(316002)(2501003)(186003)(2900100001)(4326008)(110136005)(26005)(2201001)(54906003)(36756003)(446003)(2616005)(6486002)(6512007)(6436002)(11346002)(105586002)(99286004)(386003)(66066001)(476003)(68736007)(53936002)(14454004)(478600001)(25786009)(5660300001)(8676002)(81166006)(81156014)(305945005)(8936002)(7416002)(7736002)(106356001)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4478; H:VI1PR04MB4800.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: UJuGjzyFW49OjHQDRidnS0rfUyDUNylUclSOaVR+ccJFVCwGyhOafHptaXUBYV89fagt/NBEbnHs+Z4Z4XJwS5xpSXw99p28GVPkphRJ0122/mkEFi9Ya+nXqE5UQJ0zl2T5Z0kWGfauQLyQKLt9tEt3+kLbjnYZdN0OP5oK2qJtpTmhu1o3SMgZFwdMvYlnVV6f6UInnl2ZEU78xICR+guIoSJPRDZ/LYCLuAWNuzh8RDM0Kh2S75TWXpqHI+uyN0J//ZLt6fvszTD1dRiy5245SplWOzH1khMSDIA5M7GdARM6iqQB3SBJ7v2nErtcW/Y27UFRIhsya9bDGRpDRfC9CGkaTFodjr1k3A80SQE= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 546a0776-1a50-4b52-903e-08d63a47c7ae X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2018 07:02:09.2949 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4478 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181025_000225_999113_9BACF2D9 X-CRM114-Status: GOOD ( 15.69 ) 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: "ulf.hansson@linaro.org" , Horia Geanta , Udit Kumar , Priyanka Jain , Pankaj Bansal , Ying Zhang , "linux@armlinux.org.uk" , "adrian.hunter@intel.com" , Varun Sethi , Vabhav Sharma , Sriram Dash , Ran Wang , Yinbo Zhu 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 LX2160A reference design board (RDB) is a high-performance computing, evaluation, and development platform with LX2160A SoC. Signed-off-by: Priyanka Jain Signed-off-by: Sriram Dash Signed-off-by: Vabhav Sharma Signed-off-by: Horia Geanta Signed-off-by: Ran Wang Signed-off-by: Zhang Ying-22455 Signed-off-by: Yinbo Zhu Acked-by: Li Yang --- arch/arm64/boot/dts/freescale/Makefile | 1 + arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 119 ++++++++++++++++++++++ 2 files changed, 120 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 86e18ad..445b72b 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -13,3 +13,4 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-rdb.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-qds.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-rdb.dtb +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.dtb diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts new file mode 100644 index 0000000..6481e5f --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts @@ -0,0 +1,119 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Device Tree file for LX2160ARDB +// +// Copyright 2018 NXP + +/dts-v1/; + +#include "fsl-lx2160a.dtsi" + +/ { + model = "NXP Layerscape LX2160ARDB"; + compatible = "fsl,lx2160a-rdb", "fsl,lx2160a"; + + aliases { + crypto = &crypto; + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + sb_3v3: regulator-sb3v3 { + compatible = "regulator-fixed"; + regulator-name = "MC34717-3.3VSB"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; +}; + +&crypto { + status = "okay"; +}; + +&esdhc0 { + sd-uhs-sdr104; + sd-uhs-sdr50; + sd-uhs-sdr25; + sd-uhs-sdr12; + status = "okay"; +}; + +&esdhc1 { + mmc-hs200-1_8v; + mmc-hs400-1_8v; + bus-width = <8>; + status = "okay"; +}; + +&i2c0 { + status = "okay"; + + i2c-mux@77 { + compatible = "nxp,pca9547"; + reg = <0x77>; + #address-cells = <1>; + #size-cells = <0>; + + i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x2>; + + power-monitor@40 { + compatible = "ti,ina220"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + }; + + i2c@3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + + temperature-sensor@4c { + compatible = "nxp,sa56004"; + reg = <0x4c>; + vcc-supply = <&sb_3v3>; + }; + + temperature-sensor@4d { + compatible = "nxp,sa56004"; + reg = <0x4d>; + vcc-supply = <&sb_3v3>; + }; + }; + }; +}; + +&i2c4 { + status = "okay"; + + rtc@51 { + compatible = "nxp,pcf2129"; + reg = <0x51>; + // IRQ10_B + interrupts = <0 150 0x4>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; +};