From patchwork Thu May 24 13:12:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vitaly Andrianov X-Patchwork-Id: 10424733 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 B32B96019D for ; Thu, 24 May 2018 13:14:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA7B2294E4 for ; Thu, 24 May 2018 13:14:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A73EC29509; Thu, 24 May 2018 13:14:30 +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 1A7F2294E4 for ; Thu, 24 May 2018 13:13:39 +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=za83Qz2DI7otrdt9BIhXv1Txo+nDrraexBJouxoTBLE=; b=hLaju+GfXyt4Jz h78HrutuXwnMBwrSlT9ayCLiq8yK3JPg8ONyQll4kR0OLBuMqcBFl6OXgyHT2xh7DXDroUo+Q1RXm AxUrQmaDBtQgZ3AbVIPIBrfoqyTyXTq1KJ7vmNrKjY4Je+x2YDan9wMt6S8eES19Ys6Q314hmOiRZ 8j1dw5+jhRenVwC3Z27L9QEUFSysm1xugOlgqqpkrQmKmHIX3MVcKoQFghoRrJL2eNuLHkN8QXR63 cldxb8ZepGKtYhQVMZCwblHe3AoYfb816MnSrDvU/em2F8I+iUhJdC79KM2u1vyvrRSSzuX13h7hH da4PVaRMQXJ/EoE4U8dw==; 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 1fLq3h-0007zH-HE; Thu, 24 May 2018 13:13:33 +0000 Received: from lelnx194.ext.ti.com ([198.47.27.80]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fLq3d-0007vO-U2 for linux-arm-kernel@lists.infradead.org; Thu, 24 May 2018 13:13:31 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w4ODDEBW014386; Thu, 24 May 2018 08:13:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1527167594; bh=h3oJpW3wXfwG5pVLCjIItIY1ydgYFk2AJIKBLgju4cY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=LX+xsJElWLBoMtHmLAwFlUZESpASw8WiE1rTim2cGso1YcPHAhYel8lUoYiLRZ0qs 9j7j8B7JWovAW8jez8wsxWbfIkwaKZ0PkoueDFHrjCkh5Sa4YZy8rTGlUaSfdW1l0V +lUPd+YUk3ei4O8RiNs0w9jeDeMYHdayTIIejCUw= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4ODDE1b001248; Thu, 24 May 2018 08:13:14 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE102.ent.ti.com (10.64.6.23) 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:14 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE112.ent.ti.com (10.64.6.33) 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:14 -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 w4ODDBVn027202; Thu, 24 May 2018 08:13:13 -0500 From: Vitaly Andrianov To: , , , , , Subject: [PATCH 1/3] ARM: dts: k2hk: add dts node for k2hk hw_rng driver Date: Thu, 24 May 2018 09:12:16 -0400 Message-ID: <1527167538-29837-2-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_061330_051057_89676755 X-CRM114-Status: GOOD ( 15.39 ) 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 k2hk 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-k2hk-netcp.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi b/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi index b88c068..e203145 100644 --- a/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi +++ b/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi @@ -228,3 +228,23 @@ netcp: netcp@2000000 { }; }; }; + +sa_subsys: subsys@20c0000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x20c0000 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"; + }; +};