From patchwork Fri Aug 7 13:42:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 505161 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 86960140293 for ; Fri, 7 Aug 2015 23:54:03 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=a4Cl8OXE; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 017163A1F; Fri, 7 Aug 2015 15:54:01 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WCPvSsktzW7f; Fri, 7 Aug 2015 15:54:00 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7FFFFA7496; Fri, 7 Aug 2015 15:53:49 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 96DAD4B796 for ; Fri, 7 Aug 2015 15:53:40 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yXhbYG-JBZsr for ; Fri, 7 Aug 2015 15:53:40 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-io0-f178.google.com (mail-io0-f178.google.com [209.85.223.178]) by theia.denx.de (Postfix) with ESMTPS id 2E0194B773 for ; Fri, 7 Aug 2015 15:53:37 +0200 (CEST) Received: by ioeg141 with SMTP id g141so112141613ioe.3 for ; Fri, 07 Aug 2015 06:53:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=ALWyx+f0/at5IkSwnQLKaqyWcYhAvghjvHSxjEaBHcQ=; b=a4Cl8OXESJ1Sm5uu3NQhTxLXfz8btxZ2k+BlC8y6siAAcEJEiE/v38L7wv1NFStmWg 8+L6w6/RNVDPmNCfRRzjXaTgGwGsZeNEAI3/HYF8/LgHehrhP4WiBDxK2EEDgMyn2HFk poVlUpm8rKSgxu+JcNa1DPjWEzaRvvd4Vaay+HlInlTMErRlTb6p5tI8Vb9R647G0Hee mnb5T4xiy3S3OQNjm8BR+Hi5qrmptT0dCIohapX/2ejbQog5XVMGOn4wblbl37ft1gdi IkrEBJLK8HYB3l+qPaDPJ/93R9TyQA2tMRf71yBpPK5tkxTvXu40whxcv2S+0JiMotnD Do+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=ALWyx+f0/at5IkSwnQLKaqyWcYhAvghjvHSxjEaBHcQ=; b=bWQ0Ssoyls0eM/pnDjDqO9qo1hICwHCo2hskLsauzac7As2lT/bqAjRpU1KhZa6Ljh GUpy1EV9xL/XdMxUGRemfuTfqIjBb3duWaMLYIGj9maui9cJYTEizugcr5FkDNH5/GEX n5Zts3jg2TZLjcVFDbJ2EumLKimOZdjKttckXy7UcUVf58faZGqj4yK7/UfZS9sbIR49 h6alEjqfgmmp+cy7DRci0vY4ItNlZrx3qrlRaSQ/YC3JsOd8WD6xTZcmqGKrhyyeif0r QRz/0UeaEpOigZFizQNIVuCNWeB3QyQIpsXArPyft1gOcO+Tb1ot4hxOYTogLt3d4TJN KBWA== X-Gm-Message-State: ALoCoQnuN05ThJNHj1YRn8B3v8wWlY4Kglgcxb5IH4fgXDpOpu/Z7PWQLvmRzD8McnCsgpokEtbz X-Received: by 10.107.13.201 with SMTP id 192mr8134198ion.70.1438955616064; Fri, 07 Aug 2015 06:53:36 -0700 (PDT) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by smtp.gmail.com with ESMTPSA id k19sm6866229iok.20.2015.08.07.06.53.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Aug 2015 06:53:34 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id E26FF22135D; Fri, 7 Aug 2015 07:53:32 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Fri, 7 Aug 2015 07:42:24 -0600 Message-Id: <1438954951-13329-5-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.5.0.rc2.392.g76e840b In-Reply-To: <1438954951-13329-1-git-send-email-sjg@chromium.org> References: <1438954951-13329-1-git-send-email-sjg@chromium.org> Cc: Stephen Warren , Joe Hershberger Subject: [U-Boot] [PATCH v3 04/11] arm: rpi: Device tree modifications for U-Boot X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This updates the device tree from the kernel version to something suitable for U-Boot: - Add stdout-path alias for console - Mark the /soc node to be available pre-relocation so that the early serial console works (we need the 'ranges' property to be available) Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/arm/dts/bcm2835.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/bcm2835.dtsi b/arch/arm/dts/bcm2835.dtsi index 301c73f..bd6bff6 100644 --- a/arch/arm/dts/bcm2835.dtsi +++ b/arch/arm/dts/bcm2835.dtsi @@ -8,6 +8,7 @@ chosen { bootargs = "earlyprintk console=ttyAMA0"; + stdout-path = &uart; }; soc { @@ -16,6 +17,7 @@ #size-cells = <1>; ranges = <0x7e000000 0x20000000 0x02000000>; dma-ranges = <0x40000000 0x00000000 0x20000000>; + u-boot,dm-pre-reloc; timer@7e003000 { compatible = "brcm,bcm2835-system-timer"; @@ -92,7 +94,7 @@ #interrupt-cells = <2>; }; - uart@7e201000 { + uart: uart@7e201000 { compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell"; reg = <0x7e201000 0x1000>; interrupts = <2 25>;