forked from linux4sam/u-boot-at91
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge git://git.denx.de/u-boot-microblaze
Xilinx changes for v2018.11-rc2-v2 FPGA: - Fix SPL fpga loading from FIT ARM64: - Fix gic accesses in EL2/EL1 Xilinx: - Add dlc20 board support - Add Versal board support - Sync defconfigs - Enable MP via Kconfig - Add missing efuse node - Enable CDC for zcu100 cmd: - Fix kgdb Kconfig dependency
- Loading branch information
Showing
56 changed files
with
1,052 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -287,6 +287,12 @@ F: arch/arm/mach-uniphier/ | |
F: configs/uniphier_*_defconfig | ||
N: uniphier | ||
|
||
ARM VERSAL | ||
M: Michal Simek <[email protected]> | ||
S: Maintained | ||
T: git git://git.denx.de/u-boot-microblaze.git | ||
F: arch/arm/mach-versal/ | ||
|
||
ARM VERSATILE EXPRESS DRIVERS | ||
M: Liviu Dudau <[email protected]> | ||
S: Maintained | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
* Copyright (C) 2018 Xilinx, Inc. | ||
* | ||
* Michal Simek <[email protected]> | ||
*/ | ||
/dts-v1/; | ||
#include "zynq-7000.dtsi" | ||
|
||
/ { | ||
model = "Zynq DLC20 Rev1.0"; | ||
compatible = "xlnx,zynq-dlc20-rev1.0", "xlnx,zynq-dlc20", | ||
"xlnx,zynq-7000"; | ||
|
||
aliases { | ||
ethernet0 = &gem0; | ||
i2c0 = &i2c0; | ||
serial0 = &uart1; | ||
spi0 = &qspi; | ||
mmc0 = &sdhci0; | ||
}; | ||
|
||
memory@0 { | ||
device_type = "memory"; | ||
reg = <0x0 0x20000000>; | ||
}; | ||
|
||
chosen { | ||
bootargs = "earlyprintk"; | ||
stdout-path = "serial0:115200n8"; | ||
}; | ||
|
||
usb_phy0: phy0@e0002000 { | ||
compatible = "ulpi-phy"; | ||
#phy-cells = <0>; | ||
reg = <0xe0002000 0x1000>; | ||
view-port = <0x0170>; | ||
drv-vbus; | ||
}; | ||
}; | ||
|
||
&clkc { | ||
ps-clk-frequency = <33333333>; /* U7 */ | ||
}; | ||
|
||
&gem0 { | ||
status = "okay"; /* MIO16-MIO27, MDIO MIO52/53 */ | ||
phy-mode = "rgmii-id"; | ||
phy-handle = <ðernet_phy>; | ||
|
||
ethernet_phy: ethernet-phy@7 { /* rtl8211e - U25 */ | ||
reg = <1>; | ||
}; | ||
}; | ||
|
||
&i2c0 { | ||
status = "okay"; /* MIO14/15 */ | ||
clock-frequency = <400000>; | ||
/* U46 - m24c08 */ | ||
eeprom: eeprom@54 { | ||
compatible = "atmel,24c08"; | ||
reg = <0x54>; | ||
}; | ||
}; | ||
|
||
&qspi { | ||
u-boot,dm-pre-reloc; | ||
status = "okay"; | ||
is-dual = <0>; | ||
num-cs = <1>; | ||
spi-tx-bus-width = <4>; | ||
spi-rx-bus-width = <4>; | ||
flash@0 { | ||
/* Rev1.0 W25Q128FWSIG, RevC N25Q128A */ | ||
compatible = "n25q128a11", "jedec,spi-nor"; | ||
reg = <0x0>; | ||
spi-tx-bus-width = <1>; | ||
spi-rx-bus-width = <4>; | ||
spi-max-frequency = <50000000>; | ||
}; | ||
}; | ||
|
||
&sdhci0 { | ||
u-boot,dm-pre-reloc; | ||
status = "okay"; /* EMMC MTFC4GACAJCN - MIO40-MIO45 */ | ||
non-removable; | ||
bus-width = <4>; | ||
}; | ||
|
||
&uart1 { | ||
u-boot,dm-pre-reloc; | ||
status = "okay"; /* MIO8/9 */ | ||
}; | ||
|
||
&usb0 { | ||
status = "okay"; /* MIO28-MIO39 */ | ||
dr_mode = "device"; | ||
usb-phy = <&usb_phy0>; | ||
}; | ||
|
||
&watchdog0 { | ||
reset-on-timeout; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# SPDX-License-Identifier: GPL-2.0+ | ||
|
||
if ARCH_VERSAL | ||
|
||
config SYS_BOARD | ||
string "Board name" | ||
default "versal" | ||
|
||
config SYS_VENDOR | ||
string "Vendor name" | ||
default "xilinx" | ||
|
||
config SYS_SOC | ||
default "versal" | ||
|
||
config SYS_CONFIG_NAME | ||
string "Board configuration name" | ||
default "xilinx_versal" | ||
help | ||
This option contains information about board configuration name. | ||
Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header | ||
will be used for board configuration. | ||
|
||
config GICV3 | ||
def_bool y | ||
|
||
config SYS_MALLOC_LEN | ||
default 0x2000000 | ||
|
||
config COUNTER_FREQUENCY | ||
int "Timer clock frequency" | ||
default 0 | ||
help | ||
Setup time clock frequency for certain platform | ||
|
||
config ZYNQ_SDHCI_MAX_FREQ | ||
default 200000000 | ||
|
||
config VERSAL_OF_BOARD_DTB_ADDR | ||
hex | ||
default 0x1000 | ||
depends on OF_BOARD | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# SPDX-License-Identifier: GPL-2.0+ | ||
# | ||
# (C) Copyright 2016 - 2018 Xilinx, Inc. | ||
# Michal Simek <[email protected]> | ||
# | ||
|
||
obj-y += clk.o | ||
obj-y += cpu.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// SPDX-License-Identifier: GPL-2.0+ | ||
/* | ||
* (C) Copyright 2016 - 2018 Xilinx, Inc. | ||
* Michal Simek <[email protected]> | ||
*/ | ||
|
||
#include <common.h> | ||
|
||
DECLARE_GLOBAL_DATA_PTR; | ||
|
||
#ifdef CONFIG_CLOCKS | ||
/** | ||
* set_cpu_clk_info - Initialize clock framework | ||
* | ||
* Return: 0 always. | ||
* | ||
* This function is called from common code after relocation and sets up the | ||
* clock framework. The framework must not be used before this function had been | ||
* called. | ||
*/ | ||
int set_cpu_clk_info(void) | ||
{ | ||
gd->cpu_clk = get_tbclk(); | ||
|
||
gd->bd->bi_arm_freq = gd->cpu_clk / 1000000; | ||
gd->bd->bi_dsp_freq = 0; | ||
|
||
return 0; | ||
} | ||
#endif |
Oops, something went wrong.