* [PATCH 00/12] arm64: zynqmp: Update description for Kria
@ 2024-05-27 9:34 Michal Simek
2024-05-27 9:34 ` [PATCH 01/12] arm64: zynqmp: Align nvmem node with dt schema Michal Simek
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: Michal Simek @ 2024-05-27 9:34 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Conor Dooley, Krzysztof Kozlowski, Rob Herring,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/ZYNQ ARCHITECTURE
Hi,
over last couple of months dt bindings have been updated but dtbs didn't
reflect it that's why I have created this series to match description used
in U-Boot to be able to switch to OF_UPSTREAM for ZynqMP platforms.
There are still small missing part regarding usb peer hub and MTD layouts
for other boards.
The rest should be in sync already.
Thanks,
Michal
Michal Simek (9):
arm64: zynqmp: Align nvmem node with dt schema
arm64: zynqmp: Use fpga-region as node name
arm64: zynqmp: Add missing description for efuses
arm64: zynqmp: Describe USB wakeup interrupt
arm64: zynqmp: Describe OCM controller
arm64: zynqmp: Remove address/size-cells from ams node
arm64: zynqmp: Add compatible string for kv260
arm64: zynqmp: Add description for ina260 on kv260
arm64: zynqmp: Add support for K26 rev2 boards
Tejas Bhumkar (1):
arm64: zynqmp: Disable Tri-state for SDIO
Vishal Patel (1):
arm64: zynqmp: Add pwm-fan node and fix ttc0 pwm-cells property
Vishal Sagar (1):
arm64: zynqmp: Describe DisplayPort connector for Kria
.../boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 19 +++-
.../boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 41 ++++++++-
.../boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 19 +++-
.../boot/dts/xilinx/zynqmp-smk-k26-revA.dts | 8 +-
arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 91 ++++++++++++++++---
5 files changed, 156 insertions(+), 22 deletions(-)
--
2.40.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH 01/12] arm64: zynqmp: Align nvmem node with dt schema
2024-05-27 9:34 [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
@ 2024-05-27 9:34 ` Michal Simek
2024-05-27 9:34 ` [PATCH 02/12] arm64: zynqmp: Use fpga-region as node name Michal Simek
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Michal Simek @ 2024-05-27 9:34 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Conor Dooley, Krzysztof Kozlowski, Rob Herring,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/ZYNQ ARCHITECTURE
Use new soc-nvmem node name and swich to nvmem fixed layout.
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index ef31b0fc73d1..7a5388b7ec6d 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -207,13 +207,16 @@ zynqmp_power: power-management {
mbox-names = "tx", "rx";
};
- nvmem-firmware {
+ soc-nvmem {
compatible = "xlnx,zynqmp-nvmem-fw";
- #address-cells = <1>;
- #size-cells = <1>;
-
- soc_revision: soc-revision@0 {
- reg = <0x0 0x4>;
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ soc_revision: soc-revision@0 {
+ reg = <0x0 0x4>;
+ };
};
};
--
2.40.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 02/12] arm64: zynqmp: Use fpga-region as node name
2024-05-27 9:34 [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
2024-05-27 9:34 ` [PATCH 01/12] arm64: zynqmp: Align nvmem node with dt schema Michal Simek
@ 2024-05-27 9:34 ` Michal Simek
2024-05-27 9:34 ` [PATCH 03/12] arm64: zynqmp: Add missing description for efuses Michal Simek
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Michal Simek @ 2024-05-27 9:34 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Conor Dooley, Krzysztof Kozlowski, Rob Herring,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/ZYNQ ARCHITECTURE
Based on commit 85f838adad54 ("dt-bindings: fpga: Convert fpga-region
binding to yaml") fpga/programmable logic should use fpga-region as node
name that's why move to it.
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index 7a5388b7ec6d..9e9a76fca098 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -255,7 +255,7 @@ timer {
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
};
- fpga_full: fpga-full {
+ fpga_full: fpga-region {
compatible = "fpga-region";
fpga-mgr = <&zynqmp_pcap>;
#address-cells = <2>;
--
2.40.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 03/12] arm64: zynqmp: Add missing description for efuses
2024-05-27 9:34 [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
2024-05-27 9:34 ` [PATCH 01/12] arm64: zynqmp: Align nvmem node with dt schema Michal Simek
2024-05-27 9:34 ` [PATCH 02/12] arm64: zynqmp: Use fpga-region as node name Michal Simek
@ 2024-05-27 9:34 ` Michal Simek
2024-05-27 9:34 ` [PATCH 04/12] arm64: zynqmp: Describe USB wakeup interrupt Michal Simek
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Michal Simek @ 2024-05-27 9:34 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Conor Dooley, Krzysztof Kozlowski, Rob Herring,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/ZYNQ ARCHITECTURE
The commit 737c0c8d07b5 ("nvmem: zynqmp_nvmem: Add support to access
efuse") added support for efuses that's why also describe them in DT.
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 55 ++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index 9e9a76fca098..c82275f1e79c 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -217,6 +217,61 @@ nvmem-layout {
soc_revision: soc-revision@0 {
reg = <0x0 0x4>;
};
+ /* efuse access */
+ efuse_dna: efuse-dna@c {
+ reg = <0xc 0xc>;
+ };
+ efuse_usr0: efuse-usr0@20 {
+ reg = <0x20 0x4>;
+ };
+ efuse_usr1: efuse-usr1@24 {
+ reg = <0x24 0x4>;
+ };
+ efuse_usr2: efuse-usr2@28 {
+ reg = <0x28 0x4>;
+ };
+ efuse_usr3: efuse-usr3@2c {
+ reg = <0x2c 0x4>;
+ };
+ efuse_usr4: efuse-usr4@30 {
+ reg = <0x30 0x4>;
+ };
+ efuse_usr5: efuse-usr5@34 {
+ reg = <0x34 0x4>;
+ };
+ efuse_usr6: efuse-usr6@38 {
+ reg = <0x38 0x4>;
+ };
+ efuse_usr7: efuse-usr7@3c {
+ reg = <0x3c 0x4>;
+ };
+ efuse_miscusr: efuse-miscusr@40 {
+ reg = <0x40 0x4>;
+ };
+ efuse_chash: efuse-chash@50 {
+ reg = <0x50 0x4>;
+ };
+ efuse_pufmisc: efuse-pufmisc@54 {
+ reg = <0x54 0x4>;
+ };
+ efuse_sec: efuse-sec@58 {
+ reg = <0x58 0x4>;
+ };
+ efuse_spkid: efuse-spkid@5c {
+ reg = <0x5c 0x4>;
+ };
+ efuse_aeskey: efuse-aeskey@60 {
+ reg = <0x60 0x20>;
+ };
+ efuse_ppk0hash: efuse-ppk0hash@a0 {
+ reg = <0xa0 0x30>;
+ };
+ efuse_ppk1hash: efuse-ppk1hash@d0 {
+ reg = <0xd0 0x30>;
+ };
+ efuse_pufuser: efuse-pufuser@100 {
+ reg = <0x100 0x7F>;
+ };
};
};
--
2.40.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 04/12] arm64: zynqmp: Describe USB wakeup interrupt
2024-05-27 9:34 [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
` (2 preceding siblings ...)
2024-05-27 9:34 ` [PATCH 03/12] arm64: zynqmp: Add missing description for efuses Michal Simek
@ 2024-05-27 9:34 ` Michal Simek
2024-05-27 9:34 ` [PATCH 05/12] arm64: zynqmp: Describe OCM controller Michal Simek
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Michal Simek @ 2024-05-27 9:34 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Conor Dooley, Krzysztof Kozlowski, Rob Herring,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/ZYNQ ARCHITECTURE
Describe usb wakeup interrupt.
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index c82275f1e79c..90fccae7ff5f 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -1054,10 +1054,11 @@ dwc3_0: usb@fe200000 {
status = "disabled";
reg = <0x0 0xfe200000 0x0 0x40000>;
interrupt-parent = <&gic>;
- interrupt-names = "host", "peripheral", "otg";
+ interrupt-names = "host", "peripheral", "otg", "wakeup";
interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
+ <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "ref";
/* iommus = <&smmu 0x860>; */
snps,quirk-frame-length-adjustment = <0x20>;
@@ -1085,10 +1086,11 @@ dwc3_1: usb@fe300000 {
status = "disabled";
reg = <0x0 0xfe300000 0x0 0x40000>;
interrupt-parent = <&gic>;
- interrupt-names = "host", "peripheral", "otg";
+ interrupt-names = "host", "peripheral", "otg", "wakeup";
interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
- <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
+ <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "ref";
/* iommus = <&smmu 0x861>; */
snps,quirk-frame-length-adjustment = <0x20>;
--
2.40.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 05/12] arm64: zynqmp: Describe OCM controller
2024-05-27 9:34 [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
` (3 preceding siblings ...)
2024-05-27 9:34 ` [PATCH 04/12] arm64: zynqmp: Describe USB wakeup interrupt Michal Simek
@ 2024-05-27 9:34 ` Michal Simek
2024-05-27 9:34 ` [PATCH 06/12] arm64: zynqmp: Remove address/size-cells from ams node Michal Simek
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Michal Simek @ 2024-05-27 9:34 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Conor Dooley, Krzysztof Kozlowski, Rob Herring,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/ZYNQ ARCHITECTURE
Describe OCM controller which brings EDAC functionality.
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index 90fccae7ff5f..27adead77220 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -799,6 +799,13 @@ i2c1: i2c@ff030000 {
power-domains = <&zynqmp_firmware PD_I2C_1>;
};
+ ocm: memory-controller@ff960000 {
+ compatible = "xlnx,zynqmp-ocmc-1.0";
+ reg = <0x0 0xff960000 0x0 0x1000>;
+ interrupt-parent = <&gic>;
+ interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
pcie: pcie@fd0e0000 {
compatible = "xlnx,nwl-pcie-2.11";
status = "disabled";
--
2.40.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 06/12] arm64: zynqmp: Remove address/size-cells from ams node
2024-05-27 9:34 [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
` (4 preceding siblings ...)
2024-05-27 9:34 ` [PATCH 05/12] arm64: zynqmp: Describe OCM controller Michal Simek
@ 2024-05-27 9:34 ` Michal Simek
2024-05-27 9:34 ` [PATCH 07/12] arm64: zynqmp: Disable Tri-state for SDIO Michal Simek
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Michal Simek @ 2024-05-27 9:34 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Conor Dooley, Krzysztof Kozlowski, Rob Herring,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/ZYNQ ARCHITECTURE
Remove unused address/size-cells properties without defining child.
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index 27adead77220..a121afb8231c 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -1146,8 +1146,6 @@ ams_pl: ams-pl@400 {
compatible = "xlnx,zynqmp-ams-pl";
status = "disabled";
reg = <0x400 0x400>;
- #address-cells = <1>;
- #size-cells = <0>;
};
};
--
2.40.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 07/12] arm64: zynqmp: Disable Tri-state for SDIO
2024-05-27 9:34 [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
` (5 preceding siblings ...)
2024-05-27 9:34 ` [PATCH 06/12] arm64: zynqmp: Remove address/size-cells from ams node Michal Simek
@ 2024-05-27 9:34 ` Michal Simek
2024-05-27 9:34 ` [PATCH 08/12] arm64: zynqmp: Add compatible string for kv260 Michal Simek
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Michal Simek @ 2024-05-27 9:34 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Tejas Bhumkar, Conor Dooley, Krzysztof Kozlowski, Rob Herring,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/ZYNQ ARCHITECTURE
From: Tejas Bhumkar <tejas.arvind.bhumkar@amd.com>
Since the zynqmp pinctrl driver now includes support for the
tri-state registers, ensure that the pins needing output-enable
are correctly configured for SOMs.
Currently, there is an issue with the detection of the MMC for
the SOM kv260, resulting in the following error:
ZynqMP> mmc dev 1
Card did not respond to voltage select! : -110
To address this problem, configure the SDIO pins for output-enable
to enable MMC detection.
Signed-off-by: Tejas Bhumkar <tejas.arvind.bhumkar@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 1 +
arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
index d7535a77b45e..a09909a6f885 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
@@ -321,6 +321,7 @@ conf {
slew-rate = <SLEW_RATE_SLOW>;
power-source = <IO_STANDARD_LVCMOS18>;
bias-disable;
+ output-enable;
};
conf-cd {
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
index a7b8fffad499..b3b8875f8f7a 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
@@ -305,6 +305,7 @@ conf {
slew-rate = <SLEW_RATE_SLOW>;
power-source = <IO_STANDARD_LVCMOS18>;
bias-disable;
+ output-enable;
};
conf-cd {
--
2.40.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 08/12] arm64: zynqmp: Add compatible string for kv260
2024-05-27 9:34 [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
` (6 preceding siblings ...)
2024-05-27 9:34 ` [PATCH 07/12] arm64: zynqmp: Disable Tri-state for SDIO Michal Simek
@ 2024-05-27 9:34 ` Michal Simek
2024-05-27 9:34 ` [PATCH 09/12] arm64: zynqmp: Add description for ina260 on kv260 Michal Simek
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Michal Simek @ 2024-05-27 9:34 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Conor Dooley, Krzysztof Kozlowski, Rob Herring,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/ZYNQ ARCHITECTURE
The commit dbcd27526e6a ("dt-bindings: soc: xilinx: Add support for KV260
CC") added description for kv260 kit and it should be also reflected in
DTs.
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 6 ++++++
arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
index a09909a6f885..0e5597e2fe10 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
@@ -22,6 +22,12 @@
/plugin/;
&{/} {
+ compatible = "xlnx,zynqmp-sk-kv260-revA",
+ "xlnx,zynqmp-sk-kv260-revY",
+ "xlnx,zynqmp-sk-kv260-revZ",
+ "xlnx,zynqmp-sk-kv260", "xlnx,zynqmp";
+ model = "ZynqMP KV260 revA";
+
si5332_0: si5332-0 { /* u17 */
compatible = "fixed-clock";
#clock-cells = <0>;
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
index b3b8875f8f7a..fb37c06cfd69 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
@@ -17,6 +17,12 @@
/plugin/;
&{/} {
+ compatible = "xlnx,zynqmp-sk-kv260-rev2",
+ "xlnx,zynqmp-sk-kv260-rev1",
+ "xlnx,zynqmp-sk-kv260-revB",
+ "xlnx,zynqmp-sk-kv260", "xlnx,zynqmp";
+ model = "ZynqMP KV260 revB";
+
si5332_0: si5332-0 { /* u17 */
compatible = "fixed-clock";
#clock-cells = <0>;
--
2.40.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 09/12] arm64: zynqmp: Add description for ina260 on kv260
2024-05-27 9:34 [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
` (7 preceding siblings ...)
2024-05-27 9:34 ` [PATCH 08/12] arm64: zynqmp: Add compatible string for kv260 Michal Simek
@ 2024-05-27 9:34 ` Michal Simek
2024-05-27 9:34 ` [PATCH 10/12] arm64: zynqmp: Describe DisplayPort connector for Kria Michal Simek
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Michal Simek @ 2024-05-27 9:34 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Conor Dooley, Krzysztof Kozlowski, Rob Herring,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/ZYNQ ARCHITECTURE
The commit f7ab2d180e6a ("dt-bindings: hwmon: ina2xx: Describe ina260
chip"), commit f29996d0295e ("dt-bindings: hwmon: ina2xx:
Describe #io-channel-cells property") and commit eea32fafadd3
("dt-bindings: hwmon: ina2xx: Add label property") added description for
ina260 that's why describe them on kv260
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
.../boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 12 +++++++++++-
.../boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 14 ++++++++++++--
2 files changed, 23 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
index 0e5597e2fe10..95d16904d765 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
@@ -28,6 +28,11 @@
"xlnx,zynqmp-sk-kv260", "xlnx,zynqmp";
model = "ZynqMP KV260 revA";
+ ina260-u14 {
+ compatible = "iio-hwmon";
+ io-channels = <&u14 0>, <&u14 1>, <&u14 2>;
+ };
+
si5332_0: si5332-0 { /* u17 */
compatible = "fixed-clock";
#clock-cells = <0>;
@@ -74,7 +79,12 @@ &i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */
scl-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
sda-gpios = <&gpio 25 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
- /* u14 - 0x40 - ina260 */
+ u14: ina260@40 { /* u14 */
+ compatible = "ti,ina260";
+ #io-channel-cells = <1>;
+ label = "ina260-u14";
+ reg = <0x40>;
+ };
/* u27 - 0xe0 - STDP4320 DP/HDMI splitter */
};
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
index fb37c06cfd69..3ada04781950 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
@@ -23,6 +23,11 @@
"xlnx,zynqmp-sk-kv260", "xlnx,zynqmp";
model = "ZynqMP KV260 revB";
+ ina260-u14 {
+ compatible = "iio-hwmon";
+ io-channels = <&u14 0>, <&u14 1>, <&u14 2>;
+ };
+
si5332_0: si5332-0 { /* u17 */
compatible = "fixed-clock";
#clock-cells = <0>;
@@ -69,8 +74,13 @@ &i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */
scl-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
sda-gpios = <&gpio 25 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
- /* u14 - 0x40 - ina260 */
- /* u43 - 0x2d - usb5744 */
+ u14: ina260@40 { /* u14 */
+ compatible = "ti,ina260";
+ #io-channel-cells = <1>;
+ label = "ina260-u14";
+ reg = <0x40>;
+ };
+ /* u43 - 0x2d - USB hub */
/* u27 - 0xe0 - STDP4320 DP/HDMI splitter */
};
--
2.40.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 10/12] arm64: zynqmp: Describe DisplayPort connector for Kria
2024-05-27 9:34 [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
` (8 preceding siblings ...)
2024-05-27 9:34 ` [PATCH 09/12] arm64: zynqmp: Add description for ina260 on kv260 Michal Simek
@ 2024-05-27 9:34 ` Michal Simek
2024-05-27 9:34 ` [PATCH 11/12] arm64: zynqmp: Add support for K26 rev2 boards Michal Simek
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Michal Simek @ 2024-05-27 9:34 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Vishal Sagar, Conor Dooley, Krzysztof Kozlowski, Rob Herring,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/ZYNQ ARCHITECTURE
From: Vishal Sagar <vishal.sagar@amd.com>
Add a device tree node to describe the DisplayPort connector, and
connect it to the DPSUB output.
The patch was tested on kv260-revB/rev2.
Signed-off-by: Vishal Sagar <vishal.sagar@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
.../boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 20 +++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
index 3ada04781950..a74d0ac7e07a 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
@@ -63,6 +63,18 @@ si5332_5: si5332-5 { /* u17 */
#clock-cells = <0>;
clock-frequency = <27000000>;
};
+
+ dpcon {
+ compatible = "dp-connector";
+ label = "P11";
+ type = "full-size";
+
+ port {
+ dpcon_in: endpoint {
+ remote-endpoint = <&dpsub_dp_out>;
+ };
+ };
+ };
};
&i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */
@@ -97,6 +109,14 @@ &zynqmp_dpsub {
phy-names = "dp-phy0", "dp-phy1";
phys = <&psgtr 1 PHY_TYPE_DP 0 0>, <&psgtr 0 PHY_TYPE_DP 1 0>;
assigned-clock-rates = <27000000>, <25000000>, <300000000>;
+
+ ports {
+ port@5 {
+ dpsub_dp_out: endpoint {
+ remote-endpoint = <&dpcon_in>;
+ };
+ };
+ };
};
&zynqmp_dpdma {
--
2.40.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 11/12] arm64: zynqmp: Add support for K26 rev2 boards
2024-05-27 9:34 [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
` (9 preceding siblings ...)
2024-05-27 9:34 ` [PATCH 10/12] arm64: zynqmp: Describe DisplayPort connector for Kria Michal Simek
@ 2024-05-27 9:34 ` Michal Simek
2024-05-27 9:34 ` [PATCH 12/12] arm64: zynqmp: Add pwm-fan node and fix ttc0 pwm-cells property Michal Simek
2024-06-17 6:36 ` [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
12 siblings, 0 replies; 14+ messages in thread
From: Michal Simek @ 2024-05-27 9:34 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Conor Dooley, Krzysztof Kozlowski, Rob Herring,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/ZYNQ ARCHITECTURE
Revision 2 is SW compatible with revision 1 but it is necessary to reflect
it in model and compatible properties which are parsed by user space.
Rev 2 has improved a power on boot reset and MIO34 shutdown glich
improvement done via an additional filter in the GreenPak chip.
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 8 +++++---
arch/arm64/boot/dts/xilinx/zynqmp-smk-k26-revA.dts | 8 +++++---
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
index 51622896b1b1..2841be11ae66 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
@@ -1,8 +1,9 @@
// SPDX-License-Identifier: GPL-2.0
/*
- * dts file for Xilinx ZynqMP SM-K26 rev1/B/A
+ * dts file for Xilinx ZynqMP SM-K26 rev2/1/B/A
*
* (C) Copyright 2020 - 2021, Xilinx, Inc.
+ * (C) Copyright 2023 - 2024, Advanced Micro Devices, Inc.
*
* Michal Simek <michal.simek@amd.com>
*/
@@ -17,8 +18,9 @@
#include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
/ {
- model = "ZynqMP SM-K26 Rev1/B/A";
- compatible = "xlnx,zynqmp-sm-k26-rev1", "xlnx,zynqmp-sm-k26-revB",
+ model = "ZynqMP SM-K26 Rev2/1/B/A";
+ compatible = "xlnx,zynqmp-sm-k26-rev2",
+ "xlnx,zynqmp-sm-k26-rev1", "xlnx,zynqmp-sm-k26-revB",
"xlnx,zynqmp-sm-k26-revA", "xlnx,zynqmp-sm-k26",
"xlnx,zynqmp";
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-smk-k26-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-smk-k26-revA.dts
index 85b0d1677240..b804abe89d1d 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-smk-k26-revA.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-smk-k26-revA.dts
@@ -1,8 +1,9 @@
// SPDX-License-Identifier: GPL-2.0
/*
- * dts file for Xilinx ZynqMP SMK-K26 rev1/B/A
+ * dts file for Xilinx ZynqMP SMK-K26 rev2/1/B/A
*
* (C) Copyright 2020 - 2021, Xilinx, Inc.
+ * (C) Copyright 2023 - 2024, Advanced Micro Devices, Inc.
*
* Michal Simek <michal.simek@amd.com>
*/
@@ -10,8 +11,9 @@
#include "zynqmp-sm-k26-revA.dts"
/ {
- model = "ZynqMP SMK-K26 Rev1/B/A";
- compatible = "xlnx,zynqmp-smk-k26-rev1", "xlnx,zynqmp-smk-k26-revB",
+ model = "ZynqMP SMK-K26 Rev2/1/B/A";
+ compatible = "xlnx,zynqmp-smk-k26-rev2",
+ "xlnx,zynqmp-smk-k26-rev1", "xlnx,zynqmp-smk-k26-revB",
"xlnx,zynqmp-smk-k26-revA", "xlnx,zynqmp-smk-k26",
"xlnx,zynqmp";
};
--
2.40.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 12/12] arm64: zynqmp: Add pwm-fan node and fix ttc0 pwm-cells property
2024-05-27 9:34 [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
` (10 preceding siblings ...)
2024-05-27 9:34 ` [PATCH 11/12] arm64: zynqmp: Add support for K26 rev2 boards Michal Simek
@ 2024-05-27 9:34 ` Michal Simek
2024-06-17 6:36 ` [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
12 siblings, 0 replies; 14+ messages in thread
From: Michal Simek @ 2024-05-27 9:34 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Vishal Patel, Conor Dooley, Krzysztof Kozlowski, Rob Herring,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/ZYNQ ARCHITECTURE
From: Vishal Patel <vishal.patel@xilinx.com>
Add pwm-fan node to control fan through hwmon and change
pwm-cells property to 3 to allow fancontrol utility to
function correctly.
Signed-off-by: Vishal Patel <vishal.patel@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
index 2841be11ae66..86e6c4990560 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
@@ -103,12 +103,23 @@ ams {
<&xilinx_ams 24>, <&xilinx_ams 25>, <&xilinx_ams 26>,
<&xilinx_ams 27>, <&xilinx_ams 28>, <&xilinx_ams 29>;
};
+
+ pwm-fan {
+ compatible = "pwm-fan";
+ status = "okay";
+ pwms = <&ttc0 2 40000 0>;
+ };
};
&modepin_gpio {
label = "modepin";
};
+&ttc0 {
+ status = "okay";
+ #pwm-cells = <3>;
+};
+
&uart1 { /* MIO36/MIO37 */
status = "okay";
};
--
2.40.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH 00/12] arm64: zynqmp: Update description for Kria
2024-05-27 9:34 [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
` (11 preceding siblings ...)
2024-05-27 9:34 ` [PATCH 12/12] arm64: zynqmp: Add pwm-fan node and fix ttc0 pwm-cells property Michal Simek
@ 2024-06-17 6:36 ` Michal Simek
12 siblings, 0 replies; 14+ messages in thread
From: Michal Simek @ 2024-06-17 6:36 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Conor Dooley, Krzysztof Kozlowski, Rob Herring,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/ZYNQ ARCHITECTURE
On 5/27/24 11:34, Michal Simek wrote:
> Hi,
>
> over last couple of months dt bindings have been updated but dtbs didn't
> reflect it that's why I have created this series to match description used
> in U-Boot to be able to switch to OF_UPSTREAM for ZynqMP platforms.
> There are still small missing part regarding usb peer hub and MTD layouts
> for other boards.
> The rest should be in sync already.
>
> Thanks,
> Michal
>
>
> Michal Simek (9):
> arm64: zynqmp: Align nvmem node with dt schema
> arm64: zynqmp: Use fpga-region as node name
> arm64: zynqmp: Add missing description for efuses
> arm64: zynqmp: Describe USB wakeup interrupt
> arm64: zynqmp: Describe OCM controller
> arm64: zynqmp: Remove address/size-cells from ams node
> arm64: zynqmp: Add compatible string for kv260
> arm64: zynqmp: Add description for ina260 on kv260
> arm64: zynqmp: Add support for K26 rev2 boards
>
> Tejas Bhumkar (1):
> arm64: zynqmp: Disable Tri-state for SDIO
>
> Vishal Patel (1):
> arm64: zynqmp: Add pwm-fan node and fix ttc0 pwm-cells property
>
> Vishal Sagar (1):
> arm64: zynqmp: Describe DisplayPort connector for Kria
>
> .../boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 19 +++-
> .../boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 41 ++++++++-
> .../boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 19 +++-
> .../boot/dts/xilinx/zynqmp-smk-k26-revA.dts | 8 +-
> arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 91 ++++++++++++++++---
> 5 files changed, 156 insertions(+), 22 deletions(-)
>
Applied.
M
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2024-06-17 6:36 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-27 9:34 [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
2024-05-27 9:34 ` [PATCH 01/12] arm64: zynqmp: Align nvmem node with dt schema Michal Simek
2024-05-27 9:34 ` [PATCH 02/12] arm64: zynqmp: Use fpga-region as node name Michal Simek
2024-05-27 9:34 ` [PATCH 03/12] arm64: zynqmp: Add missing description for efuses Michal Simek
2024-05-27 9:34 ` [PATCH 04/12] arm64: zynqmp: Describe USB wakeup interrupt Michal Simek
2024-05-27 9:34 ` [PATCH 05/12] arm64: zynqmp: Describe OCM controller Michal Simek
2024-05-27 9:34 ` [PATCH 06/12] arm64: zynqmp: Remove address/size-cells from ams node Michal Simek
2024-05-27 9:34 ` [PATCH 07/12] arm64: zynqmp: Disable Tri-state for SDIO Michal Simek
2024-05-27 9:34 ` [PATCH 08/12] arm64: zynqmp: Add compatible string for kv260 Michal Simek
2024-05-27 9:34 ` [PATCH 09/12] arm64: zynqmp: Add description for ina260 on kv260 Michal Simek
2024-05-27 9:34 ` [PATCH 10/12] arm64: zynqmp: Describe DisplayPort connector for Kria Michal Simek
2024-05-27 9:34 ` [PATCH 11/12] arm64: zynqmp: Add support for K26 rev2 boards Michal Simek
2024-05-27 9:34 ` [PATCH 12/12] arm64: zynqmp: Add pwm-fan node and fix ttc0 pwm-cells property Michal Simek
2024-06-17 6:36 ` [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).