From patchwork Tue Nov 28 12:50:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lukasz Stelmach X-Patchwork-Id: 10080217 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 D7E0460353 for ; Tue, 28 Nov 2017 12:50:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 116A62906B for ; Tue, 28 Nov 2017 12:50:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0647B2911F; Tue, 28 Nov 2017 12:50:21 +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 D6A042906B for ; Tue, 28 Nov 2017 12:50:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751402AbdK1MuT (ORCPT ); Tue, 28 Nov 2017 07:50:19 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:57880 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751377AbdK1MuR (ORCPT ); Tue, 28 Nov 2017 07:50:17 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20171128125015euoutp014e895461b1567ab4653d3efb7be9eaa8~7QNxwzBGU1172211722euoutp01E; Tue, 28 Nov 2017 12:50:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20171128125015euoutp014e895461b1567ab4653d3efb7be9eaa8~7QNxwzBGU1172211722euoutp01E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1511873415; bh=H+y8jFJxRBcdX0c/VOC9eu88ng8kCYaAkfOiMuP7PxI=; h=From:To:Cc:Subject:Date:References:From; b=RXXVg/SquLkA9YzAWzX5XMYxvwL7XOvlPgS5HSVnqf9Nq/gWZVCZz3io8KHnN4UnX j2HP7rCbQeIKo1iTwXW5MonapUJejjguVYUm551g79VG91SMGxmJkfVm+l6VfxxQHa bQEa+5J88YDlWgJhFC6bJzttULcvysxTTLSm7M1I= Received: from eusmges5.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20171128125014eucas1p2916d6aa54451a5f87fc7bd9d41625d16~7QNwlQYr91118911189eucas1p2D; Tue, 28 Nov 2017 12:50:14 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges5.samsung.com (EUCPMTA) with SMTP id 7A.0E.12743.58B5D1A5; Tue, 28 Nov 2017 12:50:13 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171128125013eucas1p1767769224b6bc9455fe2b3158c1d7fad~7QNvu1bw32185321853eucas1p1D; Tue, 28 Nov 2017 12:50:13 +0000 (GMT) X-AuditID: cbfec7f5-f79d06d0000031c7-09-5a1d5b85f389 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id D1.CB.18832.58B5D1A5; Tue, 28 Nov 2017 12:50:13 +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 eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P0400LCQOZOCHA0@eusync1.samsung.com>; Tue, 28 Nov 2017 12:50:13 +0000 (GMT) From: =?UTF-8?q?=C5=81ukasz=20Stelmach?= To: linux-samsung-soc@vger.kernel.org, krzk@kernel.org Cc: =?UTF-8?q?=C5=81ukasz=20Stelmach?= , m.szyprowski@samsung.com, b.zolnierkie@samsung.com Subject: [PATCH] ARM: dts: exynos: add DT nodes for PRNG in Exynos5 SoCs Date: Tue, 28 Nov 2017 13:50:09 +0100 Message-id: <20171128125009.30195-1-l.stelmach@samsung.com> X-Mailer: git-send-email 2.11.0 Organization: Samsung R&D Institute Poland X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPIsWRmVeSWpSXmKPExsWy7djP87qt0bJRBp+PGFpsnLGe1eL8+Q3s FjcPrWC0mHF+H5PF2iN32R1YPTat6mTz6NuyitHj8ya5AOYoLpuU1JzMstQifbsErozTRzuY C9pFKg4svsrewHhCoIuRk0NCwETi7c/VTBC2mMSFe+vZuhi5OIQEljJKLG16yQ7hfGaUOHJh HyNMx8V3P1ghEssYJda+vcUCkuAVEJT4MfkekM3BwSwgL3HkUjZImFlAU2Lr7vVQg74wStx4 3sgOkmATcJToX3qCFcQWETCTWLtlEhtEQ6nE2Xm3mUFsYQEPiTsrm8HOYxFQldj/+gYzxC5r ibMfOqHOlpfY1XYRbA6/gJbEmqbrLCDLJATmsEl8+f6JDaLIRaL9yjJmCFtY4tXxLewQtoxE Z8dBJoiGfkaJw/O/QyWmMEosXugAYVtL/Fk1Eeo6PolJ26Yzg3wpIcAr0dEmBFHiIXFm9ztW iLCjxJ3jYLcJCcRKzD+5g2kCo9wspCCahQiiWUhBtICReRWjSGppcW56arGpXnFibnFpXrpe cn7uJkZgMjj97/jXHYxLj1kdYhTgYFTi4Z3gIhMlxJpYVlyZe4hRgoNZSYRX3EI2Sog3JbGy KrUoP76oNCe1+BCjNAeLkjivbVRbpJBAemJJanZqakFqEUyWiYNTqoHRrc438idTZGlCaGHh ryC+aVd0z6t/38puqnHxzDl1+9U3+XvuW9fPzVTQ5D1dk8D06IKj/iym2keSV2L04wL6lZ52 brt8OUtVqEi835LHOly61GBJioevfnt+2k7pec+zU14vzM+qFJ8zv3Lx1YSQ1EeuoWevXUgJ 0vS08nOaVGr7Vi9OWYmlOCPRUIu5qDgRALzMc+ICAwAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrJLMWRmVeSWpSXmKPExsVy+t/xy7qt0bJRBmee8VlsnLGe1eL8+Q3s FjcPrWC0mHF+H5PF2iN32R1YPTat6mTz6NuyitHj8ya5AOYoLpuU1JzMstQifbsErozTRzuY C9pFKg4svsrewHhCoIuRk0NCwETi4rsfrBC2mMSFe+vZuhi5OIQEljBKzPm/hhEkwSsgKPFj 8j2WLkYODmYBeYkjl7JBwswC6hKT5i1ihqj/xihxb/EJJpAEm4CjRP/SE2BDRQTMJNZumcQG 0VAq0T/zBZgtLOAhcWdlM1g9i4CqxP7XN5ghdllLnP3QyQRxkLzErraLYHP4BbQk1jRdZ5nA yD8LyUmzEE6aheSkBYzMqxhFUkuLc9Nziw31ihNzi0vz0vWS83M3MQIDdNuxn5t3MF7aGHyI UYCDUYmHd4KLTJQQa2JZcWXuIUYJDmYlEV5xC9koId6UxMqq1KL8+KLSnNTiQ4zSHCxK4ry9 e1ZHCgmkJ5akZqemFqQWwWSZODilGhg19hatU4yJnvZh7rOP0Y/eZV+csn2G7kP+kpqVya3f fkwSWZTOHnlbTmjnliDmO1Znr51f9/qjnOWJ7cLZf0LZtv+Lmh9/0XCxR8msi3vWn7h7KIdb fvNp/alM+qJib/+tDme6nF9z9eKVsNVnFnGuj3/3o/ufAt931vbDiqoLH3kocb077uBYpMRS nJFoqMVcVJwIAHJRWTdMAgAA X-CMS-MailID: 20171128125013eucas1p1767769224b6bc9455fe2b3158c1d7fad X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20171128125013eucas1p1767769224b6bc9455fe2b3158c1d7fad X-RootMTR: 20171128125013eucas1p1767769224b6bc9455fe2b3158c1d7fad References: 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. Rename the device node in exynos4.dtsi to match names in exynos5.dtsi. Signed-off-by: Ɓukasz Stelmach --- arch/arm/boot/dts/exynos4.dtsi | 2 +- 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 +++++ 5 files changed, 21 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index 5739389f5bb8..bfa4c9062449 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b/arch/arm/boot/dts/exynos4.dtsi @@ -1005,7 +1005,7 @@ clock-names = "secss"; }; - prng: rng@10830400 { + prng: prng@10830400 { compatible = "samsung,exynos4-rng"; reg = <0x10830400 0x200>; clocks = <&clock CLK_SSS>; diff --git a/arch/arm/boot/dts/exynos5.dtsi b/arch/arm/boot/dts/exynos5.dtsi index 7da4a4285b24..8429d9f4dc52 100644 --- a/arch/arm/boot/dts/exynos5.dtsi +++ b/arch/arm/boot/dts/exynos5.dtsi @@ -210,5 +210,10 @@ reg = <0x10830000 0x300>; interrupts = ; }; + + prng: prng@10830400 { + compatible = "samsung,exynos4-rng"; + 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";