Skip to content

Commit

Permalink
configs: OrangePi PC2: Update defaults
Browse files Browse the repository at this point in the history
OrangePi PC2 board has DRAM with ODT, so enable it.
H5 SoC is also connected to voltage regulator. It's default value is
reasonable at reset, but might be too low when rebooting with a lower
voltage programmed. In order to avoid instability, enable driver for it
and set it to appropriate voltage.

Signed-off-by: Jernej Skrabec <[email protected]>
Tested-by: Andre Przywara <[email protected]>
[Andre: remove original ZQ value change, adjust commit message]
Signed-off-by: Andre Przywara <[email protected]>
  • Loading branch information
jernejsk authored and Andre-ARM committed Jul 10, 2021
1 parent f9d1324 commit 8e6eed5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configs/orangepi_pc2_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ CONFIG_SPL=y
CONFIG_MACH_SUN50I_H5=y
CONFIG_DRAM_CLK=672
CONFIG_DRAM_ZQ=3881977
# CONFIG_DRAM_ODT_EN is not set
CONFIG_MACPWR="PD6"
CONFIG_SPL_SPI_SUNXI=y
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
CONFIG_SPL_I2C_SUPPORT=y
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

0 comments on commit 8e6eed5

Please sign in to comment.