Skip to contentSkip to conversation

xilinx: Sync DTs with Xilinx tree

PATCH Applied Michal Simek 1 participant 7 messages Sep 11, 2023 – Sep 18, 2023

Subsystems (2)
lore
Share & tools
lore

Michal Simek

author maintainer
#0 lore raw

cover xilinx: Sync DTs with Xilinx tree

Hi,

I am sending patches which I found are not sent out yet.
These 5 patches are fixing typos or incorrect device description or adding already defined properties.

Thanks,
Michal

Amit Kumar Mahapatra (1):
arm64: versal: Add no-wp DT property in OSPI flash node

Michal Simek (1):
arm64: zynqmp: Rename xlnx,mio_bank to xlnx,mio-bank for DLC21

Saeed Nowshadi (1):
arm64: zynqmp: Fix i2c address for si570_user1 clock

Srinivas Neeli (1):
arm64: zynqmp: Add resets property for CAN nodes

Thippeswamy Havalige (1):
arm64: zynqmp: Update ECAM size to discover up to 256 buses

 arch/arm/dts/versal-mini-ospi.dtsi      | 1 +
 arch/arm/dts/versal-net-mini-ospi.dtsi  | 1 +
 arch/arm/dts/zynqmp-dlc21-revA.dts      | 4 ++--
 arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 7 ++++---
 arch/arm/dts/zynqmp.dtsi                | 4 +++-
 5 files changed, 11 insertions(+), 6 deletions(-)
Signature · 1 line
2.36.1
author maintainer
#1 lore raw

PATCH 1/5 arm64: zynqmp: Rename xlnx, mio_bank to xlnx, mio-bank for DLC21

xlnx,mio_bank was used in past but it was renamed to xlnx,mio-bank because '_' in property shoudln't be used. There is no impact on the platform because if the properly is not defined bank 0 is default. Bank 0 and 1 have the same configuration that's why there shouldn't be any issue.

---

 arch/arm/dts/zynqmp-dlc21-revA.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/dts/zynqmp-dlc21-revA.dts +2 -2
index 1b247bfa8944..016081ef7b99 100644
@@ -61,14 +61,14 @@
 	non-removable;
 	disable-wp;
 	bus-width = <8>;
-	xlnx,mio_bank = <0>;
+	xlnx,mio-bank = <0>;
 };
 
 &sdhci1 { /* sd1 MIO45-51 cd in place */
 	status = "okay";
 	no-1-8-v;
 	disable-wp;
-	xlnx,mio_bank = <1>;
+	xlnx,mio-bank = <1>;
 };
 
 &psgtr {
Signature · 1 line
2.36.1
author maintainer
#2 lore raw

PATCH 2/5 arm64: versal: Add no-wp DT property in OSPI flash node

In reply to Michal Simek

From: Amit Kumar Mahapatra <[email protected]>

Added no-wp DT property in OSPI flash node for all board dts & dtsi files on which the WP# signal of the OSPI flash device is not connected. If this property is set, then the software will avoid setting the status register write disable (SRWD) bit in status register during status register write operation.

---

 arch/arm/dts/versal-mini-ospi.dtsi     | 1 +
 arch/arm/dts/versal-net-mini-ospi.dtsi | 1 +
 2 files changed, 2 insertions(+)
arch/arm/dts/versal-mini-ospi.dtsi +1 -0
index 19caea7368a0..5683a2306bde 100644
@@ -57,6 +57,7 @@
 				spi-tx-bus-width = <8>;
 				spi-rx-bus-width = <8>;
 				spi-max-frequency = <20000000>;
+				no-wp;
 			};
 		};
 	};
arch/arm/dts/versal-net-mini-ospi.dtsi +1 -0
index ce8e2158f6ed..5d188db62d92 100644
@@ -72,6 +72,7 @@
 				spi-tx-bus-width = <8>;
 				spi-rx-bus-width = <8>;
 				spi-max-frequency = <20000000>;
+				no-wp;
 			};
 		};
 	};
Signature · 1 line
2.36.1
author maintainer
#3 lore raw

PATCH 3/5 arm64: zynqmp: Fix i2c address for si570_user1 clock

In reply to Michal Simek

From: Saeed Nowshadi <[email protected]>

Correct the i2c address for si570 oscillator that generates the si570_user1 clock. i2c address was changed by commit b6a8c603d680 ("arm64: zynqmp: Fix i2c addresses for vck190 SC") because address in node name wasn't aligned with reg property. But actual 0x5f address is correct which is quite rare because all other si570s are at 0x5d.

