From patchwork Thu Jan 14 15:58:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 567586 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 C5A68140BD3 for ; Fri, 15 Jan 2016 03:10:23 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=leQq8DS2; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 64531A7769; Thu, 14 Jan 2016 17:09:29 +0100 (CET) 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 fXA1FcoVEekN; Thu, 14 Jan 2016 17:09:29 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 73309A7772; Thu, 14 Jan 2016 17:08:54 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A527AA76E4 for ; Thu, 14 Jan 2016 17:08:38 +0100 (CET) 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 EqlrLw8mu1Fc for ; Thu, 14 Jan 2016 17:08:38 +0100 (CET) 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-ob0-f175.google.com (mail-ob0-f175.google.com [209.85.214.175]) by theia.denx.de (Postfix) with ESMTPS id 1FF7AA76BC for ; Thu, 14 Jan 2016 17:08:29 +0100 (CET) Received: by mail-ob0-f175.google.com with SMTP id ba1so496997291obb.3 for ; Thu, 14 Jan 2016 08:08:28 -0800 (PST) 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=BGSmAstmGgPOlfCHc52rF0JgNMgDASEPff/nr6/AvW0=; b=leQq8DS2zYu7kSoc/NgItUcT5OyAPdFjgPiw76gmFJJXGmZN/Wk8U2pp1u6ee2DFDe XlryMcv4DmC0ccPBr32/Jlk0ESBRXANKKkAkXkdc75Sfob6yHt11CxmUp+e34stHcSbS i10E13q5NkOSUW+E1zvZuTH+9GO36AiunAOjriHQtPM7t+8b7hmJRJl5Gv7SLCbeBYa+ p04dtR1q1/BG7dA3pl/Cw5UkFcnp8a3uJthO9+JG/mDUhGqI4x5KCX96NPoAzB7XRW97 z2qE+kS+LtSKFK3ahBsxzHwl2YhMMEV+RKD9vbofDLPrSQz/A8ZEbLTd6xKs05AztLAa I1QA== 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=BGSmAstmGgPOlfCHc52rF0JgNMgDASEPff/nr6/AvW0=; b=ad+OtL+WtwbFXP72H7Naq8AN76ks81WEVX4kZH/aDsZ1I53kILMDwF4dNM1L+VC1fu CcmMnl5PNFku2ya2ggssfa6XYdYLQlUyYQ/Y1tR6IH1oPGWcQwibWnr8L3lYgCeok1UN gsmhF+8geFSkuTgH8tu8Jf1srvbkrh+tSQ3SICe84WeeENmTk3DTPRStkv+AfIYwhofP G/cWjGNdfl18GTVxo5E/raBjGfjCsONBisv36w1xMz8qODnha4muhXfAapLxZ32cUu82 60NRoSNg7D9oJtoZmkp13JTD0MMirZ0oGdm6EgL+qcZM3UhlDkOybPzDFjcECbTZ5Tfj H7Hw== X-Gm-Message-State: ALoCoQnDKwkPuWLrdi9GNvg2LTMO0oWRi9tD6nRoZjC/dy7EQvvrMtVKyc46ZeViNOwLbITQkgV842t9KfeeweOFhp5eE3zhCg== X-Received: by 10.60.174.232 with SMTP id bv8mr4104646oec.46.1452787707790; Thu, 14 Jan 2016 08:08:27 -0800 (PST) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by smtp.gmail.com with ESMTPSA id wk4sm3735183oeb.3.2016.01.14.08.08.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jan 2016 08:08:24 -0800 (PST) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id B2D79222192; Thu, 14 Jan 2016 08:58:35 -0700 (MST) From: Simon Glass To: U-Boot Mailing List Date: Thu, 14 Jan 2016 08:58:18 -0700 Message-Id: <1452787100-21782-36-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.6.0.rc2.230.g3dd15c0 In-Reply-To: <1452787100-21782-1-git-send-email-sjg@chromium.org> References: <1452787100-21782-1-git-send-email-sjg@chromium.org> Cc: Tom Cubie , Jeffy Chen , Ian Campbell Subject: [U-Boot] [PATCH 35/37] rockchip: rock2: dts: Make changes 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" Add the required pre-relocation tags and SDRAM init information for U-Boot. Signed-off-by: Simon Glass --- arch/arm/dts/rk3288-rock2-square.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/dts/rk3288-rock2-square.dts b/arch/arm/dts/rk3288-rock2-square.dts index c5453a0..8d7446f 100644 --- a/arch/arm/dts/rk3288-rock2-square.dts +++ b/arch/arm/dts/rk3288-rock2-square.dts @@ -96,6 +96,7 @@ }; &sdmmc { + u-boot,dm-pre-reloc; bus-width = <4>; cap-mmc-highspeed; cap-sd-highspeed; @@ -138,6 +139,7 @@ }; &pinctrl { + u-boot,dm-pre-reloc; ir { ir_int: ir-int { rockchip,pins = <8 1 RK_FUNC_GPIO &pcfg_pull_up>; @@ -169,6 +171,8 @@ &uart2 { status = "okay"; + u-boot,dm-pre-reloc; + reg-shift = <2>; }; &usbphy { @@ -178,3 +182,20 @@ &usb_host0_ehci { status = "okay"; }; + +&dmc { + rockchip,num-channels = <2>; + rockchip,pctl-timing = <0x29a 0xc8 0x1f8 0x42 0x4e 0x4 0xea 0xa + 0x5 0x0 0xa 0x7 0x19 0x24 0xa 0x7 + 0x5 0xa 0x5 0x200 0x5 0x10 0x40 0x0 + 0x1 0x7 0x7 0x4 0xc 0x43 0x100 0x0 + 0x5 0x0>; + rockchip,phy-timing = <0x48f9aab4 0xea0910 0x1002c200 + 0xa60 0x40 0x10 0x0>; + rockchip,sdram-channel = /bits/ 8 <0x1 0xa 0x3 0x2 0x1 0x0 0xf 0xf>; + rockchip,sdram-params = <0x30B25564 0x627 3 666000000 3 9 1>; +}; + +&gpio7 { + u-boot,dm-pre-reloc; +};