| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As more and more LINUX drivers are modified to use asynchronous probing
instead of synchronous probing, relying on device names being equal in
U-Boot and LINUX is not possible anymore. This is also true for block
device names like mmc0, mmc1 ect.
With LINUX kernel commit a1a4891 the probing type for the sdhci-omap
driver has been set to asynchronous mode too (probe_type is now
PROBE_PREFER_ASYNCHRONOUS).
In the case of the PDU001 board this results in the devices mmc0 and
mmc1 being swapped between U-Boot and LINUX. Device mmc0 in U-Boot
becomes mmc1 in LINUX an vice versa. Hence using device name identifiers
with LINUX kernel parameter root does not work anymore.
This patch changes the LINUX kernel boot parameter root to use the
pseudo (since we use MBR not GPT) partition UUID to locate the partition
hosting the root file system.
Signed-off-by: Felix Brack <fb@ltec.ch>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add board detection support for K2G ICE with FlagChip 1GHz silicon.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Update the ddr settings to use the DDR reg config tool rev 0.5.0.
This enables 4266MTs DDR configuration.
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Kevin Scholz <k-scholz@ti.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
McSPI IP provides per CS specific speed and mode selection. Therefore it
is possible to apply these settings only after CS is known. But
set_speed and set_mode can be called without bus being claimed, this
would lead driver to set up wrong CS (or previously used CS).
Fix this by apply set_speed and set_mode only if bus is already claimed.
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Tested-by: Miquel Raynal <miquel.raynal@bootlin.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
struct ti_qspi_priv->max_hz is declared as unsigned int, so the following
error path check will always be false, even when "spi-max-frequency"
property is invalid/missing:
priv->max_hz = fdtdec_get_int(blob, node, "spi-max-frequency", -1);
if (priv->max_hz < 0) {
...
}
Replace the fdtdec call with dev_read_u32_default() and use 0 as the
default value. Error out if max_hz is zero.
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The value of input pin for bank > 0 is always 0 for input subcommand.
The reason is that gpio_bank variable is computed only for invert and
output subcommands (it depends on number of arguments). The default
value of zero causes to shift the mask away for banks > 0.
Please note that info subcommand works as expected, because the input
pin values are accessed differently.
Fixes: 61c1775f16ed ("gpio: tca642x: Add the tca642x gpio expander driver")
Cc: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Tomas Novotny <tomas@novotny.cz>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In include/dfu.h, if CONFIG_SYS_DFU_MAX_FILE_SIZE is not defined then it is
defined as CONFIG_SYS_DFU_DATA_BUF_SIZE. This is 128 KiB for a53 core and
20 KiB for r5 core. If a larger file is transferred using dfu then it
fails.
CONFIG_SYS_DFU_DATA_BUF_SIZE can not be increased as there is not enough
heap memory to be allocated for the buffer in case of R5 spl.
Fix this by defining CONFIG_SYS_DFU_MAX_FILE_SIZE as the default
CONFIG_SYS_DFU_DATA_BUF_SIZE value.
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The sequence number assigned for USB subsystem in a uclass is dependent on
the order of occurrence in the device tree. If the dr_mode of USB3SS0
controller is varied then the sequence number of USB3SS1 controller also
changes. If aliases are added then sequence numbers are assigned using the
alias number. This makes the sequence number of USB3SS1 controller
independent of USB3SS0 controller's dr_mode.
Therefore, add aliases to fix the sequence number assigned to the USB
subsystems.
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
USB3SS0 controller is to be used as a host in U-boot. Fix it by changing
the dr_mode to host.
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It has been observed that setting SERDES0 lane mux to USB prevents USB 2.0
operation on USB0. Setting SERDES0 lane mux to non-USB when USB0 is used in
USB 2.0 only mode solves this issue. However, for USB3.0+2.0 operation this
issue is not present.
Implement this workaround by writing 1 to LANE_FUNC_SEL field in
CTRLMMR_SERDES0_CTRL register.
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
https://gitlab.denx.de/u-boot/custodians/u-boot-atmel
First set of u-boot-atmel features for 2021.04 cycle
This feature set includes the new board SAMA7G5 EK, the new evaluation
kit for Microchip AT91 SAMA7G5 SoC . The current board support includes
two configurations for booting from eMMC (SDMMC0), SD-Card (SDMMC1), and
support for two Ethernet interfaces.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
TXC line is directly connected from the SoC to the KSZ9131 PHY. There
is a transient state on this signal, before configuring it to RGMII,
which leads to packet transmit being blocked.
Keeping a pull-up when muxing this pin as function A (G0_TXCK) fixes
the issue.
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add drivers for flexcom, i2c and eeproms
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Obtain two MAC addresses from the two EEPROMs and configure the two
available Ethernet interfaces accordingly.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add node for flx1 i2c1 subnode (and alias to bus 0)
This bus has two eeprom devices connected.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add flexcom1 and i2c subnode.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add new config for storing environment from sdmmc0.
Also clean-up sama7g5ek_emmc1 to point to the proper mmc device.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Clean-up boot command to use the predefined device and part for FAT
environment.
According to this device and partition, select the proper boot media.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Enable sdmmc0 on this board. A non-removable eMMC is connected on this
block.
Configure pincontrol accordingly.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add node for sdmmc0 block.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
SDMMC1 requires clock specification with assigned-clocks, such that
the PMC will know which parent to assign and the initial start-up frequency.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Enable CCF for SAMA7G5.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Enable support for KSZ9131.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Increase ARP timeout and retry count as this will increase
the speed of communication.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add GMAC1.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add GMAC0.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Enable mii command as ethernet's PHY specific programming is
based on it.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add pinctrl for sdmmc1 and flx3.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add pioA pinctrl node.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add DT bindings for PIT64B driver.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Enable autoboot.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use PIT64B driver. ATMEL_PIT is not available for SAMA7G5.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add CPU DT bindings.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Enable CONFIG_CPU.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Get rid of software defined MCK and switch to PMC bindings
for IPs currently present in device tree.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add DT bindings for PMC driver.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add DT bindings for slow clock driver.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add dm-pre-reloc DT binding property for cristals.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add slow rc and main rc oscillators to dtsi.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Move clock frequencies for crystals on board specific files.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Enable PLL driver for SAMA7G5.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Set malloc pool to 68K for sama7g5ek.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Heap base address is computed based on SYS_INIT_SP_ADDR by
subtracting the SYS_MALLOC_F_LEN value in
board_init_f_init_reserve().
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add initial support for sama7g5 evaluation kit board.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add initial basic devicetree for sama7g5 SoC
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As highlighted by Stefan in the commit e074d0f79b2e ("arm: at91:
gardena-smart-gateway-at91sam: Enable CONFIG_SYS_NAND_USE_FLASH_BBT")
it's important to use BBT when Linux enables it. We use it for a long
time on all our boards.
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Eugen Hristev <eugen.hristev@microchip.com>
Cc: Tom Rini <trini@konsulko.com>
Acked-by: Alexander Dahl <ada@thorsis.com>
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Pinecube board support
- 64-bit FEL support
- mkimage support for eGON images (superseding mksunxiboot)
- Bluetooth BD address generation
- some fixes
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Some Bluetooth controllers, like the BCM4345C5 of the Orange Pi 3,
ship with the controller default address.
Add a config option to fix it up so it can function properly.
Signed-off-by: Andre Heider <a.heider@gmail.com>
Tested-by: Ondrej Jirman <megous@megous.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
[rebased]
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Refactor setup_environment() so we can use the created sid for a
Bluetooth address too.
Signed-off-by: Andre Heider <a.heider@gmail.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
[rebased]
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It turns out that in rare cases, current analytical approach to detect
correct DRAM bus width and rank on H6 doesn't work. On some TV boxes
with DDR3, incorrect DRAM configuration triggers write leveling error
which immediately stops initialization process. Exact reason why this
error appears isn't known. However, if correct configuration is used,
initalization works without problem.
In order to fix this issue, simply try another configuration when any
kind of error appears during initialization, not just those related to
rank and bus width.
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Tested-by: Thomas Graichen <thomas.graichen@googlemail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
|