Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xilinx v2023.01 rebase #230

Draft
wants to merge 119 commits into
base: xlnx_rebase_v2023.01
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
21828b9
arm64: dts: zynqmp: make hw-ecc as the default ecc mode
Jun 6, 2023
737b489
usb: xhci: Workaround to fix the USB halted endpoint issues
Jun 12, 2023
0fa80c0
mtd: spi-nor: Send write enable cmd before write to SR2
Jun 8, 2023
a7d5b0f
arm64: zynqmp: In sc-revB dts add mtd partition for secure OS storage…
Jun 7, 2023
1514a28
watchdog: versal: Use new compatible xlnx,versal-wwdt
michalsimek Jun 13, 2023
54de15e
arm64: versal: Switch to new wwdt DT binding
michalsimek Jun 13, 2023
6bad196
arm64: versal-net: Add support for VNX board
Jun 14, 2023
846a6c7
arm64: versal: rename CPM interrupt-controller
Jun 15, 2023
3421f11
arm64: versal: Add missing DT properties to cpm_pciea
Jun 15, 2023
1922214
arm64: versal: Add DT description for CPM5 Root port for Versal Premium
Jun 15, 2023
93ead31
include: dt-bindings: power: Add TCM,RPU nodes for Versal NET
tarakreddy-xlnx Jan 16, 2023
f1a6392
arm64: versal-net: Add LPD-WWDT to versal-net.dtsi
Jun 13, 2023
e1625c4
spi: zynqmp_qspi: Change flush cache to invalidate cache
Jun 14, 2023
efab4cf
spi: zynqmp_qspi: Workaround for small data cache issue
Jun 14, 2023
690954e
net: zynq_gem: Don't hardcode the MDC clock divisor
Jun 15, 2023
7ec8b70
mtd: spi-nor: Add support for w25q256jwm
Jun 23, 2023
43192d0
arm64: versal_net: Update SPI node for se7
Jun 20, 2023
341a107
arm64: versal: Add no-wp DT property in OSPI flash node
Jun 30, 2023
9e09058
arm64: versal-net: add usb-wakeup interrupt in dwc3 core
PiyushXilinx Jun 28, 2023
b528c05
usb: xhci: Fix the missing 'return' statement
Jul 5, 2023
682b05b
dfu: Add proper dependency for CONFIG_DFU_MMC
Jul 7, 2023
bacc8e5
cmd: thordown: Add proper dependency for CMD_THOR_DOWNLOAD
Jul 9, 2023
ecd5c3d
zynqmp: config: Add proper dependencies for USB
Jul 9, 2023
d36063f
env: Fix default environment saving issue
Jul 4, 2023
8aa8687
xilinx: zynq: Enable fdt apply utility for zynq
Rajukumar45 Jul 10, 2023
c8bbab0
clk: Dont return error when assigned-clocks is empty or missing
Jul 11, 2023
663f70d
test: py: tests: Add qspi flash lock/unlock test
LoveKumarAMD Jun 27, 2023
8b1b695
test: py: tests: Add qspi negative tests
LoveKumarAMD Jun 27, 2023
d627991
arm64: zynqmp: Remove USB description from SC revB/C
michalsimek Jul 12, 2023
2a9ccd9
dm: core: support reading a single indexed u64 value
Jul 19, 2023
0c471b0
mtd: spi-nor: Add parallel and stacked memories support in spi-nor
Jul 19, 2023
8c3ce98
spi: spi-uclass: Read chipselect and restrict capabilities
Jul 19, 2023
de93d9f
spi: zynqmp_qspi: Add parallel memories support in GQSPI driver
Jul 19, 2023
9fd9173
spi: zynq: Add support for parallel-memories and stacked-memories
Jul 19, 2023
e0f8b66
arm64: zynqmp: Add resets property for CAN nodes
Jul 18, 2023
b9500aa
clk: zynqmp: Add set_rate support for gem rx and tsu clks
Jul 19, 2023
dad5b3f
clk: zynqmp: Add gem rx and tsu clocks to return register
Jul 20, 2023
a57cf4f
mtd: spi-nor: Add support for locking on Macronix nor flashes
Jul 21, 2023
2e6f031
mtd: spi-nor: Add support for locking on ISSI nor flashes
Jul 21, 2023
878a0bc
mtd: spi-nor: Add support for locking on GIGADEVICE nor flashes
Jul 21, 2023
351e1d2
mtd: spi-nor: Add support for locking on Spansion nor flashes
Jul 21, 2023
6f16664
dm: core: Remove debug print from of_read_u64_index
Jul 23, 2023
02be7bd
spi: spi-uclass: Move restricting multi_cs_cap code
Jul 23, 2023
059157d
spi: spi-uclass: Don't return error for single cs
Jul 23, 2023
cdb759d
xilinx: versal-net: Remove additional newline in board.c
michalsimek Jul 24, 2023
f8bb110
net: zynq_gem: Add missing newline (upstream sync)
michalsimek Jul 24, 2023
63a62f9
mtd: spi-nor: Update block protection flags for flash parts
Jul 25, 2023
bbfaeca
arm64: versal-net: Remove ref_clk node from VNX board
michalsimek Jul 24, 2023
4fc7edd
arm64: versal-net: Remove xlnx,device_id property from VNX
michalsimek Jul 24, 2023
90e048d
arm64: zynqmp: Rename xlnx,mio_bank to xlnx,mio-bank for DLC21
michalsimek Jul 24, 2023
003fe7e
arm64: xilinx: Replace '_' from clock node names by '-'
michalsimek Jul 24, 2023
449ab28
arm64: zynqmp: Use s/heartbeat_led/heartbeat-led/ for DT node name
michalsimek Jul 24, 2023
ffd048d
arm64: zynqmp: Use s/gtr_sel/gtr-sel/ for DT node name
michalsimek Jul 24, 2023
14df083
arm64: xilinx: Do not use '_' in DT node names
michalsimek Jul 24, 2023
76a6e32
xilinx: versal-net: Do not setup boot_targets if driver is not enabled
Jul 27, 2023
eb00cab
xilinx: versal: Do not setup boot_targets if driver is not enabled
Jul 27, 2023
b3ae5a8
xilinx: zynqmp: Do not setup boot_targets if driver is not enabled
Jul 27, 2023
4889e07
arm64: versal-net: Add sysmon node entry
erimsa Jul 27, 2023
2465cc4
spi: zynq: Configure lqspi register based on memory configuration
Aug 1, 2023
5830d95
arm64: versal: Increase the number of DRAM banks to 36
Aug 2, 2023
89d8278
arm64: zynqmp: Get clock node name back with '_'
michalsimek Aug 2, 2023
07bfd5e
Revert "arm64: xilinx: Replace '_' from clock node names by '-'"
michalsimek Aug 3, 2023
cc911ba
dm: core: ofnode: Add ofnode_read_bootscript_address()
michalsimek Aug 1, 2023
409ea7d
xilinx: board: Add support to pick bootscr address from DT
Aug 1, 2023
40fc929
spi: zynqmp_qpsi: Enable invalidate_cache for ZynqMP and Versal
Aug 3, 2023
8ebda32
dm: core: ofnode: Add ofnode_read_bootscript_flash()
michalsimek Aug 3, 2023
6adb753
xilinx: board: Add support to pick bootscr flash offset/size from DT
michalsimek Aug 3, 2023
f93a3f8
spi: zynqmp_qspi: Clear flag to get updated value
Aug 4, 2023
3f3b4d9
spi: zynq: Clear flags to get updated value
Aug 4, 2023
a87f1a0
mtd: spi-nor: Add spi flash lock config option
Aug 8, 2023
60f030d
arm64: versal: Disable the lock option for mini ospi and qspi
Aug 10, 2023
4f43b59
arm64: zynqmp: Disable the lock option for mini qspi
Aug 10, 2023
f54589a
arm64: versal_net: Disable the lock option for mini ospi and qspi
Aug 10, 2023
1fb41f4
firmware: zynqmp: Add support to check feature
Aug 10, 2023
62ef61f
pinctrl: zynqmp: Add version check for TRISTATE configuration
Aug 10, 2023
b07458b
pinctrl: zynqmp: Add support for output-enable and bias-high-impedance
Aug 9, 2023
50769df
clk: versal: Fix the function versal_clock_ref
Aug 16, 2023
25a7289
dm: core: ofnode: Change the log message to debug
Aug 17, 2023
3e40b3c
arm64: zynqmp: Update ECAM size to discover up to 256 buses
Aug 17, 2023
a32aadb
spi: spi-uclass: Add dev_read_u32() if reg property is not an array
Aug 21, 2023
f6214e9
arm64:versal_net: Add jedec compatible string for SPI flash
Aug 21, 2023
ce3aa5c
arm64: zynqmp: Enable the config CMD_KASLRSEED
Aug 23, 2023
5af51af
arm64: versal-net: Fix sysmon interrupt number
erimsa Aug 29, 2023
4bb0c6c
mtd: spi-nor: Fix the giga_get_locked_range api
Sep 4, 2023
d9c6218
cmd: sf: Fix the flash_is_unlocked api size parameter
Sep 4, 2023
348799b
arm64: zynqmp: Add output-enable pins to SOMs
nealfrager Aug 31, 2023
ae520c3
mtd: spi-nor: Fix the issi_get_locked_range api
Sep 5, 2023
8da40f8
mtd: spi-nor: Update block protection flags for spansion flash
Sep 8, 2023
ddaf9cd
arm64: versal-net: Add dts files for mini u-boot qspi and ospi config…
Sep 8, 2023
5e0cdf3
net: phy: xilinx-gmii2rgmii: Removed hardcoded phy address 0 for bridge
Sep 15, 2023
0fc19ca
net: zynq_gem: Update the MDC clock divisor in the probe function
Sep 21, 2023
01d0959
[FIO toup] arm64: zynqmp: add cmd for adjusting multiboot register
igoropaniuk Sep 10, 2021
bff6d87
[FIO toup] spl: mmc: support dynamic spl payload name on fs
igoropaniuk Oct 5, 2021
9cf6035
[FIO toup] zynqmp: detect spl payload based on multiboot offset value
igoropaniuk Oct 5, 2021
fff45ee
[FIO toup] arm64: zynqmp: add cmd for getting boot auth state
igoropaniuk Oct 6, 2021
37aaa2d
[FIO fromlist] spl: Add CONFIG_SPL_FIT_SIGNATURE_STRICT
hbeberman Sep 16, 2021
c98e5ab
[FIO fromlist] cmd: Add CONFIG_FIT_SIGNATURE_STRICT
ricardosalveti Sep 16, 2021
e19963a
[FIO toup] drivers: rpmb: replicate linux mmc configuration
ldts Nov 14, 2019
83cf339
[FIO toup] drivers: rpmb: use cache aligned buffers on route commands
ldts Nov 14, 2019
81d2d31
[FIO extras] spl: mmc: only load legacy if set
ricardosalveti Aug 20, 2020
8e1e082
[FIO internal] common: foundries.io verified boot utility
ldts Nov 11, 2019
a9a0279
[FIO extras] fit: verify: abort if signature not found and strict
ricardosalveti Aug 20, 2020
919cf57
[FIO fromlist] xilinx: zynqmp: Config non zero SYS_SPI_U_BOOT_OFFS
Jul 29, 2021
f4107cf
[FIO toup] zynqmp: add dynamic detection of fit image spi offset
igoropaniuk Nov 2, 2021
0de3864
[FIO toup] zynqmp: add config options for boot image offsets
igoropaniuk Dec 9, 2021
53c43c6
[FIO toup] zynqmp: multi_boot cmd valid value check
igoropaniuk Dec 9, 2021
34f31b6
[FIO toup-squash] zynqmp: do_multi_boot: fix error output
igoropaniuk Dec 10, 2021
a51e7fc
[FIO toup] zynqmp: set modeboot unconditionally
igoropaniuk Dec 10, 2021
5ae7502
[FIO toup] zynqmp: rename SPI_SUPPORT symbol
igoropaniuk Jan 20, 2022
a6ad755
[FIO toup] board: zynqmp: allow env in fat/ext when booting out of qspi
ricardosalveti Feb 14, 2022
af0702b
[FIO toup] zynqmp: multi_boot cmd valid value check adjustments
igoropaniuk Apr 21, 2022
cd32bc4
[FIO internal] arm64: zynqmp: add bootslot command
igoropaniuk Apr 14, 2022
09cde4a
[FIO internal] arm64: zynqmp: bootslot: clean-up after spi ops
igoropaniuk May 27, 2022
fe09b53
[FIO toup] arm64: zynqmp: add OP-TEE nodes
ricardosalveti Aug 30, 2022
82428b1
[FIO toup] arm64: versal: add OP-TEE nodes
ricardosalveti Aug 30, 2022
ee5179c
[FIO fromtree] i2c: fix stack buffer overflow vulnerability in i2c md…
Jun 10, 2022
2916938
zynqmp: improve multi_boot cmd
igoropaniuk Sep 20, 2022
40a542b
Revert "[FIO internal] arm64: zynqmp: bootslot: clean-up after spi ops"
quaresmajose Sep 7, 2023
f081c3c
Revert "[FIO internal] arm64: zynqmp: add bootslot command"
quaresmajose Sep 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions arch/arm/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ dtb-$(CONFIG_ARCH_VERSAL_NET) += \
versal-net-ipp-rev1.9.dtb \
versal-net-ipp-rev1.9-ospi.dtb \
versal-net-vn-p-b2197-00-revA.dtb \
versal-net-vn-x-b2197-00-revA.dtb \
x-prc-07-revA.dtbo \
x-prc-07-i3c-revA.dtbo \
x-prc-08-revA.dtbo \
Expand All @@ -479,7 +480,14 @@ dtb-$(CONFIG_ARCH_VERSAL_NET) += \
versal-net-mini.dtb \
versal-net-mini-emmc.dtb \
versal-net-mini-ospi-single.dtb \
versal-net-mini-ospi-stacked.dtb \
versal-net-mini-qspi-parallel.dtb \
versal-net-mini-qspi-single.dtb \
versal-net-mini-qspi-stacked.dtb \
versal-net-mini-qspi-x1-single.dtb \
versal-net-mini-qspi-x1-stacked.dtb \
versal-net-mini-qspi-x2-single.dtb \
versal-net-mini-qspi-x2-stacked.dtb \
xilinx-versal-net-virt.dtb
dtb-$(CONFIG_ARCH_ZYNQMP_R5) += \
zynqmp-r5.dtb
Expand Down
1 change: 1 addition & 0 deletions arch/arm/dts/versal-mini-ospi.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
spi-tx-bus-width = <8>;
spi-rx-bus-width = <8>;
spi-max-frequency = <20000000>;
no-wp;
};
};
};
Expand Down
12 changes: 11 additions & 1 deletion arch/arm/dts/versal-net-clk-ccf.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
};
};

