Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp382444img; Thu, 21 Mar 2019 23:33:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbgD1YmKqaK/Te93WopEOrnLRNusmBpDK1VmFXVguk1miqY21XwL7LrFRgptkgeoiSsIKV X-Received: by 2002:a65:60da:: with SMTP id r26mr7403021pgv.294.1553236413103; Thu, 21 Mar 2019 23:33:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553236413; cv=none; d=google.com; s=arc-20160816; b=kDvH68L6xghWmUCTkNdGvvwc546BVX70Qv9sJF76gD4Z8533o/nKJnBdr5/DYOxgLZ m8P605Ow2ikaqyeJBSjAfIznl+uOw+mcWDIz4ndg2otfUmwhoyzNN8ZYFk4bB9cVhpFv JpPVfwaB9w8f8cUF30KCl7wDVSsW5rtdARUQDWFw3rT9ctRekWB1pnruir1PIg2eKw8j PXcuGgvK0gZrpwsk7brfFzD+03Te+j3w/mut3TUUAagV7FUlFAchzl3AroHTYngQqAfW qdo6hvXXJlPMKghCRqigP9dNPbzVJRiyTj3bExRnQfU90/O6E/Jd1hsF5hpWphA01Mld t6jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=FdN07wChgTV2VUDg+CZztCwB7OX6L4SdVvnPV8MJcWI=; b=yR7W4+cAe/ZcRy8NUK9B2C71VR76uzD0Lonw01yzMlkpQl7zQVWX2TFSDfhXoPRgvb kXqQAqWFlOTiA4Jc2t67OWVlQZl/MvoqnlbrMxYxrO1Cje5YccQYLWq88M6jPy9cfw76 kR2SalfbLvMhJfgNaJR/ye9pObCZA1jIBjAnito8uivTFpnP7DKt6npO5h0xayELZhsU beJKlZ9I0bxE56gKMC782/aq40cVRltD5v52B521IOulQ8jpVPNumKkhXkF3x54LAY0k QUgMGwBLHW+ax1WYPlZtP2azMTSG1JSpG2vrUAbTWJ88W/L1aMHfT8Ck2oEpTAQXLwEr Fusw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="vp397Vb/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b18si3186511pgj.500.2019.03.21.23.33.18; Thu, 21 Mar 2019 23:33:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="vp397Vb/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727822AbfCVGcC (ORCPT + 99 others); Fri, 22 Mar 2019 02:32:02 -0400 Received: from mail-eopbgr140044.outbound.protection.outlook.com ([40.107.14.44]:5379 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727518AbfCVGcB (ORCPT ); Fri, 22 Mar 2019 02:32:01 -0400 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=FdN07wChgTV2VUDg+CZztCwB7OX6L4SdVvnPV8MJcWI=; b=vp397Vb/MXtJjapi//HqmbSgh1YU1Sp8sMYmYyarj+vTR+7Lev62tg9y2QM7UDuxT1Xjc8z5jM/JZthxuy6ApFg9x/ebgd91bWCtmHMxisNswlLuzhMZItSAhyF397/iTiAyclYDganiu80pcnECKdlMnQjGHzekRLU8brlBN2w= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3882.eurprd04.prod.outlook.com (52.134.72.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.14; Fri, 22 Mar 2019 06:31:57 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::f1b4:a1fb:cfd1:3f08]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::f1b4:a1fb:cfd1:3f08%7]) with mapi id 15.20.1730.013; Fri, 22 Mar 2019 06:31:57 +0000 From: Anson Huang To: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" CC: dl-linux-imx Subject: [PATCH] ARM: dts: imx7ulp: add ocotp support Thread-Topic: [PATCH] ARM: dts: imx7ulp: add ocotp support Thread-Index: AQHU4HjyY7OiCgqW6ka54y6RfIEkRw== Date: Fri, 22 Mar 2019 06:31:56 +0000 Message-ID: <1553236008-28407-1-git-send-email-Anson.Huang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK2PR0401CA0017.apcprd04.prod.outlook.com (2603:1096:202:2::27) To DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.67] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a74c017a-e39f-4640-b9d8-08d6ae901490 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600127)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:DB3PR0402MB3882; x-ms-traffictypediagnostic: DB3PR0402MB3882: x-microsoft-antispam-prvs: x-forefront-prvs: 09840A4839 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(136003)(346002)(366004)(396003)(39860400002)(189003)(199004)(476003)(2906002)(106356001)(105586002)(2501003)(110136005)(25786009)(256004)(71190400001)(71200400001)(14454004)(4326008)(478600001)(97736004)(36756003)(316002)(6116002)(3846002)(6436002)(53936002)(81166006)(81156014)(8676002)(7736002)(6512007)(68736007)(2201001)(305945005)(86362001)(6486002)(66066001)(99286004)(4744005)(52116002)(5660300002)(26005)(8936002)(50226002)(386003)(102836004)(6506007)(186003)(486006)(2616005);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3882;H:DB3PR0402MB3916.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-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 1KvVUSlPSKlMlFCOzrDOiSKQLDKwdes69UE6mfuWS7DkPAnasMsI4ap+Z13TB+1Yj1tkpMQnRwPqqWFLnFRzIyqOhWmZ/5nBf4Er95uQt2QKPJdEqA8IFxdcuvSEgvoGAGZyCQ1x0/kGMXhiXsvotPrlj/81+D7hVFtgd+fA0YF0rnsipwamrgx4ZFSjQkN6WKN8+BwKjjbNPvqMZWQ+YnIUIdFpy9nSBTKaHXfDng0L1ElabkUmG9iwM9iCvwIXkfEOcqj1jUIki4rq0mNcdZLEA+zNzQBGDPus11dThyWMQs1IM+d6vkiMg371JQq8MoFKToLQyJJzNj7iou6UAOnv1Pj8zQVn1k2dA4Q4Zb77JX6YddR8peU5OfIR/AwZC6709WBPqZZCTQglfdVxo6NabMqNwA4cUTTCCtXRPx8= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a74c017a-e39f-4640-b9d8-08d6ae901490 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Mar 2019 06:31:56.9791 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3882 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add i.MX7ULP OCOTP support, its clock source is from M4 BUS clock which is NOT available in Linux clock tree, but M4 BUS clock is always ON when A7 (Linux) is alive, so just use dummy clock here. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx7ulp.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dts= i index eb349fd..d6b7110 100644 --- a/arch/arm/boot/dts/imx7ulp.dtsi +++ b/arch/arm/boot/dts/imx7ulp.dtsi @@ -365,5 +365,11 @@ compatible =3D "fsl,imx7ulp-sim", "syscon"; reg =3D <0x410a3000 0x1000>; }; + + ocotp: ocotp-ctrl@410a6000 { + compatible =3D "fsl,imx7ulp-ocotp", "syscon"; + reg =3D <0x410a6000 0x4000>; + clocks =3D <&scg1 IMX7ULP_CLK_DUMMY>; + }; }; }; --=20 2.7.4