From patchwork Thu Jul 7 06:39:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanchayan X-Patchwork-Id: 9217857 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B71DB60467 for ; Thu, 7 Jul 2016 06:48:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA0552873C for ; Thu, 7 Jul 2016 06:48:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9CBC528742; Thu, 7 Jul 2016 06:48:48 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id 5A46C2873D for ; Thu, 7 Jul 2016 06:48:48 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bL35m-000337-F8; Thu, 07 Jul 2016 06:47:22 +0000 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bL35f-000305-OQ for linux-arm-kernel@lists.infradead.org; Thu, 07 Jul 2016 06:47:16 +0000 Received: by mail-pf0-x243.google.com with SMTP id c74so993528pfb.0 for ; Wed, 06 Jul 2016 23:46:55 -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=EOsRGDrCY+krnyyzH5Kb99Akm18/15cuNPFKf2WnGp0=; b=ZCWO4YepbDFmhgNiCoFv6ilqRBIWkpR24PCrrCxA1d2WOEPfIPA72scCrf+hfjR6b9 xA0v6SZSY63EibAe+byblmjUcy/olUPJ9N15g7ZKnW+aHfJ6QPnXP282z3h9LvRRbUe7 ehQQgRYeeAGv69SWB72aQ1tr3pRFP3eVlyi2xs37cTyaTuk14PUxrGxrfRNlg1/83JZm mNcaEEra038Ms3KygzDiVx88ig1NyOc1+JWJXcZTvr645dHkPbGHNW7kcLwfyxJfJKuh vpoZi8CutqyME+O5Z0xJmNYKWwD9SPBXhqpGMNVEwfr7lfus2dadolmhyMCB2/ldVcZ/ Mn8A== 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=EOsRGDrCY+krnyyzH5Kb99Akm18/15cuNPFKf2WnGp0=; b=T8T0RUM1qWS5ZVrUlSuXQBH7LROX+etwuYcFiUQ6Q9SLPdnjLmaEQ13KHoZMFiwpCp B4YcyKZUnKN9Rd7blfZ8PCRZ8CjcHOlIktnXJ7TbPUvC1jWB0cEdklR/KpJOHvZqfSyK CTR105Gek2F4TPidVlgDycHCVIwHO9iQ9/QPmXbeHGLChH89fo1+vua0Ih1GjbQf49Se 6H8e5bWGX+GHYnejk0t4ybBmwsftJGQlSr8LAMtCJrNxo1rw2iW+JAMH3pqIUzwvNhU8 lznDnNS+ZFFbhAaB3MeTSP0B9GKkMwpW8AWy2lidWrW4LSOFergcm7haRtZajeI5nKld 29/w== X-Gm-Message-State: ALyK8tJr9tQhjlCRhNTkgl88pPfHEp3pjSbim/M4CwLuz0vjFRQxF2iktekOlxw89hlKjQ== X-Received: by 10.98.192.135 with SMTP id g7mr2524006pfk.64.1467874014668; Wed, 06 Jul 2016 23:46:54 -0700 (PDT) Received: from localhost ([115.115.243.34]) by smtp.gmail.com with ESMTPSA id x10sm1664780pfd.8.2016.07.06.23.46.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Jul 2016 23:46:53 -0700 (PDT) From: Sanchayan Maity To: arnd@arndb.de, shawnguo@kernel.org Subject: [PATCH v4 1/5] ARM: dts: vfxxx: Add device tree node for OCOTP Date: Thu, 7 Jul 2016 12:09:26 +0530 Message-Id: <06549a1c2183391a840ab02af705cbd4857b7f49.1467872014.git.maitysanchayan@gmail.com> X-Mailer: git-send-email 2.9.0 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160706_234715_948883_0DBE410A X-CRM114-Status: UNSURE ( 8.37 ) X-CRM114-Notice: Please train this message. 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, srinivas.kandagatla@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-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>;