From: Ian Campbell Subject: Re: [PATCH v5 p2 19/19] docs/misc: arm: Add documentation about Device Tree passthrough Date: Thu, 16 Apr 2015 16:20:39 +0100 Message-ID: <1429197639.25195.159.camel@citrix.com> References: <1428592185-18581-1-git-send-email-julien.grall@citrix.com> <1428592185-18581-20-git-send-email-julien.grall@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Yilc7-0006dA-D9 for xen-devel@lists.xenproject.org; Thu, 16 Apr 2015 15:21:59 +0000 In-Reply-To: <1428592185-18581-20-git-send-email-julien.grall@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel@lists.xenproject.org, Julien Grall , tim@xen.org, stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org On Thu, 2015-04-09 at 16:09 +0100, Julien Grall wrote: > + root node; > + * The following properies are mandatory with the /passthrough node: "properties" Otherwise: Acked-by: Ian Campbell > + - compatible: It should always contain "simple-bus" > + - ranges > + - #address-cells > + - #size-cells > + > +3) Compile the partial guest device with dtc (Device Tree Compiler). > +For our purpose, the compiled file will be called guest-midway.dtb and > +placed in /root in DOM0. > + > +3) Add the following options in the guest configuration file: > + > +device_tree = "/root/guest-midway.dtb" > +dtdev = [ "/soc/ethernet@fff51000" ] > +irqs = [ 112, 113, 114 ] > +iomem = [ "0xfff51,1@0x10000" ] > + > +