From patchwork Thu May 24 13:12:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vitaly Andrianov X-Patchwork-Id: 10424741 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 1A69F6019D for ; Thu, 24 May 2018 13:14:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 07BC32948D for ; Thu, 24 May 2018 13:14:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0586B29500; Thu, 24 May 2018 13:14:58 +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 750FB2948D for ; Thu, 24 May 2018 13:14:50 +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=1CPVb9duZWKe3f2f3HjzHr5xFTf3yvceZIf4XochYec=; b=CB223xn6fcuCdn njhGUae1uzrDYU55Hq0BcPDf7KWNxGW4Wi06zl/03vZatJdHFkG/k1yRRvC9dlYKSIgWtMcC0igrV 26HM8nhzN9KhPaGX3MwrzE8LFOk5kXriDo2YWZx1WzarwsjrII8QDA1cnxsHTcA5DqqRYXnvxB4om P/yrB/tBI5oYg1mBYBrPhIcU44U4CAbQHr2eJ0UlYS6a48GYO4qiGbxknQRoCz7Zcp2t/NIH0MKh0 N8T6ciU4WC7oFk3HcitEqh4r2dPAqeTsk6IC62BETX6BYW6IO6QDmNMHtu84pc9YeQ9dSCyBy603m cf7rFBfXl0BLpXFbmmlw==; 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 1fLq4k-0008Ve-Ua; Thu, 24 May 2018 13:14:38 +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-0007wH-Q4 for linux-arm-kernel@lists.infradead.org; Thu, 24 May 2018 13:13:37 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w4ODDH55017241; Thu, 24 May 2018 08:13:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1527167597; bh=DS+GNuZ1uF2BKCo2lj28LwdrzUKxM1RiysxKSWgLXvU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=htlBqI/lvryqmXXgwZh3kjXGMGIqkr1Hos8U9DxxSPLEytUzlsFhqkW3bXMy7cnNz abSl+Dh0XHtQSt3C+Z0Y54bY5RIJK02MrEcenCsyLbaHkwQXv1d4Gq0PgcEodQUNCt cF5JT3MQPRzCq7yow6SVbJ96RLaNJgO+BB/0C5Bk= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4ODDH8h001355; Thu, 24 May 2018 08:13:17 -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:15 -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:15 -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 w4ODDBVo027202; Thu, 24 May 2018 08:13:15 -0500 From: Vitaly Andrianov To: , , , , , Subject: [PATCH 2/3] ARM: dts: k2l: add dts node for k2l hw_rng driver Date: Thu, 24 May 2018 09:12:17 -0400 Message-ID: <1527167538-29837-3-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_942469_F23C8775 X-CRM114-Status: GOOD ( 13.61 ) 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: Tero Kristo , 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 k2l hw_random generator driver Signed-off-by: Vitaly Andrianov [t-kristo@ti.com: added missing addresses from node identifiers] Signed-off-by: Tero Kristo Signed-off-by: Murali Karicheri --- arch/arm/boot/dts/keystone-k2l-netcp.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2l-netcp.dtsi b/arch/arm/boot/dts/keystone-k2l-netcp.dtsi index 9ec8422..a2e47ba 100644 --- a/arch/arm/boot/dts/keystone-k2l-netcp.dtsi +++ b/arch/arm/boot/dts/keystone-k2l-netcp.dtsi @@ -208,3 +208,23 @@ netcp: netcp@26000000 { }; }; }; + +sa_subsys: subsys@26080000 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "simple-bus"; + ranges = <0 0x26080000 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"; + }; +};