- Jul 01, 2021
-
-
Michal Simek authored
It is working in a way that only minimal timeout is setup to reach expiration just right after it is setup. Please make sure that PMUFW is compiled with ENABLE_EM flag. On U-Boot prompt you can test it like: ZynqMP> wdt dev watchdog@fd4d0000 ZynqMP> wdt list watchdog@fd4d0000 (cdns_wdt) ZynqMP> wdt dev dev: watchdog@fd4d0000 ZynqMP> wdt expire (And reset should happen here) Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Enable watchdog command to be able to work with watchdogs. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Jun 28, 2021
-
-
Piyush Mehta authored
This patch adds psgtr clocks and phy entry for USB0, USB1 and SATA node for zc1751-xm017-dc3 board. Signed-off-by:
Piyush Mehta <piyush.mehta@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Ashok Reddy Soma authored
Add support for 10G/25G (XXV) high speed ethernet. This Makes use of the exiting AXI DMA, similar to 1G. Signed-off-by:
Alessandro Temil <atemil@waymo.com> Signed-off-by:
Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Ashok Reddy Soma authored
There are lot of accesses to priv data in of_to_plat(), which is incorrect. Create a platform data structure and use it in of_to_plat(), then copy all platform data to priv data in probe. Signed-off-by:
Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Kunihiko Hayashi authored
This adds serial parameters that include stop bit mode, parity mode, and character length. Mark parity and space parity modes are not supported. At the moment, the only path to call setconfig directly is DM testing, however, this affects the size of SPL for DM testing, so it doesn't apply to SPL. Signed-off-by:
Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Both of these drivers are implemented with and without DM that's why more symbols should be handled. The most problematic one is enabling DEBUG_UART_PL011 based on PL01X_SERIAL(DM based) because debug console has type selection based on it. enum pl01x_type type = CONFIG_IS_ENABLED(DEBUG_UART_PL011) ? TYPE_PL011 : TYPE_PL010; Without it pl01x_generic_setbrg() is configuring different registers. Fixes: 4cc24aea ("serial: Add missing Kconfig dependencies for debug consoles") Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
- Jun 23, 2021
-
-
Michal Simek authored
On ARM64 secure OS can run as 64bit or 32bit that's why it is necessary to record information about architecture that other code can read it and properly pass it to TF-A and start in 64bit or 32bit mode. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Michal Simek authored
DT files have been added this year but forgot to update it that's why do it in separate patch now. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Wire psgtr for zc1751 dc1 board. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
It is not recommended to have aliases for gpio. In past it was used in Linux for assigning numbers via sysfs which is deprecated and libgpiod should be used instead. In U-Boot this number is used for seq number but gpio offset are not counted from this number. That's why having these aliases only for seq number is not needed. As is done in Linux it is the best to use full gpio name instead of sequence number which depends on sequence in binding. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Both boards are usb3.0 capable. dc3 was also missing enabling dwc3* nodes. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Align USB nodes with the latest dt-bindings. It is adding resets, new interrupt and also some quirks. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
dtc supports new sugar syntax which is easier compare to previous one that's why also covert overlays for SOM to it. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
kv260-revB is different compare to revA (usbhub is wired via i2c) that's why remove revA compatible string. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Zhengxun authored
The Clocking Wizard IP supports clock circuits customized to your clocking requirements. The wizard support for dynamically reconfiguring the clocking primitives for Multiply, Divide, Phase Shift/Offset, or Duty Cycle. Limited by U-Boot clk uclass without set_phase API, this patch only provides set_rate to modify the frequency. Signed-off-by:
Zhengxun <zhengxunli.mxic@gmail.com> Reviewed-by:
Sean Anderson <sean.anderson@seco.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Xilinx ZynqMP supports also addresses above 4GB (32bit) that's why also generate u-boot.its with 64bit load/entry addresses to also support different configurations. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
psgtr node should be below pinctrl for easier comparion among dts files. That's why move that nodes to different location. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Clock setting is not static anymore that's why it depends on firmware setup that's why remove this comment. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Linux kernel is not using these properties that's why they can be removed. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Networking subsystem is not using aliases that's why remove them for CAN devices. There is also no any other Xilinx ZynqMP DT file with them. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
There are no drivers for these devices that's why remove that nodes completely. This change is done based on Linux kernel. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Link: https://lore.kernel.org/r/20210308115437.2232847-1-quanyang.wang@windriver.com
-
Michal Simek authored
Convert all boards to use nvmem alias instead of xlnx,eeprom. The change is done based on discussion in the link below. Link: https://lore.kernel.org/r/CAL_JsqLMDqpkyg-Q7mUfw-XH67-v068Q6e9wTq2UOoN=0-_coQ@mail.gmail.com Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Srinivas Neeli authored
As per the design specification "The 16-bit Seconds Calibration Value represents the number of Oscillator Ticks that are required to measure the largest time period that is less than or equal to 1 second. For an oscillator that is 32.768 KHz, this value will be 0x7FFF." Signed-off-by:
Srinivas Neeli <srinivas.neeli@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
psgtr node should be below pinctrl for easier comparion among dts files. That's why move that nodes to different location. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Historically dpdma and dpsub are placed at the end of files. Move nodes there for easier comparison among dts files. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
dp_aclk is not used anywhere that's why remove it. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Trivial patch. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
dwc3 can be used only for higher speeds than super-speed that's why explicitly set it up. This is also aligned with other ZynqMP dts files. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Remove unused phy.h from zc1232 DTS. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Uarts already have u-boot,dm-pre-reloc via zynqmp.dtsi that's why there is no need to have them in platform DT files too. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
There is need to pass entry about secure OS when bl32_entry is defined. Currently only 64bit support is added but /fit-images node have been extended to also record if this is 32bit or 64bit secure OS. When this is tested the code will be update to support this configuration too. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
The first change is to trying to find out TF-A load address based on reading elf file. Expectation is that bl31.bin is in the same folder as bl31.elf. It brings new flexibility to place TF-A to any address (DDR included). And also enable TEE generation also with TEE configuration. Expecation is the same as above that tee.bin and tee.elf are in the same folder. User has to just define link to BL31/BL32 binary files and the rest should be handled by the script. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
TF-A and SecureOS can allocate the part of DDR for self but U-Boot is not handling this configuration that the part of memory is reserved and shouldn't be used by U-Boot. That's why read all reserved memory locations and don't use it. The code was taken from commit 4a1b975d ("board: stm32mp1: reserve memory for OP-TEE in device tree") and commit 1419e5b5 ("stm32mp: update MMU config before the relocation") which is used by stm32 and does the job properly. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Enable command and fixed regulators. XDP platform is using them. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Trivial change for all files I have touched recently. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Add label which is used by bootloader for adding bootloader specific flag. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Link: https://lore.kernel.org/r/3dc8416abdd3498e61edcd83830a12af295c5c6d.1611224800.git.michal.simek@xilinx.com
-
Michal Simek authored
Just sync it with others for easier comparison. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Sata needs to get reset before configuration that's why add property for it there. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Stefano Stabellini authored
The SMMU is disabled in device tree so this change has no impact. The benefit is that this way it is in sync with xen.dtsi. Xen enables the SMMU and makes use of it. Signed-off-by:
Stefano Stabellini <stefano.stabellini@xilinx.com>
-