mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
de58694f0d
The Odroid Go Ultra has 2 chained PMICs RK818 and RK818, and needs an adjustment on the BUCK and LDO values. Add the initial regulators values in -u-boot.dtsi & run the initial regulator setup in a new odroid-go-ultra board. Proper OTG and BOOST regulators are still missing to have USB-A host properly working. Link: https://lore.kernel.org/r/20230210-u-boot-odroid-go-ultra-pmics-setup-v1-1-1f16d62b76af@linaro.org Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
22 lines
364 B
C
22 lines
364 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2023 Neil Armstrong <neil.armstrong@linaro.org>
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <asm/arch/boot.h>
|
|
#include <power/regulator.h>
|
|
|
|
int mmc_get_env_dev(void)
|
|
{
|
|
if (meson_get_boot_device() == BOOT_DEVICE_EMMC)
|
|
return 1;
|
|
return 0;
|
|
}
|
|
|
|
int board_init(void)
|
|
{
|
|
regulators_enable_boot_on(_DEBUG);
|
|
|
|
return 0;
|
|
}
|