From patchwork Mon May 2 07:05:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanchayan X-Patchwork-Id: 8990321 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A883ABF29F for ; Mon, 2 May 2016 07:13:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DBDF220173 for ; Mon, 2 May 2016 07:13:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 14876201C7 for ; Mon, 2 May 2016 07:13:27 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ax81X-0008C4-S7; Mon, 02 May 2016 07:12:07 +0000 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ax81N-00085J-Bc for linux-arm-kernel@lists.infradead.org; Mon, 02 May 2016 07:11:58 +0000 Received: by mail-pf0-x241.google.com with SMTP id p185so20257178pfb.3 for ; Mon, 02 May 2016 00:11:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=l53F/wm8YjeM3X4Yni3T8hOJBbhMtS5bMZBXO/HWNX8=; b=J2Dfes4dXsH7od4b+qwM4NCTDMOZ49SDFk0o14UZe45G9phUF8OKTra7mh1koQ2MXA yRfKjXhgbVSvLkXjKpfMSBVyV20J/GZahqIq1PmfpkKY39K91Of/b23NxlxNUV6OQGj2 WJftzJ5enX1Jr5anpXq32FHFYUNibnF9HgwfeOeml47IQkz/cucEi0cbnSRooYiKiafK bQ/Lm/g7sEw3UJFA8PHV7ZB12PEA/Vq9zYlh7dhWePvsjsD1rGxu5Y6MbIa8FRk+7tP/ Rsv4oQI/uTJjCzmoD/6qGPG9DzxTmzfVPFLMsDCjrzHqgAFloZbnhD6RwdrUmcZNtcf1 MzHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=l53F/wm8YjeM3X4Yni3T8hOJBbhMtS5bMZBXO/HWNX8=; b=gY4UkyZfi78pyzXSy0hag9F4TXylPWi8asGecSY2n0in3Zfr3hh+4ZOom6AdzaMzLj hVhazQbjOQ6kI3fmKg3Hcu/WE5sfhETrR3OEln/BMJPakWv12v1UFpH4b7q4+Q0HIecA eOsrQwwgxqX+s2kiwjWgs1zDoFdK+u2rwapUX1HsNzpX9ZeYWUw6JMAA/QM3SCtUlQq5 bHz8vDxr2MdlvXPwkYYs9xCgAnQwY77bFn2WzyEMI9USNhBQElIR/DJhk7ENhgg0Ro6P PLbKURzIIpaqKdC0hSMs95XROWpZfwPMd9PP6o/DUWzm04S4x63ID0JlNh/YWpGVcF8w 4U6w== X-Gm-Message-State: AOPr4FX2qc5AoBx9fHGD1/Og2rL2DEWAr2qfB9nZLgUTI0SQi2zSRN04KfezGbISGFJtOQ== X-Received: by 10.98.5.196 with SMTP id 187mr30042922pff.103.1462173096707; Mon, 02 May 2016 00:11:36 -0700 (PDT) Received: from localhost ([115.115.243.34]) by smtp.gmail.com with ESMTPSA id k65sm42445412pfb.30.2016.05.02.00.11.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 May 2016 00:11:36 -0700 (PDT) From: Sanchayan Maity To: arnd@arndb.de, shawnguo@kernel.org Subject: [PATCH v2 2/5] ARM: dts: vfxxx: Add device tree node for OCOTP Date: Mon, 2 May 2016 12:35:01 +0530 Message-Id: X-Mailer: git-send-email 2.8.2 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160502_001157_473039_23DEAA06 X-CRM114-Status: UNSURE ( 9.79 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stefan@agner.ch, Sanchayan Maity , robh+dt@kernel.org, lee.jones@linaro.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add device tree node for the OCOTP peripheral on Vybrid. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index 2c13ec6..0e34d44 100644 --- a/arch/arm/boot/dts/vfxxx.dtsi +++ b/arch/arm/boot/dts/vfxxx.dtsi @@ -520,6 +520,22 @@ status = "disabled"; }; + ocotp@400a5000 { + compatible = "fsl,vf610-ocotp"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x400a5000 0xCF0>; + clocks = <&clks VF610_CLK_OCOTP>; + + ocotp_cfg0: cfg0@410 { + reg = <0x410 0x4>; + }; + + ocotp_cfg1: cfg1@420 { + reg = <0x420 0x4>; + }; + }; + snvs0: snvs@400a7000 { compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd"; reg = <0x400a7000 0x2000>;