linux-sunxi.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH] configs: OrangePi PC2: Update defaults
@ 2021-06-07 17:42 Jernej Skrabec
  2021-06-12  5:50 ` Jernej Škrabec
  0 siblings, 1 reply; 4+ messages in thread
From: Jernej Skrabec @ 2021-06-07 17:42 UTC (permalink / raw)
  To: andre.przywara; +Cc: jagan, u-boot, linux-sunxi, Jernej Skrabec

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 <jernej.skrabec@gmail.com>
---
 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
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_MUSB_GADGET=y
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-13 23:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-07 17:42 [PATCH] configs: OrangePi PC2: Update defaults Jernej Skrabec
2021-06-12  5:50 ` Jernej Škrabec
2021-06-12  6:08   ` Jernej Škrabec
2021-06-13 23:25   ` Andre Przywara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).