From patchwork Thu May 24 13:12:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vitaly Andrianov X-Patchwork-Id: 10424743 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 3FD746053B for ; Thu, 24 May 2018 13:19:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 39E97294AE for ; Thu, 24 May 2018 13:19:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2D045294BC; Thu, 24 May 2018 13:19:05 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D3F8F294AE for ; Thu, 24 May 2018 13:19:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2VXyA8Bucrc/Jquz4D485H4Qg/ZavDbfdEHC07hhb9M=; b=dcGZ2t2nFrKGfs Cz0tiDUPXrqXW3Bnj8XiWND9caFvfLpSS4Qj0oWknpgsnJkp4yHf45ke98ej5SXMRMQYXOqjYEOwX hS51fNuIEDOEThc16CgL2hxMrST63wouZar9FlTYeYwi4hNQWiTBcKyAlxBs5MWP8x/MnU+x125jM 8q5FErkjpLO6A6UYeFJpM5eyzDsxGD9QMyoCcoQdmtycl4d+n7STSOE2BO1N7urSUCuvWbJ3w1irF Jtn6pS+ksD9YFtqh/xm53tnT9IOlcnAPZwO09KKU+O0+s/ZzRJQoUIq6QkwTbSyzAIWf6adzcDyyf RBBxqzXLQx5wwR1iQ5pQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fLq8x-00021H-Mo; Thu, 24 May 2018 13:18:59 +0000 Received: from lelnx193.ext.ti.com ([198.47.27.77]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fLq3f-0007xw-Q3 for linux-arm-kernel@lists.infradead.org; Thu, 24 May 2018 13:13:38 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w4ODDIb6017253; Thu, 24 May 2018 08:13:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1527167598; bh=h6F7DHvJmYRDxsvFZ/XW/z+F9Z24zKCgGPazElw0Ud0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=EqXnCcAj9YLd8pSONtrCncHyAV9P/JJjF6A0lkrZY9QtJbMVNMvxqunUdmTNvP1vF YffZEs2VIoOM4ik+LBL2PVFZOJWEygB1kxKlml7KTOZkMkuCZSIwkkMov488MPH8LS Kl5osRaA5HcHxjxftyFfoc2LZpcEWNgV3/aox46c= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4ODDICk011314; Thu, 24 May 2018 08:13:18 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 24 May 2018 08:13:17 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Thu, 24 May 2018 08:13:17 -0500 Received: from uda0794637.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4ODDBVp027202; Thu, 24 May 2018 08:13:17 -0500 From: Vitaly Andrianov To: , , , , , Subject: [PATCH 3/3] ARM: dts: k2e: add dts node for k2e hw_rng driver Date: Thu, 24 May 2018 09:12:18 -0400 Message-ID: <1527167538-29837-4-git-send-email-vitalya@ti.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1527167538-29837-1-git-send-email-vitalya@ti.com> References: <1527167538-29837-1-git-send-email-vitalya@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180524_061331_954903_EF2C35D8 X-CRM114-Status: GOOD ( 14.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: m-karicheri2@ti.com, vitalya@ti.com 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 This patch adds dts node for k2e hw_random generator driver Signed-off-by: Vitaly Andrianov Signed-off-by: Murali Karicheri --- arch/arm/boot/dts/keystone-k2e-netcp.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2e-netcp.dtsi b/arch/arm/boot/dts/keystone-k2e-netcp.dtsi index a17311c..1db17ec 100644 --- a/arch/arm/boot/dts/keystone-k2e-netcp.dtsi +++ b/arch/arm/boot/dts/keystone-k2e-netcp.dtsi @@ -225,3 +225,23 @@ netcp: netcp@24000000 { }; }; }; + +sa_subsys: subsys@24080000 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "simple-bus"; + ranges = <0 0x24080000 0x40000>; + + sa_config: subsys@0 { + compatible = "syscon"; + reg = <0x0 0x100>; + }; + + rng@24000 { + compatible = "ti,keystone-rng"; + reg = <0x24000 0x1000>; + ti,syscon-sa-cfg = <&sa_config>; + clocks = <&clksa>; + clock-names = "fck"; + }; +};