Commit daa8b75a5527f96c2b2e5aa8d3fff3fa29b57b9b

Authored by Icenowy Zheng
Committed by Maxime Ripard
1 parent 9946631a0f

sunxi: enable SATA on Banana Pi M2 Ultra

Banana Pi M2 Ultra has a SATA port connected to the internal SATA
controller of R40 SoC. The controller's 1.2v VDD is connected to ELDO3
and the 2.5v VDD is connected to DLDO4.

Enable these regulators as well as the SATA support of Banana Pi M2
Ultra, by adding needed config lines into its defconfig.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff

configs/Bananapi_M2_Ultra_defconfig
... ... @@ -7,10 +7,13 @@
7 7 CONFIG_MMC0_CD_PIN="PH13"
8 8 CONFIG_MMC_SUNXI_SLOT_EXTRA=2
9 9 CONFIG_DEFAULT_DEVICE_TREE="sun8i-r40-bananapi-m2-ultra"
  10 +CONFIG_AHCI=y
10 11 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
11 12 CONFIG_SPL=y
12 13 CONFIG_SPL_I2C_SUPPORT=y
13 14 # CONFIG_CMD_IMLS is not set
14 15 # CONFIG_CMD_FLASH is not set
15 16 # CONFIG_CMD_FPGA is not set
  17 +CONFIG_AXP_DLDO4_VOLT=2500
  18 +CONFIG_AXP_ELDO3_VOLT=1200