From patchwork Sat Nov 10 15:12:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10677267 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 AA29D139B for ; Sat, 10 Nov 2018 15:15:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 985662C54C for ; Sat, 10 Nov 2018 15:15:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8C5FC2CBAC; Sat, 10 Nov 2018 15:15:41 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 3EA212C54C for ; Sat, 10 Nov 2018 15:15: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=8z89vwFtyyalDiKgBcrW5ECfZR7wWfYfZsrzcOmzxhA=; b=ONn665jC/8wC4T VMUtVFU1PuMJh9Oryb5gIbJeWjlLofsfo73jnQxH2f5QohZrRflEnPw9yN9/SfzwQST2Xk2HeUNbb qf8u2mgao3gZNfESLDswNLCgDTN/8exWy4eJ4qFYT+NsSJDNH0QIVFBJN6dpftSp5U+BiwyEw3sBU PSfoFBSwiaCpM13lBgPQkH/1soh1VIlnTG4LEe/o8AHHk52LyEFg4ilxEo3Aqd8mTzrKFJNePsjnk bvplFs8zOCA+/LN7eQAX7T2VBqGOJv70sKzu9t+ChUvCmoeHKLfc1z2lg59bkDJ59CG/mBfPQirGj GIeA73KT2mUZIHpeOmUw==; 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 1gLUyx-00015g-9S; Sat, 10 Nov 2018 15:15:31 +0000 Received: from mail-ve1eur02on060b.outbound.protection.outlook.com ([2a01:111:f400:fe06::60b] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gLUxE-0006LZ-F5 for linux-arm-kernel@lists.infradead.org; Sat, 10 Nov 2018 15:13:45 +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=OCwALehHV+t0uOJLdf8Gq12CorSVGXuMXa6683nlfh8=; b=LGXOpBIdFCJSQZyLDnACKmuYCOQnMnuMmByzNCjWPFKygwtQ+P9jUorJAkOcHI5i6UGogT0F2NKy7ZKrEqCmk/tTEn2W5iGPoW5jstYC3r0YQf9gV93dVnU6QVN0cgOES1JK1du1JQ/adH6eoUVYbME2tQ81DtX1ca7UZMFlf4U= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4818.eurprd04.prod.outlook.com (20.176.215.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.21; Sat, 10 Nov 2018 15:12:56 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::797a:f972:9281:6d10]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::797a:f972:9281:6d10%2]) with mapi id 15.20.1294.039; Sat, 10 Nov 2018 15:12:56 +0000 From: "A.s. Dong" To: "linux-arm-kernel@lists.infradead.org" Subject: [PATCH V5 1/6] dt-bindings: fsl: add compatible for imx7ulp evk Thread-Topic: [PATCH V5 1/6] dt-bindings: fsl: add compatible for imx7ulp evk Thread-Index: AQHUeQfcKlc/8sAxNEKUewQj5CSKuA== Date: Sat, 10 Nov 2018 15:12:56 +0000 Message-ID: <1541862478-7839-2-git-send-email-aisheng.dong@nxp.com> References: <1541862478-7839-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1541862478-7839-1-git-send-email-aisheng.dong@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK0PR01CA0010.apcprd01.prod.exchangelabs.com (2603:1096:203:92::22) To AM0PR04MB4211.eurprd04.prod.outlook.com (2603:10a6:208:66::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=aisheng.dong@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM0PR04MB4818; 6:5ATHk5i+JvpVNtBhBlfaJv+GZeJ31abrNSL2Z6uOeFjKJqrrDGs300pnAOainlK6ZSQthiDojIjk/RVAg1a4XHVVxd16zkhA8F/+qGgafyRvqzwDmtCGNCWBPEQczIxZqo9Aa/mrRfVBDfJyHRXL7WnETiHP6EzA6cA2vEMVctk/An/YA6Dwr0VP8mv7Xo/H72zJKnSp7TRsr7sQpGrHH9aHKM4u22ZXh34AieZ9oGZvNowW7+YwzQH4RdI7zn2aKaADwCPqM/zDKYop2ZP5zXyeT2Ij5swgz0Fgqtu+3oqvjuqVSiD9L4lEt/l7dervKNUoncD9G4/75kPNMCyoMwAjDTbj7oyWWWB0q96dJeFwW+RKY2SxWCWpzOm/Ngeulw1HKF9beN/cBXtshtNDo8+h4YvKVvLshAFmApF8t/4JBmB8Eaft+NPX8QXjkw/hZEML3PN2qtuMmy3ujmmX4Q==; 5:ckXtdJfEd2KTptseiKvaGbXFzCTl3RdrbAyfVFUeJCjWsR9t3s7X7JNrbBn8UZ+pyWszeMogCv6z/H2JsBoBeZj9JbhIOQr72LhR7SFmRK1IXPJuSRkRdrTebpptFg9LEJjPakmfH6Hklw0Gcyu5yCre22OHM1ozbkvhMQ4icvA=; 7:XsC/4ajeu6Ki3CINVhc2lV18AbHwXIsodpNoZaqitL7OqRcFLBjclIbo+IRxPdDeU02XRI+RHLWdQIIUBesnDkGLyBMEu9JqkISRRCHwZ0dYKHlDxZNEDMz73WutcdX3AG8hSaDJioFh6It0TOweTg== x-ms-office365-filtering-correlation-id: 7172b3ef-f983-4eb2-92bc-08d6471efe71 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390040)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4818; x-ms-traffictypediagnostic: AM0PR04MB4818: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:AM0PR04MB4818; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4818; x-forefront-prvs: 0852EB6797 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(346002)(39850400004)(366004)(136003)(199004)(189003)(54906003)(50226002)(2501003)(76176011)(316002)(386003)(106356001)(102836004)(105586002)(6506007)(68736007)(3846002)(6116002)(36756003)(6916009)(52116002)(2906002)(66066001)(99286004)(97736004)(5660300001)(305945005)(86362001)(7736002)(2616005)(5640700003)(4326008)(39060400002)(53936002)(6512007)(476003)(2900100001)(25786009)(14454004)(26005)(11346002)(486006)(6486002)(186003)(256004)(478600001)(2351001)(8936002)(8676002)(446003)(81156014)(6436002)(71190400001)(71200400001)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4818; H:AM0PR04MB4211.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: 9+P8BNWLTKqYGDvjM71I24zGSVInWH+ajmZzfE/I0uX1aNzYdtFx9YhLbvnMDsneOjVw57/poyKJUoiciVxlcVKJ2Y3qEg8cxjnvAOvTGMoSTClm99B+85xRSWdz/P8Sc2Cb7CqhPHt3jWSaUMhzsvS7KD5bS7MRrlfj/4op0ctrMBIEdKAc7ZsnUSFbR0pT+7anpOEdXDT7C3wyCIMWa1DM8HvEJiKoZN2kUQcVpb+ue4Sus43278OOTNwImLyk+Lh6mydrAFjtuKiVNown8jq3rglFbCZ3qGpAtk1uwkRVZ/M1hlqfqFpQaEjZno0aRMA23BVgqlvQttTjVqsAYhocV9hI6An+f0eT4SQpWcY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7172b3ef-f983-4eb2-92bc-08d6471efe71 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Nov 2018 15:12:56.7914 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4818 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181110_071344_517804_B0BFCD49 X-CRM114-Status: GOOD ( 11.50 ) 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: "A.s. Dong" , "devicetree@vger.kernel.org" , "dongas86@gmail.com" , "linux@armlinux.org.uk" , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Fabio Estevam , "shawnguo@kernel.org" 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 Cc: devicetree@vger.kernel.org Cc: Shawn Guo Acked-by: Rob Herring Signed-off-by: Dong Aisheng Reviewed-by: Fabio Estevam --- Documentation/devicetree/bindings/arm/fsl.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.txt b/Documentation/devicetree/bindings/arm/fsl.txt index 7b964d8..9c7c788 100644 --- a/Documentation/devicetree/bindings/arm/fsl.txt +++ b/Documentation/devicetree/bindings/arm/fsl.txt @@ -101,6 +101,10 @@ i.MX7 SabreSD Board Required root node properties: - compatible = "fsl,imx7d-sdb", "fsl,imx7d"; +i.MX7ULP Evaluation Kit +Required root node properties: + - compatible = "fsl,imx7ulp-evk", "fsl,imx7ulp"; + Generic i.MX boards ------------------- @@ -123,6 +127,10 @@ i.MX6q generic board Required root node properties: - compatible = "fsl,imx6q"; +i.MX7ULP generic board +Required root node properties: + - compatible = "fsl,imx7ulp"; + Freescale Vybrid Platform Device Tree Bindings ---------------------------------------------- From patchwork Sat Nov 10 15:13:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10677255 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 1A31A17D4 for ; Sat, 10 Nov 2018 15:13:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0896E287D2 for ; Sat, 10 Nov 2018 15:13:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F05A0290EA; Sat, 10 Nov 2018 15:13:51 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 8AC8F28F36 for ; Sat, 10 Nov 2018 15:13:51 +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=QUJ137/T1mE8uPr8hDIwiU32AmNX9ygW2a39t35I/CY=; b=ip4ecWENaLLbow 3ziRXFb9a4fkJjyGpi3zEqSS344M8IyYBPBvklPnGPo6IWnw9jXVRRdpKccrrwjTt+Mh+bVht/DiT /GoMcH6bJAUemmEp+oqTcyXqJlgGRWqlqW15sUj81FXqOge+oHHDxGf+44JYaOELXE22gXuO4CcTs fyZW8KL8GpR6RFCMCvgXjeF46pecnDTkCWUxfUhvIM/w5VRyVo517SIyoQG+bLUrI9Go1f17XhWfZ 9eFf8dQL/8adooLzjxwR1vYZexE2/DBQ69tsM6uo+BctUbh43iynp+Rr4/uY0zwT9Fz4R7ceaa4We 6pxH4ZU9ezqtsNdzEL/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 1gLUxD-0006WW-42; Sat, 10 Nov 2018 15:13:43 +0000 Received: from mail-ve1eur02on062d.outbound.protection.outlook.com ([2a01:111:f400:fe06::62d] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gLUwx-0006G1-8G for linux-arm-kernel@lists.infradead.org; Sat, 10 Nov 2018 15:13: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=8JTlta9OSDp9TQ+UFFyR0AP5/N/7ZIwHTDHUJjJeStc=; b=SepUoh1fhbFNB23otjn2FDipdTjpF4weVD6qCjpXd2nrGeaSxedyXdmfE9ovw7WxJ6lOYrTSnBo0RnK3XkLYMI59LRH0gLhJyNlAk2C7XMZNSeQrsfmttySa0YNl32JLJ/E4MiH0eXFY8Tr2WkNG4RqprZEX3p1ZpjEBT0eu0oo= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4818.eurprd04.prod.outlook.com (20.176.215.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.21; Sat, 10 Nov 2018 15:13:00 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::797a:f972:9281:6d10]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::797a:f972:9281:6d10%2]) with mapi id 15.20.1294.039; Sat, 10 Nov 2018 15:13:00 +0000 From: "A.s. Dong" To: "linux-arm-kernel@lists.infradead.org" Subject: [PATCH V5 2/6] dt-bindings: fsl: add imx7ulp pm related components bindings Thread-Topic: [PATCH V5 2/6] dt-bindings: fsl: add imx7ulp pm related components bindings Thread-Index: AQHUeQfeNj7t9MRVhk21ymaDyIf/dw== Date: Sat, 10 Nov 2018 15:13:00 +0000 Message-ID: <1541862478-7839-3-git-send-email-aisheng.dong@nxp.com> References: <1541862478-7839-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1541862478-7839-1-git-send-email-aisheng.dong@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK0PR01CA0010.apcprd01.prod.exchangelabs.com (2603:1096:203:92::22) To AM0PR04MB4211.eurprd04.prod.outlook.com (2603:10a6:208:66::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=aisheng.dong@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM0PR04MB4818; 6:vXSI9zSFBQYdDAT6kmShraH2Q7voJfT+0X8FmoLcIp/mv0PdCtBKlFlM1YrIVlmo3fXj4GQ9ExKQUDLB9qepJjvEY8+oP4+kKbNvImM3kUmffBdGX8h8C8PKsTxB+dQ4TGk359viJK2bae+K8xCE1eCriz/SSGt8PCX/yHzI3HyeWucFHkQWsX7+OkAPFklG/M2rSjbSMrxCKNZtC3J6A+jyNe+r/hIO72t/2y6jlWSVMPqgLztUKpEhxtvouoKVUx6cmitIJ9IV7A1Cq5KNpF/TEc+DbsZBJD4y1TwoDG8LXyjcOgK4oZrGqbT7TgxIMcJ1nAXEE/thklBTZ2RmxUCN8eqWqJ3wp2dpYtxOMFRFnBoT3ak8wjCASQ+kLMZArmXey68PRBL34xmaRzUKMSMk6SWD167BeHRWVkK0iTINQkQy6dsX86h+8wj64hDgGRLH2+1yvl7PN/J9gosZgw==; 5:BW/F+xszcxHJwEvTErY5b1l+bk+9z9zxWdBrVP0hDtqt6Nv4TPd46rB+jaYIsB5JuaRaSBKj2m4EYr3EbQxT5gr7ZdMrIuvomOLeqTbL2qcH0wG97MninR3bIC81aI6e6AJSSN0Nrwo7YdbTI4wOBcO0B6LuU5k4gVScDceP4HE=; 7:0wEFnR5GCYqAp3PeHEBGXtjEzAgesKFwNSMMGwpAjZ+i7X09zoNPD2nhF/6bH2/vPXRiUGfgj8mo+5f4Jk+Jdjf54LNp6DNnbBUIi6+vSTv+VqoMjCfkFPI92PPWLnCbNLQeJv61xJ5XMKKOiStmdQ== x-ms-office365-filtering-correlation-id: 7c3f3a66-7a9e-4055-49fe-08d6471f00d1 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390040)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4818; x-ms-traffictypediagnostic: AM0PR04MB4818: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:AM0PR04MB4818; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4818; x-forefront-prvs: 0852EB6797 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(346002)(39850400004)(366004)(136003)(199004)(189003)(54534003)(54906003)(50226002)(2501003)(76176011)(316002)(386003)(106356001)(102836004)(105586002)(6506007)(68736007)(3846002)(6116002)(36756003)(6916009)(52116002)(2906002)(66066001)(99286004)(97736004)(5660300001)(305945005)(86362001)(7736002)(2616005)(5640700003)(4326008)(39060400002)(53936002)(6512007)(476003)(2900100001)(25786009)(14454004)(26005)(11346002)(486006)(6486002)(186003)(256004)(478600001)(2351001)(8936002)(8676002)(446003)(81156014)(6436002)(71190400001)(71200400001)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4818; H:AM0PR04MB4211.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: 4YcN4gua1uqTMK2fnDvrbOppqBTZBnULSY4SdGFJ6e62rc8jzJ0pmb/+MG6UX4i6wQU9GIacXGM0tyZgUgy89QJbK/hc24tQHSpl+s6l7q8K1DQJv90yl6PRhoLlajAbRVRNAAFFBvYekOvWUGbYywXqmj3fc5RcCHrjf5K3R93pOwd9UN9ih/EuqJimW6fvanFE6tS5dM0qmADXYwhpnCv0gd2xA0FCcDE73i4PRuFMGWOlEWKXSYSdd6anvySq6D8a6Gp4sC9J4Zs8E03wiPUt+p/4UuHeOITYFxTP8t5W1zk7IjpYEqP0bLvoy7T75sQDCr359/4116tgLWtZSNEkVrimvcFdPlP+Q8Ud8jE= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7c3f3a66-7a9e-4055-49fe-08d6471f00d1 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Nov 2018 15:13:00.5960 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4818 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181110_071327_290811_A986D901 X-CRM114-Status: GOOD ( 13.36 ) 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: "A.s. Dong" , "devicetree@vger.kernel.org" , "dongas86@gmail.com" , "linux@armlinux.org.uk" , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Fabio Estevam , "shawnguo@kernel.org" 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 imx7ulp pm related components bindings Cc: Shawn Guo Cc: devicetree@vger.kernel.org Reviewed-by: Rob Herring Signed-off-by: Dong Aisheng Reviewed-by: Fabio Estevam --- ChangeLog: v2->v3: * no changes v1->v2: * new patch --- .../bindings/arm/freescale/fsl,imx7ulp-pm.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/freescale/fsl,imx7ulp-pm.txt diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,imx7ulp-pm.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,imx7ulp-pm.txt new file mode 100644 index 0000000..75195be --- /dev/null +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,imx7ulp-pm.txt @@ -0,0 +1,23 @@ +Freescale i.MX7ULP Power Management Components +---------------------------------------------- + +The Multi-System Mode Controller (MSMC) is responsible for sequencing +the MCU into and out of all stop and run power modes. Specifically, it +monitors events to trigger transitions between power modes while +controlling the power, clocks, and memories of the MCU to achieve the +power consumption and functionality of that mode. + +The WFI or WFE instruction is used to invoke a Sleep, Deep Sleep or +Standby modes for either Cortex family. Run, Wait, and Stop are the +common terms used for the primary operating modes of Kinetis +microcontrollers. + +Required properties: +- compatible: Should be "fsl,imx7ulp-smc1". +- reg: Specifies base physical address and size of the register sets. + +Example: +smc1: smc1@40410000 { + compatible = "fsl,imx7ulp-smc1"; + reg = <0x40410000 0x1000>; +}; From patchwork Sat Nov 10 15:13:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10677257 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 371D61709 for ; Sat, 10 Nov 2018 15:14:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2425D2C54C for ; Sat, 10 Nov 2018 15:14:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 187B72CBD6; Sat, 10 Nov 2018 15:14:06 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 706F62C54C for ; Sat, 10 Nov 2018 15:14:05 +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=r7fDT4ulXhxtRk8MI/II9PWv8d7o2OuyFwb98KVAFVs=; b=iOmksYvsCnSIoz 55ySdKcU6qRon7cQquhrLiOrZtJ/g3tx1NOtC6jDrmJem0CG+6o1V9/d5bwnPrrEe7mktIhqWUlS5 Zj/O81Brg5+FO72EXxdKRIoTjt1iJrSc+rSb6WUZDkpDevu2HcGE3y1w04PMlvJwDRp41NGN/Mlks o16Zn/DZzj1kD+eGmwdPG4RtTqS4qSn0yCyRVDtO9yR6Y1oe53EXuuJJEoUftI99Bl4JYyFUAraAA C8Ldu8is5Devk7SIh9eT9Ec/MaRkiQziYZ6sxggKg/ndsnOy25H2+bxPwwRYkh2uSabPQDL3CVI5u yx7KUg66fxGWIeXb0y0g==; 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 1gLUxQ-0006oW-HU; Sat, 10 Nov 2018 15:13:56 +0000 Received: from mail-ve1eur02on062d.outbound.protection.outlook.com ([2a01:111:f400:fe06::62d] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gLUwz-0006G1-7V for linux-arm-kernel@lists.infradead.org; Sat, 10 Nov 2018 15:13:30 +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=fx8kf0S6n0aqw1R/MJ26qkHYAuqxexSC1YObS3c+aZ0=; b=Ww75BSLAzv8MKpI0u5djkAzgpKd4bTFAcBmsjTsOIDJPVr8nIIxxyfYrXwvZJLlFAF/KiryrM2xtqz2oF0SN7ABo1lHzFFUl1Y60uriJBOtR+CQJwOUvlMR6SBP1j48yWyh0fjQQld6rxr9sNg5C6mDsw9xkq7RC2Wl42yFbD7Y= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4818.eurprd04.prod.outlook.com (20.176.215.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.21; Sat, 10 Nov 2018 15:13:04 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::797a:f972:9281:6d10]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::797a:f972:9281:6d10%2]) with mapi id 15.20.1294.039; Sat, 10 Nov 2018 15:13:04 +0000 From: "A.s. Dong" To: "linux-arm-kernel@lists.infradead.org" Subject: [PATCH V5 3/6] ARM: imx: add initial support for imx7ulp Thread-Topic: [PATCH V5 3/6] ARM: imx: add initial support for imx7ulp Thread-Index: AQHUeQfguvVV65vLYEacvXQo5LM9MQ== Date: Sat, 10 Nov 2018 15:13:04 +0000 Message-ID: <1541862478-7839-4-git-send-email-aisheng.dong@nxp.com> References: <1541862478-7839-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1541862478-7839-1-git-send-email-aisheng.dong@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK0PR01CA0010.apcprd01.prod.exchangelabs.com (2603:1096:203:92::22) To AM0PR04MB4211.eurprd04.prod.outlook.com (2603:10a6:208:66::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=aisheng.dong@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM0PR04MB4818; 6:1SO6K9HokjYbC3MgIA/uQFGQ9CYXSmGLcWX01mlw2NSO2TAyzjTWe+GwiRFO0Q56e94lnVMi0ZdBYWRzGl9KArx0BJTSOH8lLPgoDyfzncX2q+4I0vuwkIvNAJ0AucmWBbDkS4PNbg0WPwmWMykCn2WSmGUJkeoylBR/Iyb2RmMJHft54ziJDRUPlviP+o626I0xvqwlBTGnZyxygkbKDjf7KMDk3Gtuv0cteiDi00fE7KDci1+nVovwrbozkKR3apoj2OXyaIBvoJIugYZmP7k42wfryLBs6X0gEIprwqbHXU+3JoSJsagIwqMwIs6DQQ3HxUkksh8fB2dtTvpZFOWIuzUtQebPunbNWdo4ZmcYzBNq0dSpvLVGjXuIXNV32Oe5TfAS+HtTrXp7Pp5cSCvBsS0up2EWfIgkxsbtiTWM9H4st2+cAiCOaS+sa6nI6hICdnUEZSu0bewUdo7UeQ==; 5:UeK3tz6kc3vloukTZ3yntEbHGyKTf5Ou1DII1V+IIWyJoDmxg9ailP5rB7r1ND2+kyiw0X8VfcYNpXlWV1+oNV1gEDnDNtT9Kq8bbPt60Fb4FMYFhKM/KuoIgdNbMetjXkRvGsW69MUSNSNgk6ryIE3rAQnghxHhzjzGqL5v6hs=; 7:4sreUZAjtPZM0Ih9fQDge+y7UYKwD9JCE53yk5JWXZkisHeOcww/MV3T/kBOj6nUlrMiIKfsGj5cc7IwZMeeyN6yEH30iaFf+gJAq/ZGz7b2oVFxGM6uiwSFcaB61bW6yiax7XKlDHmp/8UfTv9ciQ== x-ms-office365-filtering-correlation-id: 35c9c1db-4aaa-4a01-5cb0-08d6471f02ed x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390040)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4818; x-ms-traffictypediagnostic: AM0PR04MB4818: 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)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:AM0PR04MB4818; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4818; x-forefront-prvs: 0852EB6797 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(346002)(39850400004)(366004)(136003)(199004)(189003)(54534003)(54906003)(50226002)(2501003)(76176011)(316002)(386003)(106356001)(102836004)(105586002)(6506007)(68736007)(3846002)(6116002)(36756003)(6916009)(52116002)(2906002)(66066001)(99286004)(97736004)(5660300001)(305945005)(575784001)(86362001)(7736002)(2616005)(5640700003)(4326008)(39060400002)(53936002)(6512007)(476003)(2900100001)(25786009)(14454004)(26005)(11346002)(486006)(6486002)(186003)(256004)(478600001)(2351001)(8936002)(8676002)(446003)(81156014)(6436002)(71190400001)(71200400001)(14444005)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4818; H:AM0PR04MB4211.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: iqlAVjf8dvLz+GLMvqQ4WaI3Ms5zc44qmuT2h6I/NRcdFgeDvGKlTyjheWa2L3Ve0ho/iMgk2lePgbMRErYffcdo2t4B2F+OSWvB50I0w2YgE2DNET/HXcVqU+U7+l+IZVWf3fD/9r6z55FwCDkUrwCw5Tmk+Z/4e9Xn5EWQ2e73mmvizQKbUNQdplZV1sAAFDQqOWQ0IQl0EKRPp1iS/Nt0MWp95yFU+UGAYhJt3iCuzr+wwhavAtUpi7s1s514I3bLRZjJbIh5bWg6pIo9OIVpqaBAQP2InpUZspc5bSJblaBbWt7pImTclwtZHKrlImb0rndqup0/R42VAV0XnCxtYdYE10yb6PoccLHaj/A= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 35c9c1db-4aaa-4a01-5cb0-08d6471f02ed X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Nov 2018 15:13:04.2565 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4818 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181110_071329_291757_C65B7BCD X-CRM114-Status: GOOD ( 20.79 ) 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: "A.s. Dong" , "dongas86@gmail.com" , "linux@armlinux.org.uk" , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Fabio Estevam , "shawnguo@kernel.org" 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 The i.MX 7ULP family of processors features NXP's advanced implementation of the Arm Cortex-A7 core, the Arm Cortex-M4 core, as well as a 3D and 2D Graphics Processing Units (GPUs). This patch aims to add an initial support for imx7ulp. Note that we need configure power mode to Partial Stop mode 3 with system/bus clock enabled first as the default enabled STOP mode will gate off system/bus clock when execute WFI in MX7ULP SoC. And there's still no MXC_CPU_IMX7ULP IDs read from register as ULP has no anatop as before. So we encode one with 0xff in reverse order in case new ones will be in the future. Cc: Shawn Guo Signed-off-by: Dong Aisheng Reviewed-by: Fabio Estevam --- ChangeLog: v3->v4: * add iounmap(smc1_base) * add comments about fixed SoC version v2->v3: * no changes v1->v2: * switch to SPDX license * more description of new SOC in commit message --- arch/arm/mach-imx/Kconfig | 9 +++++++++ arch/arm/mach-imx/Makefile | 1 + arch/arm/mach-imx/common.h | 1 + arch/arm/mach-imx/cpu.c | 3 +++ arch/arm/mach-imx/mach-imx7ulp.c | 33 +++++++++++++++++++++++++++++++++ arch/arm/mach-imx/mxc.h | 1 + arch/arm/mach-imx/pm-imx7ulp.c | 29 +++++++++++++++++++++++++++++ 7 files changed, 77 insertions(+) create mode 100644 arch/arm/mach-imx/mach-imx7ulp.c create mode 100644 arch/arm/mach-imx/pm-imx7ulp.c diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index abc3371..c12a05c 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -558,6 +558,15 @@ config SOC_IMX7D help This enables support for Freescale i.MX7 Dual processor. +config SOC_IMX7ULP + bool "i.MX7ULP support" + select ARM_GIC + select CLKSRC_IMX_TPM + select HAVE_ARM_ARCH_TIMER + select PINCTRL_IMX7ULP + help + This enables support for Freescale i.MX7 Ultra Low Power processor. + config SOC_VF610 bool "Vybrid Family VF610 support" select ARM_GIC if ARCH_MULTI_V7 diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index bae179a..8af2f7e 100644 --- a/arch/arm/mach-imx/Makefile +++ b/arch/arm/mach-imx/Makefile @@ -83,6 +83,7 @@ obj-$(CONFIG_SOC_IMX6SX) += mach-imx6sx.o obj-$(CONFIG_SOC_IMX6UL) += mach-imx6ul.o obj-$(CONFIG_SOC_IMX7D_CA7) += mach-imx7d.o obj-$(CONFIG_SOC_IMX7D_CM4) += mach-imx7d-cm4.o +obj-$(CONFIG_SOC_IMX7ULP) += mach-imx7ulp.o pm-imx7ulp.o ifeq ($(CONFIG_SUSPEND),y) AFLAGS_suspend-imx6.o :=-Wa,-march=armv7-a diff --git a/arch/arm/mach-imx/common.h b/arch/arm/mach-imx/common.h index 423dd76..bc915e5 100644 --- a/arch/arm/mach-imx/common.h +++ b/arch/arm/mach-imx/common.h @@ -120,6 +120,7 @@ void imx6dl_pm_init(void); void imx6sl_pm_init(void); void imx6sx_pm_init(void); void imx6ul_pm_init(void); +void imx7ulp_pm_init(void); #ifdef CONFIG_PM void imx51_pm_init(void); diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c index c73593e..0b137ee 100644 --- a/arch/arm/mach-imx/cpu.c +++ b/arch/arm/mach-imx/cpu.c @@ -145,6 +145,9 @@ struct device * __init imx_soc_device_init(void) case MXC_CPU_IMX7D: soc_id = "i.MX7D"; break; + case MXC_CPU_IMX7ULP: + soc_id = "i.MX7ULP"; + break; default: soc_id = "Unknown"; } diff --git a/arch/arm/mach-imx/mach-imx7ulp.c b/arch/arm/mach-imx/mach-imx7ulp.c new file mode 100644 index 0000000..979ad02 --- /dev/null +++ b/arch/arm/mach-imx/mach-imx7ulp.c @@ -0,0 +1,33 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2016 Freescale Semiconductor, Inc. + * Copyright 2017-2018 NXP + * Author: Dong Aisheng + */ + +#include +#include +#include + +#include "common.h" +#include "hardware.h" + +static void __init imx7ulp_init_machine(void) +{ + imx7ulp_pm_init(); + + mxc_set_cpu_type(MXC_CPU_IMX7ULP); + /* FIXME: so far there is still no way to retrieve SoC version */ + imx_print_silicon_rev("i.MX7ULP", IMX_CHIP_REVISION_UNKNOWN); + of_platform_default_populate(NULL, NULL, imx_soc_device_init()); +} + +static const char *const imx7ulp_dt_compat[] __initconst = { + "fsl,imx7ulp", + NULL, +}; + +DT_MACHINE_START(IMX7ulp, "Freescale i.MX7ULP (Device Tree)") + .init_machine = imx7ulp_init_machine, + .dt_compat = imx7ulp_dt_compat, +MACHINE_END diff --git a/arch/arm/mach-imx/mxc.h b/arch/arm/mach-imx/mxc.h index b130a53..8e72d4e 100644 --- a/arch/arm/mach-imx/mxc.h +++ b/arch/arm/mach-imx/mxc.h @@ -44,6 +44,7 @@ #define MXC_CPU_IMX6ULZ 0x6b #define MXC_CPU_IMX6SLL 0x67 #define MXC_CPU_IMX7D 0x72 +#define MXC_CPU_IMX7ULP 0xff #define IMX_DDR_TYPE_LPDDR2 1 diff --git a/arch/arm/mach-imx/pm-imx7ulp.c b/arch/arm/mach-imx/pm-imx7ulp.c new file mode 100644 index 0000000..cf6a380 --- /dev/null +++ b/arch/arm/mach-imx/pm-imx7ulp.c @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2016 Freescale Semiconductor, Inc. + * Copyright 2017-2018 NXP + * Author: Dong Aisheng + */ + +#include +#include +#include + +#define SMC_PMCTRL 0x10 +#define BP_PMCTRL_PSTOPO 16 +#define PSTOPO_PSTOP3 0x3 + +void __init imx7ulp_pm_init(void) +{ + struct device_node *np; + void __iomem *smc1_base; + + np = of_find_compatible_node(NULL, NULL, "fsl,imx7ulp-smc1"); + smc1_base = of_iomap(np, 0); + WARN_ON(!smc1_base); + + /* Partial Stop mode 3 with system/bus clock enabled */ + writel_relaxed(PSTOPO_PSTOP3 << BP_PMCTRL_PSTOPO, + smc1_base + SMC_PMCTRL); + iounmap(smc1_base); +} From patchwork Sat Nov 10 15:13:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10677259 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 753A41709 for ; Sat, 10 Nov 2018 15:14:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 626382C54C for ; Sat, 10 Nov 2018 15:14:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5685E2CBAC; Sat, 10 Nov 2018 15:14:19 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 5A8372C54C for ; Sat, 10 Nov 2018 15:14:18 +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=9/W8xiUkV9J9qfBYfzflEtER564EvkO1UvyCvCYLdjg=; b=JvbxokvD6cobcw tXUri2xmpgcuGa5UUPv2qwfqpc22+uyZNMc18MQrdVmW8Oei2i7/3SibqgHi3FNleXgNgQOcwI4A5 D8FeP+S/r27WbXuN402M+O6NCjFp8C+zvavqnZZTGZQcUIuzBbm1Gko0ae+cexHV/hqRDFLNP0cOr RoGk8MdwUkw+VR1P2S7ky2++gbDxufb0QqY1i2ASydgE8U9oXiUpRp/9Y7Ya8Z66/rhCK0ngVBC5s Y2kUiHBpCBJ6AB6rWSMPrXvPw62zRwMBPWFAGeUhb3nbOS7rGQQjY1i3HQ0h54vpEQWEWuupaYuJR P1UcDUa6bWpz3imbf36Q==; 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 1gLUxb-00071A-Ok; Sat, 10 Nov 2018 15:14:07 +0000 Received: from mail-ve1eur02on062d.outbound.protection.outlook.com ([2a01:111:f400:fe06::62d] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gLUx1-0006G1-J4 for linux-arm-kernel@lists.infradead.org; Sat, 10 Nov 2018 15:13:33 +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=+274xr82SlASV/h45uUJSolIqjb1Mhhlgw6Uaf9RDXM=; b=JXf4hHV+vTmMMon4oIL8dp1uEmYo5nHHiz5HM3MMAJdOR7BL/cn4iEQlBR8GifuqwVRwIJROUvexK2Kma/n4xOAEwRUr+IFBB6Lf0Yu4jy0k8aknjVE8EPVWfN0pVJai++ZOMw/QLjU+Okt5TID2JbjHGSdCX/P8C91OmysMVKc= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4818.eurprd04.prod.outlook.com (20.176.215.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.21; Sat, 10 Nov 2018 15:13:08 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::797a:f972:9281:6d10]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::797a:f972:9281:6d10%2]) with mapi id 15.20.1294.039; Sat, 10 Nov 2018 15:13:08 +0000 From: "A.s. Dong" To: "linux-arm-kernel@lists.infradead.org" Subject: [PATCH V5 4/6] dts: imx: add common imx7ulp dtsi support Thread-Topic: [PATCH V5 4/6] dts: imx: add common imx7ulp dtsi support Thread-Index: AQHUeQfjUlpzA8FqD0uWwI9+/nDvRg== Date: Sat, 10 Nov 2018 15:13:08 +0000 Message-ID: <1541862478-7839-5-git-send-email-aisheng.dong@nxp.com> References: <1541862478-7839-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1541862478-7839-1-git-send-email-aisheng.dong@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK0PR01CA0010.apcprd01.prod.exchangelabs.com (2603:1096:203:92::22) To AM0PR04MB4211.eurprd04.prod.outlook.com (2603:10a6:208:66::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=aisheng.dong@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM0PR04MB4818; 6:nj+rBeGR4LCw9vTsYuGRjdLVB7ntTyCFJbIu8sLRvBouHGTmDQOXiEjxAqmkdCkXzHRsPKhrI4IY0hWT5IFjWi3N8LR5OXGe0kuagkuz5oGVpepWW/0FfkZj81XbyzpNYYEjXSIqlrvmi4aCOSHqC73N3wcoIZDkxUq3LeP0VwjMR+XT//QtvtwKqO9L23AdW1C5jXAzmkXY8a3oWtHFVkz6VjpgcJ+dPumNshgbK/jPtKJdSA1N4Zp7PX9mCeO0yBSjrWGN5cdVvQu61e6fNxtEYwME+UMPzfJmDpya9QwbfmDgTAhS1mf3RX4kbn8MLXsFpIiCWg4JsCbXdD/AFU1JAAH8S9X52eOemHdjVZUH8dr8KOMffe0QKHh3Amd0LZMPCfwcV1LOuWqt0/3EYSH/EQjhyyyNyfBriaK4HoEuUcC1fcWvNQXOnJMvH+MgvKg1+qG3ItfIvCQ0HLMU0w==; 5:hojSwg5NGqnBIMcBbTMUSAyKEEyJJi0mNFMQmmD4dQkbNrqyHEOjlfEHG3wKxvSVBJs/abn2fEHs9TzQtx4z6UsCdD4Ij7fJ2Uey3IDNLsuhtMPWi+auxquzoKnkTDmYtYSrxLHA/XJ7sjZa1egRPbooSjKATNCcI1ThQFBtL1c=; 7:GgQ9e4iXcXY8gAFe9ofBdIjeIr7msf8Lngp3CdyafIU5RKdYz5s9EQZ7lA+wE4zq+gX16AI7emhVNRU0qFgFWjd8Au3NMt/oB8Q0MnfeGl9nEade4RPnLkAXhu2u6E2TNb4CydjU/+gwim/HJ9Yq9Q== x-ms-office365-filtering-correlation-id: 44d2b4ed-3d5f-4bd3-94b7-08d6471f0547 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390040)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4818; x-ms-traffictypediagnostic: AM0PR04MB4818: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:AM0PR04MB4818; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4818; x-forefront-prvs: 0852EB6797 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(346002)(39850400004)(366004)(136003)(199004)(189003)(54534003)(54906003)(50226002)(2501003)(76176011)(316002)(386003)(106356001)(102836004)(105586002)(6506007)(68736007)(3846002)(6116002)(36756003)(6916009)(52116002)(2906002)(66066001)(99286004)(97736004)(5660300001)(305945005)(86362001)(7736002)(2616005)(5640700003)(4326008)(39060400002)(53936002)(6512007)(476003)(2900100001)(25786009)(14454004)(26005)(11346002)(486006)(6486002)(186003)(256004)(478600001)(2351001)(8936002)(8676002)(446003)(81156014)(6436002)(71190400001)(71200400001)(14444005)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4818; H:AM0PR04MB4211.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: bnVprttfWVPAg+dSjkjDnzvLSIj8u4XC7ylpvxijs9UeTEYAEnRhXwR8heRqZ+TxAV+iy6LWMb1F80sbRtaxW+Sq9uU18kPC3crUPX2WA4e+6cRwpiVN/RjYy9ocA7lljIdhvt9WJXFpwDxVurC6uaxKtlvq8+iRKDsUUzd6lltCVAfC879U7eV75PjtWv7/ZL/ATnNJcObnYAh7mVhzqYG4d7Bhy3xNEXOynVgq/mudNiegK6Zpr38xkt75ClFlK4zAUNQ4xeiGa4xIh566u78c52DHPPdtBoAMqf/UHasDoZzNSJizEOr/4HBMaRi05TV1F/SoQuHhq5dKTkp8MssN9laRsIP8/VTh2Bmms38= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 44d2b4ed-3d5f-4bd3-94b7-08d6471f0547 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Nov 2018 15:13:08.6605 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4818 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181110_071331_639867_B7BBEC15 X-CRM114-Status: GOOD ( 16.20 ) 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: "A.s. Dong" , "devicetree@vger.kernel.org" , "dongas86@gmail.com" , "linux@armlinux.org.uk" , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Fabio Estevam , "shawnguo@kernel.org" 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 The i.MX 7ULP family of processors features NXP's advanced implementation of the Arm Cortex-A7 core, the Arm Cortex-M4 core, as well as a 3D and 2D Graphics Processing Units (GPUs). This patch aims to add the initial support including: 1) CLK 2) GPIO PTC, PTD, PTE, PTF 3) uSDHC 1/2 4) LPUART 4/5/6/7 5) LPI2C 6/7 Cc: Rob Herring Cc: Shawn Guo Cc: devicetree@vger.kernel.org Cc: Sascha Hauer Cc: Fabio Estevam Signed-off-by: Dong Aisheng Reviewed-by: Fabio Estevam --- ChangeLog: v4->v5: * add input clocks for PCC module v3->v4: * no changes v2->v3: * change to generic node names * remove arch timer due to: 1) arch timer is fixed to 1Mhz which is lower accurate than TPM timer (3Mhz). 2) no firmware progrem CNTFREQ 3) cpuidle driver is still not in tree will may cause system hang v1->v2: * update clk part due to binding change * separate soc.dtsi from board.dts --- arch/arm/boot/dts/imx7ulp.dtsi | 346 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 346 insertions(+) create mode 100644 arch/arm/boot/dts/imx7ulp.dtsi diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi new file mode 100644 index 0000000..931b275 --- /dev/null +++ b/arch/arm/boot/dts/imx7ulp.dtsi @@ -0,0 +1,346 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2016 Freescale Semiconductor, Inc. + * Copyright 2017-2018 NXP + * Dong Aisheng + */ + +#include +#include +#include + +#include "imx7ulp-pinfunc.h" + +/ { + interrupt-parent = <&intc>; + + #address-cells = <1>; + #size-cells = <1>; + + aliases { + gpio0 = &gpio_ptc; + gpio1 = &gpio_ptd; + gpio2 = &gpio_pte; + gpio3 = &gpio_ptf; + i2c0 = &lpi2c6; + i2c1 = &lpi2c7; + mmc0 = &usdhc0; + mmc1 = &usdhc1; + serial0 = &lpuart4; + serial1 = &lpuart5; + serial2 = &lpuart6; + serial3 = &lpuart7; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu0: cpu@0 { + compatible = "arm,cortex-a7"; + device_type = "cpu"; + reg = <0>; + }; + }; + + intc: interrupt-controller@40021000 { + compatible = "arm,cortex-a7-gic"; + #interrupt-cells = <3>; + interrupt-controller; + reg = <0x40021000 0x1000>, + <0x40022000 0x1000>; + }; + + rosc: clock-rosc { + compatible = "fixed-clock"; + clock-frequency = <32768>; + clock-output-names = "rosc"; + #clock-cells = <0>; + }; + + sosc: clock-sosc { + compatible = "fixed-clock"; + clock-frequency = <24000000>; + clock-output-names = "sosc"; + #clock-cells = <0>; + }; + + sirc: clock-sirc { + compatible = "fixed-clock"; + clock-frequency = <16000000>; + clock-output-names = "sirc"; + #clock-cells = <0>; + }; + + firc: clock-firc { + compatible = "fixed-clock"; + clock-frequency = <48000000>; + clock-output-names = "firc"; + #clock-cells = <0>; + }; + + upll: clock-upll { + compatible = "fixed-clock"; + clock-frequency = <480000000>; + clock-output-names = "upll"; + #clock-cells = <0>; + }; + + mpll: clock-mpll { + compatible = "fixed-clock"; + clock-frequency = <480000000>; + clock-output-names = "mpll"; + #clock-cells = <0>; + }; + + ahbbridge0: bus@40000000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x40000000 0x800000>; + ranges; + + lpuart4: serial@402d0000 { + compatible = "fsl,imx7ulp-lpuart"; + reg = <0x402d0000 0x1000>; + interrupts = ; + clocks = <&pcc2 IMX7ULP_CLK_LPUART4>; + clock-names = "ipg"; + assigned-clocks = <&pcc2 IMX7ULP_CLK_LPUART4>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_SOSC_BUS_CLK>; + assigned-clock-rates = <24000000>; + status = "disabled"; + }; + + lpuart5: serial@402e0000 { + compatible = "fsl,imx7ulp-lpuart"; + reg = <0x402e0000 0x1000>; + interrupts = ; + clocks = <&pcc2 IMX7ULP_CLK_LPUART5>; + clock-names = "ipg"; + assigned-clocks = <&pcc2 IMX7ULP_CLK_LPUART5>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>; + assigned-clock-rates = <48000000>; + status = "disabled"; + }; + + tpm5: tpm@40260000 { + compatible = "fsl,imx7ulp-tpm"; + reg = <0x40260000 0x1000>; + interrupts = ; + clocks = <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>, + <&pcc2 IMX7ULP_CLK_LPTPM5>; + clock-names = "ipg", "per"; + }; + + usdhc0: mmc@40370000 { + compatible = "fsl,imx7ulp-usdhc", "fsl,imx6sx-usdhc"; + reg = <0x40370000 0x10000>; + interrupts = ; + clocks = <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>, + <&scg1 IMX7ULP_CLK_NIC1_DIV>, + <&pcc2 IMX7ULP_CLK_USDHC0>; + clock-names ="ipg", "ahb", "per"; + assigned-clocks = <&pcc2 IMX7ULP_CLK_USDHC0>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_NIC1_DIV>; + bus-width = <4>; + fsl,tuning-start-tap = <20>; + fsl,tuning-step= <2>; + status = "disabled"; + }; + + usdhc1: mmc@40380000 { + compatible = "fsl,imx7ulp-usdhc", "fsl,imx6sx-usdhc"; + reg = <0x40380000 0x10000>; + interrupts = ; + clocks = <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>, + <&scg1 IMX7ULP_CLK_NIC1_DIV>, + <&pcc2 IMX7ULP_CLK_USDHC1>; + clock-names ="ipg", "ahb", "per"; + assigned-clocks = <&pcc2 IMX7ULP_CLK_USDHC1>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_NIC1_DIV>; + bus-width = <4>; + fsl,tuning-start-tap = <20>; + fsl,tuning-step= <2>; + status = "disabled"; + }; + + scg1: clock-controller@403e0000 { + compatible = "fsl,imx7ulp-scg1"; + reg = <0x403e0000 0x10000>; + clocks = <&rosc>, <&sosc>, <&sirc>, + <&firc>, <&upll>, <&mpll>; + clock-names = "rosc", "sosc", "sirc", + "firc", "upll", "mpll"; + #clock-cells = <1>; + }; + + pcc2: clock-controller@403f0000 { + compatible = "fsl,imx7ulp-pcc2"; + reg = <0x403f0000 0x10000>; + #clock-cells = <1>; + clocks = <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>, + <&scg1 IMX7ULP_CLK_NIC1_DIV>, + <&scg1 IMX7ULP_CLK_DDR_DIV>, + <&scg1 IMX7ULP_CLK_APLL_PFD2>, + <&scg1 IMX7ULP_CLK_APLL_PFD1>, + <&scg1 IMX7ULP_CLK_APLL_PFD0>, + <&scg1 IMX7ULP_CLK_UPLL>, + <&scg1 IMX7ULP_CLK_SOSC_BUS_CLK>, + <&scg1 IMX7ULP_CLK_MIPI_PLL>, + <&scg1 IMX7ULP_CLK_FIRC_BUS_CLK>, + <&scg1 IMX7ULP_CLK_ROSC>, + <&scg1 IMX7ULP_CLK_SPLL_BUS_CLK>; + clock-names = "nic1_bus_clk", "nic1_clk", "ddr_clk", + "apll_pfd2", "apll_pfd1", "apll_pfd0", + "upll", "sosc_bus_clk", "mpll", + "firc_bus_clk", "rosc", "spll_bus_clk"; + assigned-clocks = <&pcc2 IMX7ULP_CLK_LPTPM5>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_SOSC_BUS_CLK>; + }; + + smc1: smc1@40410000 { + compatible = "fsl,imx7ulp-smc1"; + reg = <0x40410000 0x1000>; + }; + + pcc3: clock-controller@40b30000 { + compatible = "fsl,imx7ulp-pcc3"; + reg = <0x40b30000 0x10000>; + #clock-cells = <1>; + clocks = <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>, + <&scg1 IMX7ULP_CLK_NIC1_DIV>, + <&scg1 IMX7ULP_CLK_DDR_DIV>, + <&scg1 IMX7ULP_CLK_APLL_PFD2>, + <&scg1 IMX7ULP_CLK_APLL_PFD1>, + <&scg1 IMX7ULP_CLK_APLL_PFD0>, + <&scg1 IMX7ULP_CLK_UPLL>, + <&scg1 IMX7ULP_CLK_SOSC_BUS_CLK>, + <&scg1 IMX7ULP_CLK_MIPI_PLL>, + <&scg1 IMX7ULP_CLK_FIRC_BUS_CLK>, + <&scg1 IMX7ULP_CLK_ROSC>, + <&scg1 IMX7ULP_CLK_SPLL_BUS_CLK>; + clock-names = "nic1_bus_clk", "nic1_clk", "ddr_clk", + "apll_pfd2", "apll_pfd1", "apll_pfd0", + "upll", "sosc_bus_clk", "mpll", + "firc_bus_clk", "rosc", "spll_bus_clk"; + }; + }; + + ahbbridge1: bus@40800000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x40800000 0x800000>; + ranges; + + lpi2c6: i2c@40a40000 { + compatible = "fsl,imx7ulp-lpi2c"; + reg = <0x40a40000 0x10000>; + interrupts = ; + clocks = <&pcc3 IMX7ULP_CLK_LPI2C6>; + clock-names = "ipg"; + assigned-clocks = <&pcc3 IMX7ULP_CLK_LPI2C6>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>; + assigned-clock-rates = <48000000>; + status = "disabled"; + }; + + lpi2c7: i2c@40a50000 { + compatible = "fsl,imx7ulp-lpi2c"; + reg = <0x40a50000 0x10000>; + interrupts = ; + clocks = <&pcc3 IMX7ULP_CLK_LPI2C7>; + clock-names = "ipg"; + assigned-clocks = <&pcc3 IMX7ULP_CLK_LPI2C7>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>; + assigned-clock-rates = <48000000>; + status = "disabled"; + }; + + lpuart6: serial@40a60000 { + compatible = "fsl,imx7ulp-lpuart"; + reg = <0x40a60000 0x1000>; + interrupts = ; + clocks = <&pcc3 IMX7ULP_CLK_LPUART6>; + clock-names = "ipg"; + assigned-clocks = <&pcc3 IMX7ULP_CLK_LPUART6>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>; + assigned-clock-rates = <48000000>; + status = "disabled"; + }; + + lpuart7: serial@40a70000 { + compatible = "fsl,imx7ulp-lpuart"; + reg = <0x40a70000 0x1000>; + interrupts = ; + clocks = <&pcc3 IMX7ULP_CLK_LPUART7>; + clock-names = "ipg"; + assigned-clocks = <&pcc3 IMX7ULP_CLK_LPUART7>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>; + assigned-clock-rates = <48000000>; + status = "disabled"; + }; + + iomuxc1: pinctrl@40ac0000 { + compatible = "fsl,imx7ulp-iomuxc1"; + reg = <0x40ac0000 0x1000>; + }; + + gpio_ptc: gpio@40ae0000 { + compatible = "fsl,imx7ulp-gpio", "fsl,vf610-gpio"; + reg = <0x40ae0000 0x1000 0x400f0000 0x40>; + gpio-controller; + #gpio-cells = <2>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + clocks = <&pcc2 IMX7ULP_CLK_RGPIO2P1>, + <&pcc3 IMX7ULP_CLK_PCTLC>; + clock-names = "gpio", "port"; + gpio-ranges = <&iomuxc1 0 0 32>; + }; + + gpio_ptd: gpio@40af0000 { + compatible = "fsl,imx7ulp-gpio", "fsl,vf610-gpio"; + reg = <0x40af0000 0x1000 0x400f0040 0x40>; + gpio-controller; + #gpio-cells = <2>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + clocks = <&pcc2 IMX7ULP_CLK_RGPIO2P1>, + <&pcc3 IMX7ULP_CLK_PCTLD>; + clock-names = "gpio", "port"; + gpio-ranges = <&iomuxc1 0 32 32>; + }; + + gpio_pte: gpio@40b00000 { + compatible = "fsl,imx7ulp-gpio", "fsl,vf610-gpio"; + reg = <0x40b00000 0x1000 0x400f0080 0x40>; + gpio-controller; + #gpio-cells = <2>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + clocks = <&pcc2 IMX7ULP_CLK_RGPIO2P1>, + <&pcc3 IMX7ULP_CLK_PCTLE>; + clock-names = "gpio", "port"; + gpio-ranges = <&iomuxc1 0 64 32>; + }; + + gpio_ptf: gpio@40b10000 { + compatible = "fsl,imx7ulp-gpio", "fsl,vf610-gpio"; + reg = <0x40b10000 0x1000 0x400f00c0 0x40>; + gpio-controller; + #gpio-cells = <2>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + clocks = <&pcc2 IMX7ULP_CLK_RGPIO2P1>, + <&pcc3 IMX7ULP_CLK_PCTLF>; + clock-names = "gpio", "port"; + gpio-ranges = <&iomuxc1 0 96 32>; + }; + }; +}; From patchwork Sat Nov 10 15:13:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10677261 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 8F2F7139B for ; Sat, 10 Nov 2018 15:14:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C1842C54C for ; Sat, 10 Nov 2018 15:14:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F8D42CBAC; Sat, 10 Nov 2018 15:14:41 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 D2D6F2C54C for ; Sat, 10 Nov 2018 15:14:40 +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=CmWElgU8pJFezQVkp/VtTr6EZaj72DdgWICfHkeXCSU=; b=miZQoIkFnIpRb0 yHmNqSvFqN8HZ4XA5wc00bpGcWJQmDlv3ZMpH+uuh9xLYbccNY++TpDtck/lGiB4BKKQSNIQO0R+Y uRnHbbrJlwitfv5WixK0o9q0OC4ItoSH/nZ2ll8KloQSRA0zE25QPzcjUGlzf+EwDL8dEHV3Flbb5 qUzhLoPipgBWl2mooJRnRGLa4B46zxb01AMqANooPBXaBagPJLviykOSpmiLg0F5ZBxEdaxbeCAdN iCVoUoHTwj4PiU2oI1LzzmdLtvu0MIrpu/j7hB3MDBBdx/t+D2USDXL0ClGU9Nx9FOmpbBZZqmcM5 6M8iGQZsyFnxH0Op6fvw==; 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 1gLUy0-0007Pc-MV; Sat, 10 Nov 2018 15:14:32 +0000 Received: from mail-ve1eur02on062d.outbound.protection.outlook.com ([2a01:111:f400:fe06::62d] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gLUx4-0006G1-4f for linux-arm-kernel@lists.infradead.org; Sat, 10 Nov 2018 15:13:35 +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=8b8w3NfH3sDQ8bGfJEX5A6MTijRCGPZzAAOGIXM6ZZE=; b=bOZvl4ECFfZdTzk3YCCIWw13rByMPcoP/pOQtn49jAgYLlbSZwPkiE66mkFKncEaIx++IFsgBn/wGtVWG+errhfgWCDL6hjQgnS/0NCopyk4nvaCJxNHrpUmjCF/RJ/MCyRCH86SRaGpFkt6NuT5XlzZyoUDJEejOTATZPzhC3I= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4818.eurprd04.prod.outlook.com (20.176.215.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.21; Sat, 10 Nov 2018 15:13:12 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::797a:f972:9281:6d10]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::797a:f972:9281:6d10%2]) with mapi id 15.20.1294.039; Sat, 10 Nov 2018 15:13:12 +0000 From: "A.s. Dong" To: "linux-arm-kernel@lists.infradead.org" Subject: [PATCH V5 5/6] dts: fsl: add imx7ulp evk support Thread-Topic: [PATCH V5 5/6] dts: fsl: add imx7ulp evk support Thread-Index: AQHUeQflk6BLP7awtECm2O6h37qw8A== Date: Sat, 10 Nov 2018 15:13:12 +0000 Message-ID: <1541862478-7839-6-git-send-email-aisheng.dong@nxp.com> References: <1541862478-7839-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1541862478-7839-1-git-send-email-aisheng.dong@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK0PR01CA0010.apcprd01.prod.exchangelabs.com (2603:1096:203:92::22) To AM0PR04MB4211.eurprd04.prod.outlook.com (2603:10a6:208:66::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=aisheng.dong@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM0PR04MB4818; 6:/a1LSbwX0tKvo4LI87aPIfuhdrb6oW6wMjYTsRSkAqZidinAFUdy6SXeGgcFCDRlx0s/Em6BaFURS1jwN0krX8ZsfZDeyOQx+6KejWGMi4syqOeMyjncXKC1AOwGGD3dtjf40w+EOpqNcVvD/4bffrslupzimvg0fQRe/q9lwLxmmUw1AJYR+sn2BuNMTB6GO/q6l4evDA+eqlZ5kXi5g424sT1nl/1A2xuqlJDoDOfRCWpHmvTpMiJzugOQdMm+LUxUpyb2phlFc1yUaNTsi9M5Atr8KWn7v62G2Ozu8TWKdflTYVS2J3dCOGUB71JAlbJkm9af8ef6XB2STWUrcU37vR/jt3WoW7cF1lTHuTodhWN/xxBR61KSQ5FkRfwXU796erl7gUBZzyHP5MqSmhptHJfwAtG93C96KADjRJRfoaq3jFd46f9Ug4tzoyp/gnVIJGQXy7u+amiSss6qfQ==; 5:2vYd5jbzSt65IS1Pul8dR8VPb70vM595W2PnFw5/X11xN7ch/n0Z9tRe586tUA9JlV9chNiWso1WkzFsKdg4KK6SMd3nA1JcpUAfduCOjuzOhdj4Bmg7hHz0hbIuXAxKFZzBPLTnG10oFjnkhYFS+8/HyurM/aJ/+opJFLB2x5I=; 7:xvvovXeUs/ZjjD57dTrRMuqb2xq8g/CoCEisttlA/7sZtEmxRqRfC/c8mzfHp69Czu9QqezO0fbDQuoFQNrCBAjYYkPaeJNf+F2OYNE/0z+t52O7QxgxP8fVeuUuUI7nlmW7UJgQi+pkexiaH+yCBw== x-ms-office365-filtering-correlation-id: 93a696d8-f838-47ef-78f4-08d6471f07e1 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390040)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4818; x-ms-traffictypediagnostic: AM0PR04MB4818: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(264314650089876)(185117386973197)(9452136761055)(85827821059158); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:AM0PR04MB4818; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4818; x-forefront-prvs: 0852EB6797 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(346002)(39850400004)(366004)(136003)(199004)(189003)(54534003)(54906003)(50226002)(2501003)(76176011)(316002)(386003)(106356001)(102836004)(105586002)(6506007)(68736007)(3846002)(6116002)(36756003)(6916009)(52116002)(2906002)(66066001)(99286004)(97736004)(5660300001)(305945005)(575784001)(86362001)(7736002)(2616005)(5640700003)(4326008)(39060400002)(53936002)(6512007)(476003)(2900100001)(25786009)(6306002)(14454004)(26005)(11346002)(486006)(966005)(6486002)(186003)(256004)(478600001)(2351001)(8936002)(8676002)(446003)(81156014)(6436002)(71190400001)(71200400001)(14444005)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4818; H:AM0PR04MB4211.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: Fi3pX9NowzfyoWmtpiblvNJlrYT2k/rmXFdjeCg9O1JbKtioWJn6Oe4iW0VkPBpr18ooPRVHLpzLowGxfqJdAxr+iZgtxoUPzfLcrDjSFaKdXTmlaIb+BXvuCDJC3QNpGKAiLgRH520v28CBt4tDj5wP+mUEjgPiDHABxugXyUfLOtqLLg+qok1ZqZQW4LbeMlZHD5uq36e9/jDvmREJYk8WJ/nORqXj3V9qQiNDUHSSNngEqyu+ipSRo14ylklz41ldLwmpF2zfQ4MuufcXM2chQ5+WiArBgfYwpZhjKJ/0FhpJoYfRJLBtyGP+4lpfY7XHd2mK5K2b5Ly20ajsj+5bjZ0lfa8Hw1WLw4zpcd8= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 93a696d8-f838-47ef-78f4-08d6471f07e1 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Nov 2018 15:13:12.4161 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4818 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181110_071334_187791_AE88CE36 X-CRM114-Status: GOOD ( 17.12 ) 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: "A.s. Dong" , "devicetree@vger.kernel.org" , "dongas86@gmail.com" , "linux@armlinux.org.uk" , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Fabio Estevam , "shawnguo@kernel.org" 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 The NXP i.MX 7ULP Evaluation Kit (EVK) provides a platform for rapid evaluation of the i.MX 7ULP, which features NXP's advanced implementation of the Arm Cortex-A7 core, the Arm Cortex-M4 core, as well as a 3D and 2D Graphics Processing Units (GPUs). The EVK enables HDMI output for simple out-of-the-box to bring up but allows reconfiguration for MIPI displays. The EVK is designed as a System-On-Module(SOM) board that connects to an associated baseboard. The SOM provides 1 GB LPDDR3, 8 MB Quad SPI flash, Micro SD 3.0 card socket, WiFi/ Bluetooth capability, USB 2.0 OTG with Type C connector and an NXP PF1550 power management IC (PMIC). The baseboard provides additional capabilities including a full SD/MMC 3.0 card socket, audio codec, multiple sensors, an HDMI connector, and an alternate MIPI display connector. Additionally, the EVK facilitates software development with the ultimate goal of faster time to market through the support of both Linux OS and AndroidTM rich operating systems, as well as FreeRTOS. This patch aims to support the preliminary booting up features as follows: GPIO LPUART FEC SD/MMC See more board details: https://www.nxp.com/products/processors-and-microcontrollers/ arm-based-processors-and-mcus/i.mx-applications-processors/ i.mx-7-processors/evaluation-kit-for-the-i.mx-7ulp-applications -processor:MCIMX7ULP-EVK Cc: Rob Herring Cc: Shawn Guo Cc: devicetree@vger.kernel.org Cc: Sascha Hauer Reviewed-by: Fabio Estevam Signed-off-by: Dong Aisheng --- ChangeLog: v4->v5: * update pad setting due to missing pull up enabled (formerly auto done by driver generic pinconfg) v3->v4: * no changes v2->v3: * remove "Generic DT based system" * add device_type property for memory node * back to old pinctrl binding according to SoC maintainer's suggestions v1->v2: * switch to SPDX license * pad name update * fix Character '_' not recommended in node name * separate from soc.dtsi file --- arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/imx7ulp-evk.dts | 77 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 arch/arm/boot/dts/imx7ulp-evk.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d7268ae..39eac9c 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -573,6 +573,8 @@ dtb-$(CONFIG_SOC_IMX7D) += \ imx7d-sdb-sht11.dtb \ imx7s-colibri-eval-v3.dtb \ imx7s-warp.dtb +dtb-$(CONFIG_SOC_IMX7ULP) += \ + imx7ulp-evk.dtb dtb-$(CONFIG_SOC_LS1021A) += \ ls1021a-moxa-uc-8410a.dtb \ ls1021a-qds.dtb \ diff --git a/arch/arm/boot/dts/imx7ulp-evk.dts b/arch/arm/boot/dts/imx7ulp-evk.dts new file mode 100644 index 0000000..a09026a --- /dev/null +++ b/arch/arm/boot/dts/imx7ulp-evk.dts @@ -0,0 +1,77 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2016 Freescale Semiconductor, Inc. + * Copyright 2017-2018 NXP + * Dong Aisheng + */ + +/dts-v1/; + +#include "imx7ulp.dtsi" + +/ { + model = "NXP i.MX7ULP EVK"; + compatible = "fsl,imx7ulp-evk", "fsl,imx7ulp"; + + chosen { + stdout-path = &lpuart4; + }; + + memory@60000000 { + device_type = "memory"; + reg = <0x60000000 0x40000000>; + }; + + reg_vsd_3v3: regulator-vsd-3v3 { + compatible = "regulator-fixed"; + regulator-name = "VSD_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc0_rst>; + gpio = <&gpio_ptd 0 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; +}; + +&lpuart4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpuart4>; + status = "okay"; +}; + +&usdhc0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc0>; + cd-gpios = <&gpio_ptc 10 GPIO_ACTIVE_LOW>; + vmmc-supply = <®_vsd_3v3>; + status = "okay"; +}; + +&iomuxc1 { + pinctrl_lpuart4: lpuart4grp { + fsl,pins = < + IMX7ULP_PAD_PTC3__LPUART4_RX 0x3 + IMX7ULP_PAD_PTC2__LPUART4_TX 0x3 + >; + bias-pull-up; + }; + + pinctrl_usdhc0: usdhc0grp { + fsl,pins = < + IMX7ULP_PAD_PTD1__SDHC0_CMD 0x43 + IMX7ULP_PAD_PTD2__SDHC0_CLK 0x40 + IMX7ULP_PAD_PTD7__SDHC0_D3 0x43 + IMX7ULP_PAD_PTD8__SDHC0_D2 0x43 + IMX7ULP_PAD_PTD9__SDHC0_D1 0x43 + IMX7ULP_PAD_PTD10__SDHC0_D0 0x43 + IMX7ULP_PAD_PTC10__PTC10 0x3 /* CD */ + >; + }; + + pinctrl_usdhc0_rst: usdhc0-gpio-rst-grp { + fsl,pins = < + IMX7ULP_PAD_PTD0__PTD0 0x3 + >; + }; +}; From patchwork Sat Nov 10 15:13:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10677263 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 0031314DB for ; Sat, 10 Nov 2018 15:15:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E26042C54C for ; Sat, 10 Nov 2018 15:15:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D3C302CBAC; Sat, 10 Nov 2018 15:15:18 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 7ED8F2C54C for ; Sat, 10 Nov 2018 15:15:18 +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=E2hy2IYpYLMaASddDDEUN7l34HhericYW4tXc2chfds=; b=blPcO3+sVC+fBq 0cqnLa99PcdHOq62SRrKskszGmCsMVjtcoGPx699G8I+C+UBYIL+Cj1B+4ysGObMIMKxESrAQlmRL dXVKr1mCGdKNjIG+R+jSYUOOSUDKKLGPPPXJL7uduWi3H8ojoXdw8qm895aCgqxYQLWD/xrY/ZWhY OL14PUzPTaWZElDbOUKFlCzgc0p/TXffF7iw+adDy0oyiwrmtwSDjDCYue6CzKxJtymzbrnyBa7YS 3suQw5kZlTwhtfdOAZFVAGaVnP7T1T/MM1RpPGQxHKSFeJlSwsuQifzW01N2QsTjzRpXIN/gRuyXc zZ0ZkHmVJajtiUXnyUeg==; 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 1gLUyX-0007rZ-Ol; Sat, 10 Nov 2018 15:15:05 +0000 Received: from mail-ve1eur02on062d.outbound.protection.outlook.com ([2a01:111:f400:fe06::62d] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gLUx6-0006G1-KY for linux-arm-kernel@lists.infradead.org; Sat, 10 Nov 2018 15:13:38 +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=kMo2tKNRciJ+R+yddea37G/yCYzGAuhkQAVS4oi9W/8=; b=LSrxud9Ai0a5je58llvyIhBOaNg1oR3lGPVZzR+ZDUkhB2kNWbMEs1IZ2aHiWAKOcMgzBODwbx/+ItQEONv7i/ir8dofw3v8uiO6h/qVbl40w7MWTBWzxc4VG69FB8pWCJamsrY93srruj4gudzWaqRoYHw9PxhiKLB0zdTY1m0= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4818.eurprd04.prod.outlook.com (20.176.215.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.21; Sat, 10 Nov 2018 15:13:16 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::797a:f972:9281:6d10]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::797a:f972:9281:6d10%2]) with mapi id 15.20.1294.039; Sat, 10 Nov 2018 15:13:16 +0000 From: "A.s. Dong" To: "linux-arm-kernel@lists.infradead.org" Subject: [PATCH V5 6/6] ARM: imx_v6_v7_defconfig: add imx7ulp support Thread-Topic: [PATCH V5 6/6] ARM: imx_v6_v7_defconfig: add imx7ulp support Thread-Index: AQHUeQfnWugwDjbJhUeJMjefSKPxuw== Date: Sat, 10 Nov 2018 15:13:16 +0000 Message-ID: <1541862478-7839-7-git-send-email-aisheng.dong@nxp.com> References: <1541862478-7839-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1541862478-7839-1-git-send-email-aisheng.dong@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK0PR01CA0010.apcprd01.prod.exchangelabs.com (2603:1096:203:92::22) To AM0PR04MB4211.eurprd04.prod.outlook.com (2603:10a6:208:66::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=aisheng.dong@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM0PR04MB4818; 6:KKIhekeSg08aQT5fudO5qKrSgxzHdPdNJXTRynSSwQJHNc/Oy3BVHThnE5DU+Xd3MkgIi3QPNCf97dNDWHCd5yZTf0TyvzNl6BFTLlG21G2fcxewoxR6yy4nGJXHqoijm9lTLdIWARKpJ53PIxfRyyNiwRDwaVypUiXOhc6yIzABUVS7crT05KUFXC0HqqJ4c/QXVtsV/xS6/qAhRETlGfT6Zg1EMGhaA880Gnb0NF5CSEgJYwn1Tm9W2l7FVxown9Wx/ACjIRx2lXIaZsrMPO1hqguZKmNr2uze0tHxpwKhndmbp0iJxGdQoXjsuHJnihgcZ4CfDjDT2UrA1YU4e/BTMh00Ziyln1Kx96nJZa1URavyC5DjF9OmC+AV4vxV7cEwXhEK2g2Cs2foaCgFboCWWnlIqOuW83bDHkZ0p7tDsIQQrgBYBDlnCTpfxkxEBQsWcc1ZmtLBrxgWsrap0g==; 5:IEbgVsRn8btnjG1Bov2iWzW4oYyCWK425jz16XWr9fVX22zL+oPyHGoah3A3lfeeKC9XOexSW4q8m8QIN+cDXnkq8uOoc/JbRxRnw1aLKKEpv3QSCAGUVrWSU9BDP2svLp01S1P57mwmSp2IITTVTlmH7GJLK1phRPqZPm1zEj4=; 7:yz1JDtzRB2qYj4i27y8j31RWcdOIdVxxghqu6lg5Vr1eiBL78+ZbHxW+EXeOWxH9ZXCLJX2IaSCnOvwNw2iFTcv7UZx/m5IznhQln8B0pLrMr2bb36IZcaM8zkenSgn0ag445SS4PGCySM4duFe8VQ== x-ms-office365-filtering-correlation-id: 15f77e57-1fe0-45f5-f6f8-08d6471f09f8 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390040)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4818; x-ms-traffictypediagnostic: AM0PR04MB4818: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(85827821059158)(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:AM0PR04MB4818; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4818; x-forefront-prvs: 0852EB6797 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(346002)(39850400004)(366004)(136003)(199004)(189003)(54906003)(50226002)(2501003)(76176011)(316002)(386003)(106356001)(102836004)(105586002)(6506007)(68736007)(3846002)(6116002)(36756003)(6916009)(52116002)(2906002)(66066001)(99286004)(97736004)(5660300001)(305945005)(86362001)(7736002)(2616005)(5640700003)(4326008)(39060400002)(53936002)(6512007)(476003)(2900100001)(25786009)(14454004)(26005)(11346002)(486006)(6486002)(186003)(256004)(478600001)(2351001)(8936002)(8676002)(446003)(81156014)(6436002)(71190400001)(71200400001)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4818; H:AM0PR04MB4211.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: 0nDfemUiq/9VYbUqAOPXpNuoFYSPCcdQdsTO7wxVhiNrLw8aqR83fuj75g9ndMUJO251DherT1rFwJ5ZpwXQJSppGoJ6D0SbluJ2P2gvYlOMDee4WG60undxqMkuiElo8KOZC1aq4gballJfkCsIwrSF9dhjaPFBholIDCNph9ApByvdNXJ6TjOTorkzzwTKgNUvBZN8u2iSL81zsg7slKj8V3NeF+40yTv9m1UjuKE/YxxHl7NAluwEzP11j2DcSbfNjESw/kEVPt+85YYyccKvOu96edaG46Cz2e7LCygGi7/ixZWw+J0Cqsh6S1+SCzvHY5bcLm4wXX1wjAjB480zM2vXmMaIa0mUDGyf91U= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 15f77e57-1fe0-45f5-f6f8-08d6471f09f8 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Nov 2018 15:13:16.1496 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4818 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181110_071336_725909_05179BD5 X-CRM114-Status: GOOD ( 12.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: "A.s. Dong" , "dongas86@gmail.com" , "linux@armlinux.org.uk" , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Fabio Estevam , "shawnguo@kernel.org" 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 Select CONFIG_SOC_IMX7ULP by default. Patch generated via make ARCH=arm savedefconfig Cc: Shawn Guo Cc: Sascha Hauer Reviewed-by: Fabio Estevam Signed-off-by: Dong Aisheng --- v2->v3: * no changes v1->v2: * rebase to new version --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 1ad5736..27ee422 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +++ b/arch/arm/configs/imx_v6_v7_defconfig @@ -38,6 +38,7 @@ CONFIG_SOC_IMX6SLL=y CONFIG_SOC_IMX6SX=y CONFIG_SOC_IMX6UL=y CONFIG_SOC_IMX7D=y +CONFIG_SOC_IMX7ULP=y CONFIG_SOC_VF610=y CONFIG_PCI=y CONFIG_PCI_MSI=y