Skip to contentSkip to conversation

xilinx: DT/Kconfig changes

PATCH New Michal Simek 2 participants 7 messages May 12, 2020 – Jun 25, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover xilinx: DT/Kconfig changes

Hi,

this is small series with misc changes target configs and DTs.

Thanks,
Michal

Ashok Reddy Soma (2):
arm: zynq: Enable alternative memory test
arm64: versal: Enable config to map TCM and OCM

Saeed Nowshadi (1):
arm64: zynqmp: Fix si570 clock output names and references

T Karthik Reddy (2):
arm64: zynqmp: Reduce console buffer size
arm64: zynqmp: Change spi-max-frequency for qspi mini

 arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 10 +++++-----
 arch/arm/dts/zynqmp-mini-qspi.dts       |  2 +-
 configs/xilinx_versal_virt_defconfig    |  1 +
 configs/xilinx_zynq_virt_defconfig      |  1 +
 include/configs/xilinx_zynqmp_mini.h    |  2 ++
 5 files changed, 10 insertions(+), 6 deletions(-)
Signature · 1 line
2.26.2
#1 lore raw

PATCH 1/5 arm: zynq: Enable alternative memory test

From: Ashok Reddy Soma <[email protected]>

Enable alternative memory test for zynq platforms.

---

 configs/xilinx_zynq_virt_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/xilinx_zynq_virt_defconfig +1 -0
index 375d54cbad63..63bb51a73369 100644
@@ -24,6 +24,7 @@ CONFIG_SPL_SPI_LOAD=y
 CONFIG_CMD_IMLS=y
 CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_MEMTEST=y
+CONFIG_SYS_ALT_MEMTEST=y
 CONFIG_SYS_MEMTEST_START=0x00000000
 CONFIG_SYS_MEMTEST_END=0x00001000
 CONFIG_CMD_DFU=y
Signature · 1 line
2.26.2
#2 lore raw

PATCH 2/5 arm64: versal: Enable config to map TCM and OCM

In reply to Michal Simek

From: Ashok Reddy Soma <[email protected]>

Enable CONFIG_DEFINE_TCM_OCM_MMAP to map TCM and OCM memory.

---

 configs/xilinx_versal_virt_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/xilinx_versal_virt_defconfig +1 -0
index 7c20123b66fa..ac1182e77df5 100644
@@ -3,6 +3,7 @@ CONFIG_ARCH_VERSAL=y
 CONFIG_SYS_TEXT_BASE=0x8000000
 CONFIG_SYS_MALLOC_F_LEN=0x100000
 CONFIG_DM_GPIO=y
+CONFIG_DEFINE_TCM_OCM_MMAP=y
 CONFIG_COUNTER_FREQUENCY=62500000
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
Signature · 1 line
2.26.2
#3 lore raw

PATCH 3/5 arm64: zynqmp: Reduce console buffer size

In reply to Michal Simek

From: T Karthik Reddy <[email protected]>

Reduce console buffer size to 1kbyte to accommodate memory allocations in mini u-boot for zynqmp.

---

 include/configs/xilinx_zynqmp_mini.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/xilinx_zynqmp_mini.h +2 -0
index 3078b9c55b52..65c33ed4d94a 100644
@@ -27,5 +27,7 @@
 /* BOOTP options */
 #undef CONFIG_BOOTP_BOOTFILESIZE
 #undef CONFIG_BOOTP_MAY_FAIL
+#undef CONFIG_SYS_CBSIZE
+#define CONFIG_SYS_CBSIZE		1024
 
 #endif /* __CONFIG_ZYNQMP_MINI_H */
Signature · 1 line
2.26.2
#4 lore raw

PATCH 4/5 arm64: zynqmp: Fix si570 clock output names and references

In reply to Michal Simek

From: Saeed Nowshadi <[email protected]>

Align clock output names with node references.

---

 arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
arch/arm/dts/zynqmp-e-a2197-00-revA.dts +5 -5
index bf982e221830..c260411d7571 100644
@@ -2,7 +2,7 @@
 /*
  * dts file for Xilinx Versal a2197 RevA System Controller
  *
- * (C) Copyright 2019, Xilinx, Inc.
+ * (C) Copyright 2019 - 2020, Xilinx, Inc.
  *
  * Michal Simek <[email protected]>
  */
@@ -421,14 +421,14 @@
 				temperature-stability = <50>;
 				factory-fout = <156250000>;
 				clock-frequency = <156250000>;
-				clock-output-names = "si570_hsdp_clk";
+				clock-output-names = "si570_zsfp_clk";
 			};
 		};
 		i2c at 6 { /* USER_SI570_1 */
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <6>;
-			si570_user1_clk: clock-generator at 5d { /* u205 */
+			si570_user1: clock-generator at 5d { /* u205 */
 				#clock-cells = <0>;
 				compatible = "silabs,si570";
 				reg = <0x5f>;
@@ -510,7 +510,7 @@
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <4>;
-			si570_ddr_dimm2: clock-generator at 60 { /* u3 */
+			si570_lpddr4clk2: clock-generator at 60 { /* u3 */
 				#clock-cells = <0>;
 				compatible = "silabs,si570";
 				reg = <0x60>;
@@ -524,7 +524,7 @@
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <5>;
-			si570_lpddr4: clock-generator at 60 { /* u4 */
+			si570_lpddr4clk1: clock-generator at 60 { /* u4 */
 				#clock-cells = <0>;
 				compatible = "silabs,si570";
 				reg = <0x60>;
Signature · 1 line
2.26.2
#5 lore raw

PATCH 5/5 arm64: zynqmp: Change spi-max-frequency for qspi mini

In reply to Michal Simek

From: T Karthik Reddy <[email protected]>

Change mini u-boot qspi spi-max-frequency to 108Mhz, make the frequency similar to full u-boot qspi flash spi-max-frequency.

---

 arch/arm/dts/zynqmp-mini-qspi.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/dts/zynqmp-mini-qspi.dts +1 -1
index c523e8123666..a76e6404661e 100644
@@ -70,7 +70,7 @@
 		reg = <0x0>;
 		spi-tx-bus-width = <1>;
 		spi-rx-bus-width = <4>;
-		spi-max-frequency = <10000000>;
+		spi-max-frequency = <108000000>;
 	};
 };
 
Signature · 1 line
2.26.2
#6 lore raw

cover xilinx: DT/Kconfig changes

In reply to Michal Simek

?t 12. 5. 2020 v 8:55 odes?latel Michal Simek <[email protected]> napsal:

Quoted 27 lines

Hi,

this is small series with misc changes target configs and DTs.

Thanks,
Michal

Ashok Reddy Soma (2):
arm: zynq: Enable alternative memory test
arm64: versal: Enable config to map TCM and OCM

Saeed Nowshadi (1):
arm64: zynqmp: Fix si570 clock output names and references

T Karthik Reddy (2):
arm64: zynqmp: Reduce console buffer size
arm64: zynqmp: Change spi-max-frequency for qspi mini

 arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 10 +++++-----
 arch/arm/dts/zynqmp-mini-qspi.dts       |  2 +-
 configs/xilinx_versal_virt_defconfig    |  1 +
 configs/xilinx_zynq_virt_defconfig      |  1 +
 include/configs/xilinx_zynqmp_mini.h    |  2 ++
 5 files changed, 10 insertions(+), 6 deletions(-)
Quoted 3 lines

--
2.26.2

Applied all.
M

Signature · 5 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs