From patchwork Fri Jun 5 09:22:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanchayan X-Patchwork-Id: 6552291 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 36231C0020 for ; Fri, 5 Jun 2015 09:30:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 46196207B4 for ; Fri, 5 Jun 2015 09:30:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6B3C12070C for ; Fri, 5 Jun 2015 09:30:28 +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 1Z0nsx-0000qg-Ku; Fri, 05 Jun 2015 09:25:55 +0000 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z0nsp-0000kq-JL for linux-arm-kernel@lists.infradead.org; Fri, 05 Jun 2015 09:25:51 +0000 Received: by pabqy3 with SMTP id qy3so47032363pab.3 for ; Fri, 05 Jun 2015 02:25:26 -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=Q48dDgbr7a8O4fmCCwsaBhKZahKmQlPGhHoj1XGOzIs=; b=Ez8IwbN/BhnoSZwuXISzVgtqnNHaalV0yU5T53t7sZ/L5tU+z4sVSSsB8oyc0IFyfn CKklHz3/XLozf76Cum1QuJ07pFsWp/P043rkWlKHPOjJ7xrSDm+S9BZq2j+oVTYu/RzB sxAnhTZzvRK9cYrP4PY4ImX5AhCjI4WsnPQZvRmUjdOeYLInRvI8Z3VTP+gjqo/xH2PL cIj0VvTx4d6Kqe46NPLGYh/U3nX0R3xGO/t1VUMklQeFtMl3Uz7tximm+mE/+I6JN89H I/plAzWCdPWc3FgRjeMpzcDio0uYfHO5C0qEZKv55KvDStHGdZn+kH9Ug3dHPjiU3LCD JgkQ== X-Received: by 10.66.222.41 with SMTP id qj9mr4461195pac.139.1433496326264; Fri, 05 Jun 2015 02:25:26 -0700 (PDT) Received: from localhost ([115.115.225.206]) by mx.google.com with ESMTPSA id dc5sm6099685pbc.53.2015.06.05.02.25.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jun 2015 02:25:24 -0700 (PDT) From: Sanchayan Maity To: arnd@arndb.de, shawn.guo@linaro.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 1/2] ARM: dts: vfxxx: Add OCOTP and OCROM nodes Date: Fri, 5 Jun 2015 14:52:37 +0530 Message-Id: X-Mailer: git-send-email 2.4.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-20150605_022547_701613_C545F7BE X-CRM114-Status: UNSURE ( 8.40 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: devicetree@vger.kernel.org, Sanchayan Maity , stefan@agner.ch, kernel@pengutronix.de, linux-kernel@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 a device tree node for the On-Chip One Time Programmable Controller (OCOTP) and the On-Chip ROM. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index 2f4b04d..ed9b6b8 100644 --- a/arch/arm/boot/dts/vfxxx.dtsi +++ b/arch/arm/boot/dts/vfxxx.dtsi @@ -56,6 +56,13 @@ compatible = "simple-bus"; interrupt-parent = <&mscm_ir>; ranges; + ocotp-cfg = <&ocotp 0x410 0x420>; + rom-revision = <&ocrom 0x80>; + + ocrom: ocrom { + compatible = "fsl,vf610-ocrom", "syscon"; + reg = <0x00000000 0x18000>; + }; aips0: aips-bus@40000000 { compatible = "fsl,aips-bus", "simple-bus"; @@ -403,6 +410,11 @@ status = "disabled"; }; + ocotp: ocotp@400a5000 { + compatible = "fsl,vf610-ocotp", "syscon"; + reg = <0x400a5000 0x1000>; + }; + snvs0: snvs@400a7000 { compatible = "fsl,sec-v4.0-mon", "simple-bus"; #address-cells = <1>;