From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09937C48BCF for ; Sat, 12 Jun 2021 05:50:36 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4315160C3E for ; Sat, 12 Jun 2021 05:50:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4315160C3E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7790F8096D; Sat, 12 Jun 2021 07:50:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="SiLTDvfF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C845280C85; Sat, 12 Jun 2021 07:50:31 +0200 (CEST) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 539B38031F for ; Sat, 12 Jun 2021 07:50:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jernej.skrabec@gmail.com Received: by mail-wm1-x334.google.com with SMTP id f17so9137122wmf.2 for ; Fri, 11 Jun 2021 22:50:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qlTnjtVq5LMYL7jzINOOQZ8kf2Nzrn+TPRYcDeIg2h0=; b=SiLTDvfFAPtsT7g5hmY2xacBNmjD7FcLOQOqYLWmHYmoNesLXBRPwpJfwdeADwF1VQ lppzL5puHAQuZ8v1kx9cIXVd/iZi6l4ZDHMgWk3/iclwDBtC+lqxO4VKbsB8+jZ5V2IP 7m+G8B00rBUuTNKze1RoBt8Vg7u3NkFpu4dqIXmVdhRxJ7cMZELFcsj8qTF8Wpg2omJJ hKcBYe/sptrj0YUXInb3MRyyKcV/g780XgC3GBKd6ysSZf5zP3OsX9OfGV8jVfc2uA/0 wKveBba3NZHcqbPpCDLc8wOcNrF7j3sw3e3wz3k5816Mb5kanydx2yE4GyO6TAChz2aP ZEiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qlTnjtVq5LMYL7jzINOOQZ8kf2Nzrn+TPRYcDeIg2h0=; b=MK4vfpjXwkqs26TbCrG23Ys9BoLhD4jYd8I+SlmKD9KFKYdBGlHWDBdx6xA24N3w+k IXAogR3fRzrfpoTxBrY6/MI6mIHK6Vw/UreV1XOFGQ3HHEaym8NW0+hNec0/5yDmgFzJ arRCLGjdN0bLRwc3Gz0xylcWtLCQ1SrWgtGg2ZH06Zg+NKb/8SpSIFCUWtR0Bn7VYkVX z+RFOPn9hoajiBJv/SV3Lanvse4qNYFQcxk5zBcqE7oOBnCdg1h+GBdDjJEql2No0unk chgs+E9Vf9UwJVBZ61RvFExD68cYgctRN8AKLvaYZAfarm9bfOVJUOHuCDgpnY+CB3po 4jEA== X-Gm-Message-State: AOAM532NqLPOXh1TomzmS/ETw278Yexz4iOJfGZf1pD2xIzzu2LlSU3q TjOelLCTVOlZYUqX7sclT+w= X-Google-Smtp-Source: ABdhPJwLXecyWXiJEdyTNDw1EQyTCDa7FFn7iuzae9YXY+gNABsABj083nsOO5dmEmKcM0KMFC3NEQ== X-Received: by 2002:a05:600c:350a:: with SMTP id h10mr6960679wmq.164.1623477028952; Fri, 11 Jun 2021 22:50:28 -0700 (PDT) Received: from kista.localnet (cpe1-4-249.cable.triera.net. [213.161.4.249]) by smtp.gmail.com with ESMTPSA id f12sm11062130wru.81.2021.06.11.22.50.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Jun 2021 22:50:28 -0700 (PDT) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: andre.przywara@arm.com Cc: jagan@amarulasolutions.com, u-boot@lists.denx.de, linux-sunxi@lists.linux.dev Subject: Re: [PATCH] configs: OrangePi PC2: Update defaults Date: Sat, 12 Jun 2021 07:50:27 +0200 Message-ID: <2418795.6bcLzA2rA2@kista> In-Reply-To: <20210607174245.480188-1-jernej.skrabec@gmail.com> References: <20210607174245.480188-1-jernej.skrabec@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Dne ponedeljek, 07. junij 2021 ob 19:42:45 CEST je Jernej Skrabec napisal(a): > OrangePi PC2 board has DRAM with ODT, so enable it. ZQ value is also > slightly different in vendor images, so update it as well. H5 SoC is > also connected to voltage regulator. It's default value is pretty low, > so in order to avoid instability, enable driver for it and set it to > appropriate voltage. > > Signed-off-by: Jernej Skrabec > --- > configs/orangepi_pc2_defconfig | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/configs/orangepi_pc2_defconfig b/configs/orangepi_pc2_defconfig > index f72ffe27b26c..5e4cca793f53 100644 > --- a/configs/orangepi_pc2_defconfig > +++ b/configs/orangepi_pc2_defconfig > @@ -3,13 +3,15 @@ CONFIG_ARCH_SUNXI=y > CONFIG_SPL=y > CONFIG_MACH_SUN50I_H5=y > CONFIG_DRAM_CLK=672 > -CONFIG_DRAM_ZQ=3881977 > -# CONFIG_DRAM_ODT_EN is not set > +CONFIG_DRAM_ZQ=4145117 > CONFIG_MACPWR="PD6" > CONFIG_SPL_SPI_SUNXI=y > +CONFIG_SPL_I2C_SUPPORT=y > CONFIG_DEFAULT_DEVICE_TREE="sun50i-h5-orangepi-pc2" > # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set > CONFIG_SUN8I_EMAC=y > +CONFIG_SY8106A_POWER=y > +CONFIG_SY8106A_VOUT1_VOLT=1100 I'm not sure if voltage regulator adjustment needs to be enabled. By default, it's set to 1.1 V using resistor divider. However, it can be still needed if board is rebooted and OS set it to lower value before reboot. Best regards, Jernej > CONFIG_USB_EHCI_HCD=y > CONFIG_USB_OHCI_HCD=y > CONFIG_USB_MUSB_GADGET=y > -- > 2.31.1 > >