From patchwork Fri Mar 11 08:59:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanchayan X-Patchwork-Id: 8563591 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 83B1DC0553 for ; Fri, 11 Mar 2016 09:07:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 625BA2017D for ; Fri, 11 Mar 2016 09:07:43 +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 906F920172 for ; Fri, 11 Mar 2016 09:07:42 +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 1aeJ1W-0007dB-SA; Fri, 11 Mar 2016 09:06:18 +0000 Received: from mail-pa0-x236.google.com ([2607:f8b0:400e:c03::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aeJ17-0007OE-Gk for linux-arm-kernel@lists.infradead.org; Fri, 11 Mar 2016 09:05:54 +0000 Received: by mail-pa0-x236.google.com with SMTP id fe3so75032714pab.1 for ; Fri, 11 Mar 2016 01:05:33 -0800 (PST) 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=tnJqTzwMJiKOeLI9SuQeuBU+/oYVxXaAvjiXB4opEaY=; b=y28GFllmRYZU/nIWP7S33V6DlH/Mc6QW1axUBZ+eFYdtVq49H/YlsPdP93u2vWa/qH t9nfbFKPMvfE71q3JL9j+lYUpvOCDBv1uXbh7thnkeQhgskG5kPOUgIk58RfNvt2Zt2e yl9zE/GorXxAS3zdeL/bT+FU8ZMbbz2Zj7a+cY5aLgpo/85u6R0nZYSxneFo5WcSnJms dnDXIWW6zPjDwCb3mcBxIee9aILzMQVIQLUXMb0QvUglNVj9WnFJpqLCsDALSpti5SPv Knq7i1rSeFZ+XPJY0XX3p26PRUN0d+fiAh1EaoFS9ytudiX+7jmW0mSGaOSuUx+KEtb9 SM1w== 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=tnJqTzwMJiKOeLI9SuQeuBU+/oYVxXaAvjiXB4opEaY=; b=hJGZozfW7vFcbbxIINDjn9eMc0u3c/f9uACfzbjVp7LUtIKPQ8Bh19Jqx2pLhe/izt AlvQcclsvf1HaE0+BWIH2H8l2vkr+Ewu0tBTkMIMkz4KWajqJx1AnvA12rqNsB0qxWaA 8rNMjsGEpjZTFUIFLzhk2Y3W3ETNAN/gjNxwfxFx7RrnNtJI7A+uYUK0nCOCUHfzgq9T xrpzTaOh4G0OcBV8tyF0fYJivIR5ObEt4GqLHZZ9nyj980ZIfelcqQ+10VdV+r/pwHgy DPfaThTJ2OLfH3kCZUlJkOjfoBBcdKO6+OeexQjBjpXsr2hI5uBfzhxpETgw/Ud9YoDt gWCQ== X-Gm-Message-State: AD7BkJIUU35diT7xNGTVD3XOPEMkgQcCslNMe8y/aVx1iIM/s812l3bH+NITgCwY5QMVSA== X-Received: by 10.66.199.66 with SMTP id ji2mr11540192pac.34.1457687132760; Fri, 11 Mar 2016 01:05:32 -0800 (PST) Received: from localhost ([115.115.225.206]) by smtp.gmail.com with ESMTPSA id k65sm11161692pfb.30.2016.03.11.01.05.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Mar 2016 01:05:31 -0800 (PST) From: Sanchayan Maity To: arnd@arndb.de, shawnguo@kernel.org Subject: [PATCH v1 3/4] ARM: dts: vfxxx: Add OCROM and phandle entries for Vybrid SoC bus driver Date: Fri, 11 Mar 2016 14:29:30 +0530 Message-Id: <39ab1c08dacb7fc4e36a3f3517da16d4da47710b.1457684688.git.maitysanchayan@gmail.com> X-Mailer: git-send-email 2.7.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-20160311_010553_714292_8359C081 X-CRM114-Status: GOOD ( 10.13 ) 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=-4.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=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 OCROM node and introduce phandles to OCROM, MSCM and NVMEM OCOTP for use by the Vybrid SoC bus driver. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index db9157e..0dd7ad5 100644 --- a/arch/arm/boot/dts/vfxxx.dtsi +++ b/arch/arm/boot/dts/vfxxx.dtsi @@ -87,9 +87,19 @@ soc { #address-cells = <1>; #size-cells = <1>; - compatible = "simple-bus"; + compatible = "fsl,vf610-soc-bus", "simple-bus"; interrupt-parent = <&mscm_ir>; ranges; + fsl,rom-revision = <&ocrom 0x80>; + fsl,cpu-count = <&mscm_cpucfg 0x2C>; + fsl,l2-size = <&mscm_cpucfg 0x14>; + nvmem-cells = <&ocotp_cfg0>, <&ocotp_cfg1>; + nvmem-cell-names = "cfg0", "cfg1"; + + ocrom: ocrom@00000000 { + compatible = "fsl,vf610-ocrom", "syscon"; + reg = <0x00000000 0x18000>; + }; aips0: aips-bus@40000000 { compatible = "fsl,aips-bus", "simple-bus";