Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1347389ybc; Tue, 19 Nov 2019 19:21:11 -0800 (PST) X-Google-Smtp-Source: APXvYqwoM9fTLq7zqAdTyyTxd4W9D4yDelmx3XkK5sv9aJl7P5hxDwCWWeaWQpIUwmcHoE4VSM79 X-Received: by 2002:a17:906:e297:: with SMTP id gg23mr1939725ejb.41.1574220071749; Tue, 19 Nov 2019 19:21:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1574220071; cv=pass; d=google.com; s=arc-20160816; b=CaW5Tmn/8wabKkZTU1bGXmWHJNFJUaFddAkizJbtxlaElx6obFLdvYKjR1WU0drjoD usHO9dZbocLCqhtLY+jO+sVQe2XNTouMkCKgZp628+EPa3jZu/yLl4Y1a/JidDZMpQtw m8JGngoSA2eJk3ovJs4EYGyUrAj90BAp378Xxjg8EJFvA5u7FH5O7BsX0SvOkP5DpSzX 4lAwCAknDwVGtL5OOeq2zYx8IvFiR6SrVAIdfBoGirV+goeQMNyiDBt75a8GC0F2U6Mo 4p1ojYPp3lFOPiLjccqg51jpgTK2BNCIatxOzlxtTmdiHa5HmvAZHTqGXbOROzk5l4tX WM/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:subject:message-id:cc:to:from :dkim-signature; bh=hUM9b+dswT9UPWGlwBwCNyrp4zRDfMTZRh5LuHt9eB0=; b=gCTUvOEjh4x30X5IVXWkeWrn/IcM4OVV/Ww8jkL4iQkHSg90MHHrUvcnoSLa1ZJIaP ukQXxn9XCfeNEobN2tID10mOzMZKHXS5gB736xAdPJTOTMcdpayPn1MQOzf85Z0+fboX 4QpeQLMhsksnD0CdfdLGAOjenZOWslPRqH4i2g5UStgCMDfm2fub8HPKi1Fi5nbNtsEl zKil5llalJEz+SYsSa9dH0yA/LUCmAxqNT+yf/WYxX4f0a43bbvTrTGG2DxirDa26WPn 0eQD/PJlqi0GA1u776BlIQFhRrGNSQ4MbGbEaFtoRu0prqKBH4mSz9jWM0ah8gF5wBvB XLXw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@brennan.io header.s=selector01 header.b=NUsCEu3m; arc=pass (i=1 spf=pass spfdomain=brennan.io dkim=pass dkdomain=brennan.io dmarc=pass fromdomain=brennan.io>); spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v26si18281580edd.364.2019.11.19.19.20.47; Tue, 19 Nov 2019 19:21:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@brennan.io header.s=selector01 header.b=NUsCEu3m; arc=pass (i=1 spf=pass spfdomain=brennan.io dkim=pass dkdomain=brennan.io dmarc=pass fromdomain=brennan.io>); spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727298AbfKTDUK (ORCPT + 99 others); Tue, 19 Nov 2019 22:20:10 -0500 Received: from sender4-of-o54.zoho.com ([136.143.188.54]:21440 "EHLO sender4-of-o54.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727262AbfKTDUK (ORCPT ); Tue, 19 Nov 2019 22:20:10 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1574219795; cv=none; d=zohomail.com; s=zohoarc; b=BpjWrV94yGBTXFWbbdxFHjxmAm8D9PMwse96A0QAyOXhcxoCS3EFHC4RLDkzT5fjVgWGzQS+89EO/XqkqV3Zf7w4OLJUJXoCJr4EzdSsrAyvwobPdFkN/w0G9lDz9Gh4PyIQ2RS544KQt15d9Z9ZajPfhOmgrTfEt2mXxi527fg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574219795; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=hUM9b+dswT9UPWGlwBwCNyrp4zRDfMTZRh5LuHt9eB0=; b=RJpQYP6XmffOYPpCLiiielT1JXzEKudU4xMENecGYWvMEqZx64IlLXKZgvqPb4er8fpHQ2AZ64n0Pkd+mU2ObizN3THucxM0vqNekNOoa17BmmS6Ak4rO8XcAQPYG0AMQCex77fYTFjqeg92KOyrSAuT3DvQbnC0/FLm07QWYFs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=brennan.io; spf=pass smtp.mailfrom=stephen@brennan.io; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1574219795; s=selector01; d=brennan.io; i=stephen@brennan.io; h=From:To:Cc:Message-ID:Subject:Date:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type; l=1694; bh=hUM9b+dswT9UPWGlwBwCNyrp4zRDfMTZRh5LuHt9eB0=; b=NUsCEu3m2VD2aRVon4jt5dm6oAxDZHk9Yjr2uODkCgJ38hUoqLq7v9i1MR6rYBLe zGMHybZ9vSep+yuuiAi4yHQsgocHApFByNyDEEJHOBlcpIW/8A1w5xrzYJAuY6CA1o5 S+fAHdgKU/WF2QpeN5CyjogDciPe8iMPJ5kIRwwo= Received: from localhost (c-98-207-184-40.hsd1.ca.comcast.net [98.207.184.40]) by mx.zohomail.com with SMTPS id 1574219794570904.3468110611888; Tue, 19 Nov 2019 19:16:34 -0800 (PST) From: Stephen Brennan To: stephen@brennan.io Cc: Matt Mackall , Herbert Xu , Rob Herring , Mark Rutland , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Eric Anholt , Stefan Wahren , Arnd Bergmann , Greg Kroah-Hartman , Florian Fainelli , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org Message-ID: <20191120031622.88949-4-stephen@brennan.io> Subject: [PATCH v3 3/4] ARM: dts: bcm2835: Move rng definition to common location Date: Tue, 19 Nov 2019 19:16:21 -0800 X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191120031622.88949-1-stephen@brennan.io> References: <20191120031622.88949-1-stephen@brennan.io> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Content-Type: text/plain; charset=utf8 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org BCM2711 inherits from BCM283X, but has an incompatible HWRNG. Move this node to bcm2835-common.dtsi, so that BCM2711 can define its own. Signed-off-by: Stephen Brennan --- Changes in v3: - moved the bcm2835 rng into bcm2835-common.dtsi rather than a new file - split out enabling rng on bcm2711 into its own patch arch/arm/boot/dts/bcm2835-common.dtsi | 6 ++++++ arch/arm/boot/dts/bcm283x.dtsi | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/bcm2835-common.dtsi b/arch/arm/boot/dts/bcm2= 835-common.dtsi index fe1ab40c7f22..2b1d9d4c0cde 100644 --- a/arch/arm/boot/dts/bcm2835-common.dtsi +++ b/arch/arm/boot/dts/bcm2835-common.dtsi @@ -70,6 +70,12 @@ pm: watchdog@7e100000 { =09=09=09system-power-controller; =09=09}; =20 +=09=09rng@7e104000 { +=09=09=09compatible =3D "brcm,bcm2835-rng"; +=09=09=09reg =3D <0x7e104000 0x10>; +=09=09=09interrupts =3D <2 29>; +=09=09}; + =09=09pixelvalve@7e206000 { =09=09=09compatible =3D "brcm,bcm2835-pixelvalve0"; =09=09=09reg =3D <0x7e206000 0x100>; diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dts= i index 3caaa57eb6c8..5219339fc27c 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -84,12 +84,6 @@ clocks: cprman@7e101000 { =09=09=09=09<&dsi1 0>, <&dsi1 1>, <&dsi1 2>; =09=09}; =20 -=09=09rng@7e104000 { -=09=09=09compatible =3D "brcm,bcm2835-rng"; -=09=09=09reg =3D <0x7e104000 0x10>; -=09=09=09interrupts =3D <2 29>; -=09=09}; - =09=09mailbox: mailbox@7e00b880 { =09=09=09compatible =3D "brcm,bcm2835-mbox"; =09=09=09reg =3D <0x7e00b880 0x40>; --=20 2.24.0