From patchwork Tue May 26 11:36:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanchayan X-Patchwork-Id: 6479311 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 62E00C0020 for ; Tue, 26 May 2015 11:42:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 88D4920601 for ; Tue, 26 May 2015 11:42:47 +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 B682C20445 for ; Tue, 26 May 2015 11:42:46 +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 1YxDDT-0008Ji-TC; Tue, 26 May 2015 11:40:15 +0000 Received: from mail-pd0-x232.google.com ([2607:f8b0:400e:c02::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YxDD2-0006tB-7A for linux-arm-kernel@lists.infradead.org; Tue, 26 May 2015 11:39:48 +0000 Received: by pdbki1 with SMTP id ki1so47397930pdb.1 for ; Tue, 26 May 2015 04:39: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=LDmctOUJYzx09SvizKaIuMP2OxXHoNuDHMf5b1i4Aeo=; b=YU7EX/ARpdnvcv0wtjB0RWbUo8W3lx1KSbeb6jO53kG5gPl2T4ltnIwRqGV4pb1cd1 UTt4LsylxRJ7xHGe/iIbH6zADG/QfhXrA9nk5kSkCNa6Q1T3KHaeDzPhPmoZ0juM8N7K i69WltZ/GoryPTwQvdzgHpx6iweCshHauyCZ4/4Df51bzdCs91Cs1fatWvuHLD0k7rbx l02jx5wUlj1xQxxjYu1KqQkSSEvLHpdHAwIGmITI9IpkPG/JbyBfcxJ+Nhmebs/M64MQ 8rzN/tS2iyC8zHh8XF37srx/41/01FNa6T12nRq/kwH5BPdvIAN0pAGTcpP8oh80cBQr Hf5w== X-Received: by 10.70.96.194 with SMTP id du2mr48657242pdb.108.1432640366793; Tue, 26 May 2015 04:39:26 -0700 (PDT) Received: from localhost ([115.115.225.206]) by mx.google.com with ESMTPSA id dc5sm12814784pbc.53.2015.05.26.04.39.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 May 2015 04:39:25 -0700 (PDT) From: Sanchayan Maity To: arnd@arndb.de, shawn.guo@linaro.org, kernel@pengutronix.de Subject: [PATCH v4 1/2] ARM: dts: vfxxx: Add OCOTP and OCROM nodes Date: Tue, 26 May 2015 17:06:46 +0530 Message-Id: <242cf9cea5244a6d783928e1f4783dead2aa32d5.1432637313.git.maitysanchayan@gmail.com> X-Mailer: git-send-email 2.4.1 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150526_043948_312072_693109C0 X-CRM114-Status: UNSURE ( 8.68 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: devicetree@vger.kernel.org, Sanchayan Maity , linux-arm-kernel@lists.infradead.org, stefan@agner.ch, 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>;