From patchwork Mon Dec 4 12:04:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lukasz Stelmach X-Patchwork-Id: 10090031 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 5EBED60327 for ; Mon, 4 Dec 2017 12:04:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3B18629159 for ; Mon, 4 Dec 2017 12:04:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2E70D2915B; Mon, 4 Dec 2017 12:04:43 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0C23E29159 for ; Mon, 4 Dec 2017 12:04:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753616AbdLDMEl (ORCPT ); Mon, 4 Dec 2017 07:04:41 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:52852 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751610AbdLDMEk (ORCPT ); Mon, 4 Dec 2017 07:04:40 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20171204120438euoutp014a72ede844ef5cac2491f4bb7e918017~9FdqByVlZ2586725867euoutp01f; Mon, 4 Dec 2017 12:04:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20171204120438euoutp014a72ede844ef5cac2491f4bb7e918017~9FdqByVlZ2586725867euoutp01f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1512389078; bh=zlSvbaiFzo9X3d0XDQ29eUpwUiaQz2fiIly1kcnGKrQ=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=WT9sNXck43U4jRP0M2R5iEyeb4rLpAPKUu/O4mYlup+FTDK2RazFEEX9WHCBlh7f0 l/vmtUUszTPU2PkuxOZdTfUgSA1Qxsn0GAY+yoNsDh27IjJt9dqP5LgODCX0f54vvb nUiCSY5JIZ/8QzSaa8w5TjpfJ4NDWFvilV+0Jtd8= Received: from eusmges5.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171204120437eucas1p1441491bd320b3b0e7992bc7800e0b2b6~9FdpBDqum0792807928eucas1p1I; Mon, 4 Dec 2017 12:04:36 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges5.samsung.com (EUCPMTA) with SMTP id 05.A8.12743.4D9352A5; Mon, 4 Dec 2017 12:04:36 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20171204120436eucas1p26b2e7da27667fef62eb84c5c4cd8b065~9FdoJq6s20284102841eucas1p2M; Mon, 4 Dec 2017 12:04:36 +0000 (GMT) X-AuditID: cbfec7f5-f79d06d0000031c7-41-5a2539d44a67 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 92.ED.18832.4D9352A5; Mon, 4 Dec 2017 12:04:36 +0000 (GMT) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset="UTF-8" Received: from localhost ([106.116.147.110]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P0F004N6QVN9120@eusync4.samsung.com>; Mon, 04 Dec 2017 12:04:36 +0000 (GMT) From: =?UTF-8?q?=C5=81ukasz=20Stelmach?= To: kgene@kernel.org, krzk@kernel.org, linux-samsung-soc@vger.kernel.org Cc: =?UTF-8?q?=C5=81ukasz=20Stelmach?= , m.szyprowski@samsung.com, b.zolnierkie@samsung.com Subject: [PATHC v2] ARM: dts: exynos: add DT nodes for PRNG in Exynos5 SoCs Date: Mon, 04 Dec 2017 13:04:29 +0100 Message-id: <20171204120429.22892-1-l.stelmach@samsung.com> X-Mailer: git-send-email 2.11.0 In-reply-to: <20171128125009.30195-1-l.stelmach@samsung.com> Organization: Samsung R&D Institute Poland X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHIsWRmVeSWpSXmKPExsWy7djP87pXLFWjDP6eUrPYOGM9q0X/49fM FufPb2C3uHloBaPFjPP7mCzWHrnL7sDmsWlVJ5tH35ZVjB6fN8kFMEdx2aSk5mSWpRbp2yVw Zdxt28lWsFSw4ve8XawNjAv5uhg5OSQETCRuHFjLDGGLSVy4t54NxBYSWMoo0fFSoYuRC8j+ zCjx9NdDJpiGDZc2skAkljFKrGxZBJbgFRCU+DH5HlCCg4NZQF7iyKVskDCzgKbE1t3r2SHq vzBKtMz9xQ6SYBNwlOhfeoIVxBYR8JD41ryKHaKhVOLsvNvMIHOEBbwlJh8AG88ioCpxuu8o M8Qqa4nHW15A3SMvsavtIitIOaeAjUTPFAGQML+AlsSaputgZ0oI7GCT6J+wmxGkRkLAReLu ek+IVmGJV8e3sEPYMhKdHQeZIOr7GSUOz/8OlZjCKLF4oQOEbS3xZ9VENogz+SQmbZvODDGT V6KjTQiixENiy6VXUKc5Skw+ugQaVEAzv277xTyBUX4WUmjNQoTWLKTQWsDIvIpRJLW0ODc9 tdhUrzgxt7g0L10vOT93EyMwVZz+d/zrDsalx6wOMQpwMCrx8CokqkQJsSaWFVfmHmKU4GBW EuH11FeNEuJNSaysSi3Kjy8qzUktPsQozcGiJ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84c5c4cd8b065 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20171204120436eucas1p26b2e7da27667fef62eb84c5c4cd8b065 X-RootMTR: 20171204120436eucas1p26b2e7da27667fef62eb84c5c4cd8b065 References: <20171128125009.30195-1-l.stelmach@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add nodes for PRNG in dts files decribing Exynos5 chips. Signed-off-by: Ɓukasz Stelmach --- Changes since v1: - Use "rng" as the node-name for all RNG regardles of their type. - Introduce "samsung,exynos5250-prng" compatible (binding documentation will follow). arch/arm/boot/dts/exynos5.dtsi | 5 +++++ arch/arm/boot/dts/exynos5250.dtsi | 5 +++++ arch/arm/boot/dts/exynos5410.dtsi | 5 +++++ arch/arm/boot/dts/exynos5420.dtsi | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/exynos5.dtsi b/arch/arm/boot/dts/exynos5.dtsi index 7da4a4285b24..33f929c1dda9 100644 --- a/arch/arm/boot/dts/exynos5.dtsi +++ b/arch/arm/boot/dts/exynos5.dtsi @@ -210,5 +210,10 @@ reg = <0x10830000 0x300>; interrupts = ; }; + + prng: rng@10830400 { + compatible = "samsung,exynos5250-prng"; + reg = <0x10830400 0x200>; + }; }; }; diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 8032d7e567fc..51aa83ba8c87 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -1036,6 +1036,11 @@ pinctrl-0 = <&i2c3_bus>; }; +&prng { + clocks = <&clock CLK_SSS>; + clock-names = "secss"; +}; + &pwm { clocks = <&clock CLK_PWM>; clock-names = "timers"; diff --git a/arch/arm/boot/dts/exynos5410.dtsi b/arch/arm/boot/dts/exynos5410.dtsi index 7eab4bc07cec..1604cb1b837d 100644 --- a/arch/arm/boot/dts/exynos5410.dtsi +++ b/arch/arm/boot/dts/exynos5410.dtsi @@ -325,6 +325,11 @@ clock-names = "fin_pll", "mct"; }; +&prng { + clocks = <&clock CLK_SSS>; + clock-names = "secss"; +}; + &pwm { clocks = <&clock CLK_PWM>; clock-names = "timers"; diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 02d2f898efa6..31c77ea9123d 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1409,6 +1409,11 @@ clock-names = "fin_pll", "mct"; }; +&prng { + clocks = <&clock CLK_SSS>; + clock-names = "secss"; +}; + &pwm { clocks = <&clock CLK_PWM>; clock-names = "timers";