From patchwork Fri May 20 10:02:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanchayan X-Patchwork-Id: 9129155 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 9F0AE60467 for ; Fri, 20 May 2016 10:11:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8FCB71FFC9 for ; Fri, 20 May 2016 10:11:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8353827A84; Fri, 20 May 2016 10:11: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=-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 1D59E1FFC9 for ; Fri, 20 May 2016 10:11:06 +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 1b3hN5-0006p7-TN; Fri, 20 May 2016 10:09:31 +0000 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b3hMq-0006hZ-Vx for linux-arm-kernel@lists.infradead.org; Fri, 20 May 2016 10:09:17 +0000 Received: by mail-pf0-x242.google.com with SMTP id b66so10837283pfb.2 for ; Fri, 20 May 2016 03:08:56 -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=KiEptlt18IExYDnnBbb+/S4h196VMUZWITop6q/IBbOoYo6ODObIP5seT80vAii686 WtYd0yzQ9iz3o7tBIZgokiBXz9boSDPQexf1zo9cd5Pt4sAFRrNsYhaeK1dRDG9nxa+z KKou56/907FZJqu7J1GGZEb1oAn7e2bGXR6dL1u0YyU7eZdA6JqCQxDX70i0TT1uUcX4 R1LZ50jBwIHubPEzz27kSoSFlXkbmc01chKXSHbZQfam5SH/7rDOFUPP3+nPE4Sk3fZz tNDdWM33ZgxpyhW8tjIs6ZeApyDa1LN39YlfKWf3I9PjkKdWjI1MFMNWa5F6JrC+Es4E E0lw== 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=XQxyiPqKAR8PqSWFBux0u0JHt71MQZgXzLGXRVxyMaOo0hE4l4/Qzi1K5+VJSGuBs8 kSA2xUQB116TrDPl5B/5XK6rdaq0WeCVHnJVl2NN8zqFSM3x2PuufOeyv7DB6SYM+ur1 B62BVZ/EuVrPuN/HR/AHD2w3jVtGCejlL6bhywOODQcoHhPkY4TyWyYJbinWxErP0y1O 5lhFyBq/aKeyi0qB7ufuv2lk7KTi2AabixKar+3aE5uEm+ugxbcdPehSE4vNFX3gbBIJ 1Gw7U/mHMXlRq51SM2MxuJrKVgkPHPLNQ8/iTWR0vcbl2M2asvb5GPvwjTrFeg/21jP7 0oTg== X-Gm-Message-State: AOPr4FU6/5dGLGI01/nSiyjf8G7NUE+7aPxN0fcJ6lzPXzrgertq+ofX8PqveKOt57CGTw== X-Received: by 10.98.28.84 with SMTP id c81mr3414726pfc.131.1463738936173; Fri, 20 May 2016 03:08:56 -0700 (PDT) Received: from localhost ([115.115.243.34]) by smtp.gmail.com with ESMTPSA id yp9sm26038006pab.42.2016.05.20.03.08.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 May 2016 03:08:55 -0700 (PDT) From: Sanchayan Maity To: arnd@arndb.de, shawnguo@kernel.org Subject: [PATCH v3 1/4] ARM: dts: vfxxx: Add device tree node for OCOTP Date: Fri, 20 May 2016 15:32:02 +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-20160520_030917_170296_CFDACAED X-CRM114-Status: UNSURE ( 9.11 ) 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, 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>;