From patchwork Mon Jan 28 19:43:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 10784669 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 0F423922 for ; Mon, 28 Jan 2019 19:44:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFBFD29B68 for ; Mon, 28 Jan 2019 19:44:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E1A4829C56; Mon, 28 Jan 2019 19:44:03 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 EADF429B68 for ; Mon, 28 Jan 2019 19:44:02 +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: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:In-Reply-To:References: List-Owner; bh=gxaPHaAk6bsMyWvhHMpDHv6rXiVoHaT8Ctlmqh8UvqM=; b=FZfKhn0pyHaIDm Y2eGYAOL0FWyAZHxwgEdlqb7KAkYTV5JUoYynzrdDmQhm9TymwwG52l43YYPQJ4C+l8UgJqn417hV J/8pGrO3BdDyWG/Y4GnJYgpX3/0TP6mdgsSQXSUjaF/+NZthtAodOvw74dMRMR17gRm1ep+rpAhAN O9TSBB4kl15zMeaR7giedk2wG9JZZE3nsMwxUpsC7XqxsVjpcMkK///k5RAgJHAjEVFQe31zYYH8B cEOyRw6omb7AjMgRYXEipg3Fo9Ji7vM+tht10EK7rPiuiwz92lrWxOM6xPH7s1EwDydqahhyqAj7s efAblKn2QM5ktBHw7ldQ==; 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 1goCp7-0005Hq-9X; Mon, 28 Jan 2019 19:44:01 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1goCp0-0005H5-8X for linux-arm-kernel@lists.infradead.org; Mon, 28 Jan 2019 19:43:58 +0000 Received: by mail-wm1-x344.google.com with SMTP id p6so15213736wmc.1 for ; Mon, 28 Jan 2019 11:43:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=H+XnthQWagnzj/q4hWFPKWH7BJci8vJ0+v7wxhiREqM=; b=rsouicSG2Y4CtCwLDm3XbmIJ4ZoRrepfurp2AUh350R8Oiwx/Mg86lnXMUqajaSk2T kfMTJovX6hy0QtowbyTV7AoM7guTJ/BJ6eebo13Bt4Sba++6oC5NYbvK0uAzWKJS3JY3 BIEqHv0jf9e2EncyqWS22KbNCc0MAvfaln2pfSYkgVmZc30HJ0GArmiMdA9X46uiLyb+ fsUJ2P0YmdVX9q23ctQ1X12KKJLWUMWGypQ1RGdGiu1rMRBPFprwxISJ17bn+F4gL9zP u/wqictggTdT+lTE653cOViCVNZLZdO1R7XWptPscU/nrPs2b0KjlvYLq2Q73jolEtXE nW+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=H+XnthQWagnzj/q4hWFPKWH7BJci8vJ0+v7wxhiREqM=; b=GjeYNn7hYy4JUrz1vL6K1npzhyAE/9vQYLfKAw9eyALkUIxOuNImxPhZLkiHItmb40 xa9QpzNCWwVgmFbzcXpgE+/YAmNpyOQ78COeF14XywLlBBiUFoFG8SM4EfQl+r7QvzDx qaKbzSupBQumpAcyomnUYhpjsB/Youh/TWITQzvgkB/eaTwoTL9CxLlvzvr/8nm065vg QRrt5vQBx8BCIOIaqafPlelki2HVGaTZjZ2U3NpPNHS0siEWUNCq6F9NW/KU/SZDP1hF UiGpXTq1gcnB6YHi0bPyC74FH/3ROojU0rvWh+r4bcP7saWPcOoz97oDedQxxGzeIZZg 5ESg== X-Gm-Message-State: AJcUukfN4GgLZTRYjKN/2z9rW+PbGXasEUNI5i7VfYHTig1bBDwQJu6s M0Scq9k2VRmTB842h+eAriO6Vg== X-Google-Smtp-Source: ALg8bN6D4Sy2lw1UhS/QQLBXyOWgFYgsbZ/coewDYmLF8pTOeaPnO3ky+J/s+WnP/rruDALZ3gA+oQ== X-Received: by 2002:a1c:7719:: with SMTP id t25mr19499675wmi.7.1548704632583; Mon, 28 Jan 2019 11:43:52 -0800 (PST) Received: from localhost.localdomain ([2a00:23c4:f7a1:ce00:5105:4b7b:c922:7c6]) by smtp.gmail.com with ESMTPSA id m6sm89283529wrv.24.2019.01.28.11.43.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Jan 2019 11:43:51 -0800 (PST) From: Carlo Caione To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, l.stach@pengutronix.de, abel.vesa@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: dts: imx8mq: Add on-chip OTP controller node Date: Mon, 28 Jan 2019 19:43:43 +0000 Message-Id: <20190128194343.13713-1-ccaione@baylibre.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190128_114356_990107_D5A6ED6B X-CRM114-Status: GOOD ( 10.90 ) 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: Carlo Caione 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 the node for the OTP controller. The IP is the same as on the imx7d. Signed-off-by: Carlo Caione --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 892063a7c26c..9a5205f08f3a 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -234,6 +234,14 @@ reg = <0x30340000 0x10000>; }; + ocotp: ocotp-ctrl@30350000 { + compatible = "fsl,imx7d-ocotp", "syscon"; + reg = <0x30350000 0x10000>; + clocks = <&clk IMX8MQ_CLK_OCOTP_ROOT>; + #address-cells = <1>; + #size-cells = <1>; + }; + anatop: syscon@30360000 { compatible = "fsl,imx8mq-anatop", "syscon"; reg = <0x30360000 0x10000>;