zynqmp_ipi {
zynqmp-ipi {
compatible = "xlnx,zynqmp-ipi-mailbox";
interrupt-parent = <&gic>;
interrupts = <0 57 4>;
Expand Down Expand Up @@ -407,3 +407,13 @@
clocks = <&versal_net_clk FPD_WWDT>;
power-domains = <&versal_net_firmware PM_DEV_FPD_SWDT_3>;
};

&lpd_wwdt0 {
clocks = <&versal_net_clk LPD_WWDT>;
power-domains = <&versal_net_firmware PM_DEV_LPD_SWDT_0>;
};

&lpd_wwdt1 {
clocks = <&versal_net_clk LPD_WWDT>;
power-domains = <&versal_net_firmware PM_DEV_LPD_SWDT_1>;
};
8 changes: 8 additions & 0 deletions arch/arm/dts/versal-net-clk.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -231,3 +231,11 @@
&wwdt3 {
clocks = <&clk150>;
};

&lpd_wwdt0 {
clocks = <&clk150>;
};

&lpd_wwdt1 {
clocks = <&clk150>;
};
23 changes: 6 additions & 17 deletions arch/arm/dts/versal-net-ipp-rev1.9.dts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
};
};

zynqmp_ipi {
zynqmp-ipi {
compatible = "xlnx,zynqmp-ipi-mailbox";
interrupts = <0 57 4>;
xlnx,ipi-id = <2>;
Expand Down Expand Up @@ -477,6 +477,7 @@
spi-rx-bus-width = <8>;
spi-max-frequency = <5000000>;
broken-flash-reset;
no-wp;

partitions {
compatible = "fixed-partitions";
Expand Down Expand Up @@ -733,49 +734,37 @@
};

wwdt0: watchdog@ecc10000 {
compatible = "xlnx,versal-wwdt-1.0";
compatible = "xlnx,versal-wwdt";
status = "okay";
reg = <0 0xecc10000 0 0x10000>;
interrupt-names = "wdt", "wwdt_reset_pending";
interrupts = <0 139 1>, <0 140 1>;
timeout-sec = <30>;
pretimeout-sec = <25>;
clocks = <&versal_net_clk FPD_WWDT>;
power-domains = <&versal_net_firmware PM_DEV_FPD_SWDT_0>;
};

wwdt1: watchdog@ecd10000 {
compatible = "xlnx,versal-wwdt-1.0";
compatible = "xlnx,versal-wwdt";
status = "okay";
reg = <0 0xecd10000 0 0x10000>;
interrupt-names = "wdt", "wwdt_reset_pending";
interrupts = <0 143 1>, <0 144 1>;
timeout-sec = <30>;
pretimeout-sec = <25>;
clocks = <&versal_net_clk FPD_WWDT>;
power-domains = <&versal_net_firmware PM_DEV_FPD_SWDT_1>;
};

wwdt2: watchdog@ece10000 {
compatible = "xlnx,versal-wwdt-1.0";
compatible = "xlnx,versal-wwdt";
status = "okay";
reg = <0 0xece10000 0 0x10000>;
interrupt-names = "wdt", "wwdt_reset_pending";
interrupts = <0 147 1>, <0 148 1>;
timeout-sec = <30>;
pretimeout-sec = <25>;
clocks = <&versal_net_clk FPD_WWDT>;
power-domains = <&versal_net_firmware PM_DEV_FPD_SWDT_2>;
};

wwdt3: watchdog@ecf10000 {
compatible = "xlnx,versal-wwdt-1.0";
compatible = "xlnx,versal-wwdt";
status = "okay";
reg = <0 0xecf10000 0 0x10000>;
interrupt-names = "wdt", "wwdt_reset_pending";
interrupts = <0 164 1>, <0 165 1>;
timeout-sec = <30>;
pretimeout-sec = <25>;
clocks = <&versal_net_clk FPD_WWDT>;
power-domains = <&versal_net_firmware PM_DEV_FPD_SWDT_3>;
};
Expand Down
18 changes: 18 additions & 0 deletions arch/arm/dts/versal-net-mini-ospi-stacked.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Xilinx Versal NET OSPI Quad Stacked DTS
*
* (C) Copyright 2023, Advanced Micro Devices, Inc.
*/

#include "versal-net-mini-ospi.dtsi"

/ {
model = "Xilinx Versal NET MINI OSPI STACKED";
};

&flash0 {
reg = <0>, <1>;
stacked-memories = /bits/ 64 <0x8000000 0x8000000>; /* 128MB */
spi-rx-bus-width = <8>;
};
1 change: 1 addition & 0 deletions arch/arm/dts/versal-net-mini-ospi.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
spi-tx-bus-width = <8>;
spi-rx-bus-width = <8>;
spi-max-frequency = <20000000>;
no-wp;
};
};
};
Expand Down
18 changes: 18 additions & 0 deletions arch/arm/dts/versal-net-mini-qspi-parallel.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Xilinx Versal NET QSPI Quad Parallel DTS
*
* (C) Copyright 2023, Advanced Micro Devices, Inc.
*/

