mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
- odroid-go-ultra: setup PMIC regulators at board init
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEPVPGJshWBf4d9CyLd9zb2sjISdEFAmQa3BYACgkQd9zb2sjI SdGVgg/+MFYKg2vZ0jtx193b19GkCp9K5FC91jYg+oJGtWDT59b1EGoZNMC/LOmk iaCr2Srm4hcTKadlNrUlj2C7c1CMHMzsLuXBtC36ia1zXZR34WW28xOaWltEFfB9 js1ryME9fB00iMwUWloCWrccluAVpP7dcoDMA4cmTqMIFAUQr+MHQw+Rd2ogqXIo gzYfh3xshEZdi4oUqtkojTXgLx1PLZt5sgozHbJeAw+eY78Tk9PIaSoAh5Nzlh3I 3agzTRFY+pDVQ1YBhnS0U/eV1oevtcXbASFJs1MR4g5bGPOF4HTyiEisUNdD6rQZ IMDNCNwo2lgCaTaWVZuxb6jfPshMru8koSgKqccIDnMS9D4yhNvmLmFKi4J/1zJl ofvA0vUuO3FoaJzGGky6gnLO4jDj4MR4J0RCrOMZQptSJMiV5LXwZIp48g2xsDJZ RS7CLqPfy0VQ0TlJpcOTrEyETEqXsUdEs0rsxvbLWpybFNnGGzpqaP7pVCTTV/Xp AKKZr/fCaR2Ud2UG5NUn9vTpdUuerZS7580N3v6WbCqkgm/2/LoA5YEH37PxsCR1 qu1063/EH/sI3yxRtSUamngWuU17IARyQ9Xl2/1vI1QalfEtGZdDNWTNB9OZkM9U fDIAbvI57QSzECweTHzP4dNUowbP1C9sW/3r/M1rr5zM3kSh9Zg= =Vk9R -----END PGP SIGNATURE----- Merge tag 'u-boot-amlogic-20230322' of https://source.denx.de/u-boot/custodians/u-boot-amlogic - odroid-go-ultra: setup PMIC regulators at board init
This commit is contained in:
commit
5e207b8517
5 changed files with 44 additions and 2 deletions
|
@ -14,3 +14,11 @@
|
||||||
&usb3_pcie_phy {
|
&usb3_pcie_phy {
|
||||||
/delete-property/ phy-supply;
|
/delete-property/ phy-supply;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&vcc_2v3 {
|
||||||
|
regulator-init-microvolt = <2400000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&vdd_ee {
|
||||||
|
regulator-init-microvolt = <875000>;
|
||||||
|
};
|
||||||
|
|
7
board/amlogic/odroid-go-ultra/MAINTAINERS
Normal file
7
board/amlogic/odroid-go-ultra/MAINTAINERS
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
ODROID-GO-ULTRA
|
||||||
|
M: Neil Armstrong <neil.armstrong@linaro.org>
|
||||||
|
S: Maintained
|
||||||
|
L: u-boot-amlogic@groups.io
|
||||||
|
F: board/amlogic/odroid-go-ultra
|
||||||
|
F: configs/odroid-go-ultra_defconfig
|
||||||
|
F: doc/board/amlogic/odroid-go-ultra.rst
|
5
board/amlogic/odroid-go-ultra/Makefile
Normal file
5
board/amlogic/odroid-go-ultra/Makefile
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# SPDX-License-Identifier: GPL-2.0+
|
||||||
|
#
|
||||||
|
# (C) Copyright 2023 Neil Armstrong <neil.armstrong@linaro.org>
|
||||||
|
|
||||||
|
obj-y := odroid-go-ultra.o
|
22
board/amlogic/odroid-go-ultra/odroid-go-ultra.c
Normal file
22
board/amlogic/odroid-go-ultra/odroid-go-ultra.c
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
// 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;
|
||||||
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_SYS_BOARD="w400"
|
CONFIG_SYS_BOARD="odroid-go-ultra"
|
||||||
CONFIG_ARCH_MESON=y
|
CONFIG_ARCH_MESON=y
|
||||||
CONFIG_TEXT_BASE=0x01000000
|
CONFIG_TEXT_BASE=0x01000000
|
||||||
CONFIG_NR_DRAM_BANKS=1
|
CONFIG_NR_DRAM_BANKS=1
|
||||||
|
@ -18,7 +18,6 @@ CONFIG_DEBUG_UART=y
|
||||||
CONFIG_REMAKE_ELF=y
|
CONFIG_REMAKE_ELF=y
|
||||||
CONFIG_OF_BOARD_SETUP=y
|
CONFIG_OF_BOARD_SETUP=y
|
||||||
# CONFIG_DISPLAY_CPUINFO is not set
|
# CONFIG_DISPLAY_CPUINFO is not set
|
||||||
CONFIG_MISC_INIT_R=y
|
|
||||||
CONFIG_SYS_MAXARGS=32
|
CONFIG_SYS_MAXARGS=32
|
||||||
# CONFIG_CMD_BDI is not set
|
# CONFIG_CMD_BDI is not set
|
||||||
# CONFIG_CMD_IMI is not set
|
# CONFIG_CMD_IMI is not set
|
||||||
|
@ -28,6 +27,7 @@ CONFIG_CMD_MMC=y
|
||||||
CONFIG_CMD_USB=y
|
CONFIG_CMD_USB=y
|
||||||
CONFIG_CMD_USB_MASS_STORAGE=y
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
||||||
# CONFIG_CMD_SETEXPR is not set
|
# CONFIG_CMD_SETEXPR is not set
|
||||||
|
CONFIG_CMD_PMIC=y
|
||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
|
|
Loading…
Reference in a new issue