---

 arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
arch/arm/dts/zynqmp-e-a2197-00-revA.dts +4 -3
index bf6ffb778b6a..bf7569c6dda5 100644
@@ -2,7 +2,8 @@
 /*
  * dts file for Xilinx Versal a2197 RevA System Controller
  *
- * (C) Copyright 2019 - 2021, Xilinx, Inc.
+ * (C) Copyright 2019 - 2022, Xilinx, Inc.
+ * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc.
  *
  * Michal Simek <[email protected]>
  */
@@ -460,10 +461,10 @@
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <6>;
-			si570_user1: clock-generator@5d { /* u205 */
+			si570_user1: clock-generator@5f { /* u205 */
 				#clock-cells = <0>;
 				compatible = "silabs,si570";
-				reg = <0x5d>;
+				reg = <0x5f>;
 				temperature-stability = <50>;
 				factory-fout = <100000000>;
 				clock-frequency = <100000000>;
Signature · 1 line
2.36.1
author maintainer
#4 lore raw

PATCH 4/5 arm64: zynqmp: Add resets property for CAN nodes

In reply to Michal Simek

From: Srinivas Neeli <[email protected]>

Added resets property for CAN nodes.

---

 arch/arm/dts/zynqmp.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/dts/zynqmp.dtsi +2 -0
index 355f360281b5..a71875755bc0 100644
@@ -262,6 +262,7 @@
 			interrupt-parent = <&gic>;
 			tx-fifo-depth = <0x40>;
 			rx-fifo-depth = <0x40>;
+			resets = <&zynqmp_reset ZYNQMP_RESET_CAN0>;
 			power-domains = <&zynqmp_firmware PD_CAN_0>;
 		};
 
@@ -274,6 +275,7 @@
 			interrupt-parent = <&gic>;
 			tx-fifo-depth = <0x40>;
 			rx-fifo-depth = <0x40>;
+			resets = <&zynqmp_reset ZYNQMP_RESET_CAN1>;
 			power-domains = <&zynqmp_firmware PD_CAN_1>;
 		};
 
Signature · 1 line
2.36.1
author maintainer
#5 lore raw

PATCH 5/5 arm64: zynqmp: Update ECAM size to discover up to 256 buses

In reply to Michal Simek

From: Thippeswamy Havalige <[email protected]>

Update ECAM size to discover up to 256 buses

---

 arch/arm/dts/zynqmp.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/dts/zynqmp.dtsi +1 -1
index a71875755bc0..79c5af241104 100644
@@ -678,7 +678,7 @@
 			msi-parent = <&pcie>;
 			reg = <0x0 0xfd0e0000 0x0 0x1000>,
 			      <0x0 0xfd480000 0x0 0x1000>,
-			      <0x80 0x00000000 0x0 0x1000000>;
+			      <0x80 0x00000000 0x0 0x10000000>;
 			reg-names = "breg", "pcireg", "cfg";
 			ranges = <0x02000000 0x00000000 0xe0000000 0x00000000 0xe0000000 0x00000000 0x10000000>,/* non-prefetchable memory */
 				 <0x43000000 0x00000006 0x00000000 0x00000006 0x00000000 0x00000002 0x00000000>;/* prefetchable memory */
Signature · 1 line
2.36.1
author maintainer Applied
#6 lore raw
In reply to Michal Simek
Quoted 25 lines · Michal Simek

Hi,

I am sending patches which I found are not sent out yet.
These 5 patches are fixing typos or incorrect device description or adding already defined properties.

Thanks,
Michal

Amit Kumar Mahapatra (1):
arm64: versal: Add no-wp DT property in OSPI flash node

Michal Simek (1):
arm64: zynqmp: Rename xlnx,mio_bank to xlnx,mio-bank for DLC21

Saeed Nowshadi (1):
arm64: zynqmp: Fix i2c address for si570_user1 clock

Srinivas Neeli (1):
arm64: zynqmp: Add resets property for CAN nodes

Thippeswamy Havalige (1):
arm64: zynqmp: Update ECAM size to discover up to 256 buses

Quoted 7 lines
  arch/arm/dts/versal-mini-ospi.dtsi      | 1 +
  arch/arm/dts/versal-net-mini-ospi.dtsi  | 1 +
  arch/arm/dts/zynqmp-dlc21-revA.dts      | 4 ++--
  arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 7 ++++---
  arch/arm/dts/zynqmp.dtsi                | 4 +++-
  5 files changed, 11 insertions(+), 6 deletions(-)

Applied.
M