#include "versal-net-mini-qspi.dtsi"

/ {
model = "Xilinx Versal NET MINI QSPI PARALLEL";
};

&flash0 {
reg = <0>, <1>;
parallel-memories = /bits/ 64 <0x8000000 0x8000000>; /* 128MB */
spi-rx-bus-width = <4>;
};
18 changes: 18 additions & 0 deletions arch/arm/dts/versal-net-mini-qspi-stacked.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Xilinx Versal NET QSPI Quad Stacked DTS
*
* (C) Copyright 2023, Advanced Micro Devices, Inc.
*/

#include "versal-net-mini-qspi.dtsi"

/ {
model = "Xilinx Versal NET MINI QSPI STACKED";
};

&flash0 {
reg = <0>, <1>;
stacked-memories = /bits/ 64 <0x8000000 0x8000000>; /* 128MB */
spi-rx-bus-width = <4>;
};
17 changes: 17 additions & 0 deletions arch/arm/dts/versal-net-mini-qspi-x1-single.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Xilinx Versal NET QSPI x1 Single DTS
*
* (C) Copyright 2023, Advanced Micro Devices, Inc.
*/

#include "versal-net-mini-qspi.dtsi"

/ {
model = "Xilinx Versal NET MINI QSPI X1 SINGLE";
};

