From patchwork Sat Aug 27 18:14:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PrasannaKumar Muralidharan X-Patchwork-Id: 9302511 X-Patchwork-Delegate: herbert@gondor.apana.org.au 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 5F6F060757 for ; Sat, 27 Aug 2016 18:16:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 401C92890E for ; Sat, 27 Aug 2016 18:16:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 346BE28947; Sat, 27 Aug 2016 18:16:06 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 E34102890E for ; Sat, 27 Aug 2016 18:16:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754821AbcH0SQE (ORCPT ); Sat, 27 Aug 2016 14:16:04 -0400 Received: from mail-pa0-f66.google.com ([209.85.220.66]:35003 "EHLO mail-pa0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754628AbcH0SQD (ORCPT ); Sat, 27 Aug 2016 14:16:03 -0400 Received: by mail-pa0-f66.google.com with SMTP id cf3so6425334pad.2; Sat, 27 Aug 2016 11:16:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=r1hD3FvyIQVc4CZQGRZ4h3hyyYYXWmltOMW6n/FuZ3c=; b=ZNuzROYJGBSA2QaQc75OCHW2/1IIwiaLVZL9opb8D5Xy5hFL+/1HqnPzhsMdjOaR4w QHffYlnQMZ8KasOouFUiwX6lyfj2ka1s6hYj7iXSqXPO1apPjpTewjx78dZSBr4GOEkN I9WRw6IU/wtcoHDI3HpR6KKuph5zRAq7tWjfQ+sfCEP0p2UQXrVNP0pbZ4eLINDCKTGI q8JWEza1HzXzeHZZJc3MPt7wKOqYeLFehcv5SHATYtDPRJquaRPro1zadFKG+cs8CCe8 2ki0LluOW4DyBnRnHqb99/Z5WDa4cD5z3oaKU6C5XIw2yHoYUGPEPYY44S58ILTRUUce htaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=r1hD3FvyIQVc4CZQGRZ4h3hyyYYXWmltOMW6n/FuZ3c=; b=VuNkB4hz22VjyjZn1gzG/NA1jAb3U1LHIHSlINX/oLvo557orZ4YO4hidnx2ae/4Mm Gj748+MCSIdQyItdv3j4txQC3GnhphPEBAUJTXvbS1zVg/MAJwHpFA+5AlcuJOr+8+Gg EvpnNmY2sC2evmwheLYOqzCiYN6JknlIs1iSE/Q4Z+nFAPWWSEAkZ+180yrJKzwD5c1c BHWT7pWKmZckBZGj9GfH2MRHHPaf0icY3k5qGgvaT9rCyIJFZp//wOEM4K30xCYJ9t76 +rMG5NmIdewG2XYkqE4qlHtYrqgLmqqslpU+NmcB4gmoWI6UzeKmYH+GmnyHcBvx+4Oh 20FQ== X-Gm-Message-State: AE9vXwPjB4wU8Ci886LK1WzLYb8sXyUQVHWNmOYjJgDX04zNVr0h+yhNCDVLe553qrTKnA== X-Received: by 10.66.193.7 with SMTP id hk7mr17074224pac.78.1472321762871; Sat, 27 Aug 2016 11:16:02 -0700 (PDT) Received: from localhost.localdomain ([1.22.68.54]) by smtp.gmail.com with ESMTPSA id y6sm37747529pav.1.2016.08.27.11.15.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 27 Aug 2016 11:16:02 -0700 (PDT) From: PrasannaKumar Muralidharan To: mpm@selenic.com, herbert@gondor.apana.org.au, robh+dt@kernel.org, mark.rutland@arm.com, ralf@linux-mips.org, gregkh@linuxfoundation.org, boris.brezillon@free-electrons.com, harvey.hunt@imgtec.com, prarit@redhat.com, f.fainelli@gmail.com, joshua.henderson@microchip.com, narmstrong@baylibre.com, linus.walleij@linaro.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-mips@linux-mips.org Cc: PrasannaKumar Muralidharan Subject: [PATCH v2 3/4] hw_random: jz4780-rng: Add RNG node to jz4780.dtsi Date: Sat, 27 Aug 2016 23:44:56 +0530 Message-Id: <1472321697-3094-4-git-send-email-prasannatsmkumar@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1472321697-3094-1-git-send-email-prasannatsmkumar@gmail.com> References: <1472321697-3094-1-git-send-email-prasannatsmkumar@gmail.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds RNG node to jz4780.dtsi. Signed-off-by: PrasannaKumar Muralidharan --- arch/mips/boot/dts/ingenic/jz4780.dtsi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi index b868b42..f11d139 100644 --- a/arch/mips/boot/dts/ingenic/jz4780.dtsi +++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi @@ -36,7 +36,7 @@ cgu: jz4780-cgu@10000000 { compatible = "ingenic,jz4780-cgu"; - reg = <0x10000000 0x100>; + reg = <0x10000000 0xD8>; clocks = <&ext>, <&rtc>; clock-names = "ext", "rtc"; @@ -44,6 +44,11 @@ #clock-cells = <1>; }; + rng: jz4780-rng@100000D8 { + compatible = "ingenic,jz4780-rng"; + reg = <0x100000D8 0x8>; + }; + uart0: serial@10030000 { compatible = "ingenic,jz4780-uart"; reg = <0x10030000 0x100>;