3940a47155
According to the devicetree and the schematic, the 3.3V power rail for the PHY is enabled by GPIO PC16. It's wired as active-high, with a pull-up resistor, so actually works already when the GPIO is in High-Z state. However we should not take any chances and explicitly set the GPIO pin to high, to avoid accidentally losing the PHY power. The existing MACPWR Kconfig allows to do this easily. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Maxime Ripard <mripard@kernel.org> Tested-by: Amit Singh Tomar <amittomer25@gmail.com> # Pine64+ Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
17 lines
414 B
Plaintext
17 lines
414 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_SPL=y
|
|
CONFIG_MACH_SUN50I_H6=y
|
|
CONFIG_SUNXI_DRAM_H6_LPDDR3=y
|
|
CONFIG_MMC0_CD_PIN="PF6"
|
|
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
|
CONFIG_USB3_VBUS_PIN="PL5"
|
|
CONFIG_SPL_SPI_SUNXI=y
|
|
# CONFIG_PSCI_RESET is not set
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun50i-h6-pine-h64"
|
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
CONFIG_SUN8I_EMAC=y
|
|
CONFIG_MACPWR="PC16"
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_OHCI_HCD=y
|