&flash0 {
spi-tx-bus-width = <1>;
spi-rx-bus-width = <1>;
};
19 changes: 19 additions & 0 deletions arch/arm/dts/versal-net-mini-qspi-x1-stacked.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Xilinx Versal NET QSPI x1 Stacked DTS
*
* (C) Copyright 2023, Advanced Micro Devices, Inc.
*/

#include "versal-net-mini-qspi.dtsi"

/ {
model = "Xilinx Versal NET MINI QSPI X1 STACKED";
};

&flash0 {
reg = <0>, <1>;
stacked-memories = /bits/ 64 <0x8000000 0x8000000>; /* 128MB */
spi-tx-bus-width = <1>;
spi-rx-bus-width = <1>;
};
17 changes: 17 additions & 0 deletions arch/arm/dts/versal-net-mini-qspi-x2-single.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Xilinx Versal NET QSPI x2 Single DTS
*
* (C) Copyright 2023, Advanced Micro Devices, Inc.
*/

#include "versal-net-mini-qspi.dtsi"

/ {
model = "Xilinx Versal NET MINI QSPI X2 SINGLE";
};

&flash0 {
spi-tx-bus-width = <2>;
spi-rx-bus-width = <2>;
};
19 changes: 19 additions & 0 deletions arch/arm/dts/versal-net-mini-qspi-x2-stacked.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Xilinx Versal NET QSPI x2 Stacked DTS
*
* (C) Copyright 2023, Advanced Micro Devices, Inc.
*/

#include "versal-net-mini-qspi.dtsi"

/ {
model = "Xilinx Versal NET MINI QSPI X2 STACKED";
};

&flash0 {
reg = <0>, <1>;
stacked-memories = /bits/ 64 <0x8000000 0x8000000>; /* 128MB */
spi-tx-bus-width = <2>;
spi-rx-bus-width = <2>;
};
Loading