Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1685136ybz; Thu, 16 Apr 2020 13:39:49 -0700 (PDT) X-Google-Smtp-Source: APiQypImGhqKXhTmPJpJLZtiK2pux2T9F+BRqdjXvmN+pQEsC4usX70VDOkPkRKW959Y0mvvvv0e X-Received: by 2002:a17:906:614a:: with SMTP id p10mr11748619ejl.88.1587069589505; Thu, 16 Apr 2020 13:39:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587069589; cv=none; d=google.com; s=arc-20160816; b=TTC09KlNoOSF5RdvnTH+u86fHymObGwDkwZ6ZIssevhViBcU6GXzHzu8FTB9vOOzg5 553Hkz/0LgYHAtGR8KN4YsWwOSobIizjCJdyUL4Jp62UiQ7Tf7JAFBMf7GOfQ/SuPkbw dgk4XSd/7pe24ZW/tU95Lflt2KFMDnREM0fMybuFrePit62bxFVB4Rsx3eaeRk0sVIZ9 SDmmgtAfAn2WG2xyAC0+UNHrODEKv2PZnx7gj9B/wZ6DuMHUKY5tnfXagQgPCCT5Eoth Hk84kXpoR75pYDaT9Am3N+/0B3qwu6z3aJZDC8AMxNgHNJngnajr4iG4TA/BW11ZVBDJ 0Msw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=BECJGiUvhGzClMdYvElFVDvpweq8Gq2dCCcfEt+39VM=; b=C8QEt118JWc0BD5xBRJsUTVrKMo2Dmjar+i57A2XfQL7EjCra52alK1Sjh8saSbJqq UFgDpUyZQwpaLog2tGSv8qBDvcF5oNIo1wxk42QpB/JLlbzoZgxQojVKCOVqMHCik/aI UXOoPtsaElbM2XJ3IG1d/YwCoFRDtg4loT3UBAF3IlgnvYvxbVQtXsrhTuvzETsppYBb lDsrCuib+W6nL/qc6rGtXnQZ37BzG2spo/CSDZeIoF3H6DOZdpbxlYagF4RygWOsbduw Xw0zVO7IUDG0MAqR5nilGYJff7VCkTIk33wwlRT69RKsSv93Ccekp9hrEGqzrZb+Oo3/ fWNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=uDEgwfep; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g6si6794784edv.126.2020.04.16.13.39.26; Thu, 16 Apr 2020 13:39:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=uDEgwfep; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2895964AbgDPQPJ (ORCPT + 99 others); Thu, 16 Apr 2020 12:15:09 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:17074 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2442867AbgDPQOj (ORCPT ); Thu, 16 Apr 2020 12:14:39 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03GGDEcF005340; Thu, 16 Apr 2020 18:14:34 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=BECJGiUvhGzClMdYvElFVDvpweq8Gq2dCCcfEt+39VM=; b=uDEgwfep1IxcMNE3qQYLz7nmAf7hRsnCEl2UqP0aBHrsslBvDeBlhzBOaowRWi2eejG1 Lii/Ye/5Rf7muXqnQhi0wIqPuuESWBYCvhLSFPf8KXM2106qEK0LGVPHgoZ36z/0RSwj PVAtuZ8whFjfSVrOtnyR8HQYSe/BspgNeElg/cVonS3EiGMLwPg/BgMO1MUWvrb5xD+G eIRWiw4Lz39TG3GZmXJfynyaUuEcRngu0GmHyYnj/fIQE7ML+Dd8F5mizwly3n2K0yfQ C3JlNQnV3T78RhYb9dI2YWQ2SfWfW6kBMIXiy6cTbgk7BhYJFog4sSwvvmxB4euekuzF 0Q== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 30dn6t3nds-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 Apr 2020 18:14:34 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2952210002A; Thu, 16 Apr 2020 18:14:34 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag3node1.st.com [10.75.127.7]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 1E6B22B2D2C; Thu, 16 Apr 2020 18:14:34 +0200 (CEST) Received: from localhost (10.75.127.46) by SFHDAG3NODE1.st.com (10.75.127.7) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 16 Apr 2020 18:14:33 +0200 From: Arnaud Pouliquen To: Bjorn Andersson , Ohad Ben-Cohen , Mathieu Poirier CC: , , , Subject: [RFC 18/18] ARM: dts: stm32: Declare a virtio device Date: Thu, 16 Apr 2020 18:13:31 +0200 Message-ID: <20200416161331.7606-19-arnaud.pouliquen@st.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200416161331.7606-1-arnaud.pouliquen@st.com> References: <20200416161331.7606-1-arnaud.pouliquen@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG4NODE2.st.com (10.75.127.11) To SFHDAG3NODE1.st.com (10.75.127.7) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-04-16_06:2020-04-14,2020-04-16 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Declare a virtio device as sub device of the stm32 remote proc Signed-off-by: Arnaud Pouliquen --- arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi index f6672e87aef3..2bb16c860c82 100644 --- a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi +++ b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi @@ -414,6 +414,16 @@ interrupt-parent = <&exti>; interrupts = <68 1>; status = "okay"; + + #address-cells = <1>; + #size-cells = <0>; + + vdev@0 { + memory-region = <&vdev0vring0>, <&vdev0vring1>, <&vdev0buffer>; + compatible = "rproc-virtio"; + reg = <0>; + status = "okay"; + }; }; &pwr_regulators { -- 2.17.1