* [PATCH 1/2] riscv: dts: microchip: remove pcie node from the sev kit
@ 2022-11-15 15:25 Conor Dooley
2022-11-15 15:25 ` [PATCH 2/2] riscv: dts: microchip: remove unused pcie clocks Conor Dooley
2022-11-17 19:24 ` [PATCH 1/2] riscv: dts: microchip: remove pcie node from the sev kit Conor Dooley
0 siblings, 2 replies; 3+ messages in thread
From: Conor Dooley @ 2022-11-15 15:25 UTC (permalink / raw)
To: Conor Dooley, Daire McNamara
Cc: Rob Herring, Krzysztof Kozlowski, Palmer Dabbelt,
Vattipalli Praveen, linux-riscv, devicetree, linux-kernel
The SEV kit reference design does not hook up the PCIe root port to the
core complex including it is misleading.
The entry is a re-use mistake - I was not aware of this when I moved
the PCIe node out of mpfs.dtsi so that individual bistreams could
connect it to different fics etc.
Fixes: 978a17d1a688 ("riscv: dts: microchip: add sevkit device tree")
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
.../dts/microchip/mpfs-sev-kit-fabric.dtsi | 29 -------------------
1 file changed, 29 deletions(-)
diff --git a/arch/riscv/boot/dts/microchip/mpfs-sev-kit-fabric.dtsi b/arch/riscv/boot/dts/microchip/mpfs-sev-kit-fabric.dtsi
index 8545baf4d129..39a77df489ab 100644
--- a/arch/riscv/boot/dts/microchip/mpfs-sev-kit-fabric.dtsi
+++ b/arch/riscv/boot/dts/microchip/mpfs-sev-kit-fabric.dtsi
@@ -13,33 +13,4 @@ fabric_clk1: fabric-clk1 {
#clock-cells = <0>;
clock-frequency = <125000000>;
};
-
- pcie: pcie@2000000000 {
- compatible = "microchip,pcie-host-1.0";
- #address-cells = <0x3>;
- #interrupt-cells = <0x1>;
- #size-cells = <0x2>;
- device_type = "pci";
- reg = <0x20 0x0 0x0 0x8000000>, <0x0 0x43000000 0x0 0x10000>;
- reg-names = "cfg", "apb";
- bus-range = <0x0 0x7f>;
- interrupt-parent = <&plic>;
- interrupts = <119>;
- interrupt-map = <0 0 0 1 &pcie_intc 0>,
- <0 0 0 2 &pcie_intc 1>,
- <0 0 0 3 &pcie_intc 2>,
- <0 0 0 4 &pcie_intc 3>;
- interrupt-map-mask = <0 0 0 7>;
- clocks = <&fabric_clk1>, <&fabric_clk1>, <&fabric_clk3>;
- clock-names = "fic0", "fic1", "fic3";
- ranges = <0x3000000 0x0 0x8000000 0x20 0x8000000 0x0 0x80000000>;
- msi-parent = <&pcie>;
- msi-controller;
- status = "disabled";
- pcie_intc: interrupt-controller {
- #address-cells = <0>;
- #interrupt-cells = <1>;
- interrupt-controller;
- };
- };
};
--
2.38.0
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 2/2] riscv: dts: microchip: remove unused pcie clocks
2022-11-15 15:25 [PATCH 1/2] riscv: dts: microchip: remove pcie node from the sev kit Conor Dooley
@ 2022-11-15 15:25 ` Conor Dooley
2022-11-17 19:24 ` [PATCH 1/2] riscv: dts: microchip: remove pcie node from the sev kit Conor Dooley
1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2022-11-15 15:25 UTC (permalink / raw)
To: Conor Dooley, Daire McNamara
Cc: Rob Herring, Krzysztof Kozlowski, Palmer Dabbelt,
Vattipalli Praveen, linux-riscv, devicetree, linux-kernel
The PCIe root port in the designs that ship with these boards are
connected via one, not two Fabric Interface Controllers (FIC).
The 0x20_0000_0000 is fic0, so remove the fic1 clocks from the dt node.
The same clock provides both, so this is harmless but inaccurate.
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
arch/riscv/boot/dts/microchip/mpfs-m100pfs-fabric.dtsi | 4 ++--
arch/riscv/boot/dts/microchip/mpfs-polarberry-fabric.dtsi | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/riscv/boot/dts/microchip/mpfs-m100pfs-fabric.dtsi b/arch/riscv/boot/dts/microchip/mpfs-m100pfs-fabric.dtsi
index 7b9ee13b6a3a..8230f06ddf48 100644
--- a/arch/riscv/boot/dts/microchip/mpfs-m100pfs-fabric.dtsi
+++ b/arch/riscv/boot/dts/microchip/mpfs-m100pfs-fabric.dtsi
@@ -30,8 +30,8 @@ pcie: pcie@2000000000 {
<0 0 0 3 &pcie_intc 2>,
<0 0 0 4 &pcie_intc 3>;
interrupt-map-mask = <0 0 0 7>;
- clocks = <&fabric_clk1>, <&fabric_clk1>, <&fabric_clk3>;
- clock-names = "fic0", "fic1", "fic3";
+ clocks = <&fabric_clk1>, <&fabric_clk3>;
+ clock-names = "fic0", "fic3";
ranges = <0x3000000 0x0 0x8000000 0x20 0x8000000 0x0 0x80000000>;
msi-parent = <&pcie>;
msi-controller;
diff --git a/arch/riscv/boot/dts/microchip/mpfs-polarberry-fabric.dtsi b/arch/riscv/boot/dts/microchip/mpfs-polarberry-fabric.dtsi
index 67303bc0e451..9a56de7b91d6 100644
--- a/arch/riscv/boot/dts/microchip/mpfs-polarberry-fabric.dtsi
+++ b/arch/riscv/boot/dts/microchip/mpfs-polarberry-fabric.dtsi
@@ -30,8 +30,8 @@ pcie: pcie@2000000000 {
<0 0 0 3 &pcie_intc 2>,
<0 0 0 4 &pcie_intc 3>;
interrupt-map-mask = <0 0 0 7>;
- clocks = <&fabric_clk1>, <&fabric_clk1>, <&fabric_clk3>;
- clock-names = "fic0", "fic1", "fic3";
+ clocks = <&fabric_clk1>, <&fabric_clk3>;
+ clock-names = "fic0", "fic3";
ranges = <0x3000000 0x0 0x8000000 0x20 0x8000000 0x0 0x80000000>;
msi-parent = <&pcie>;
msi-controller;
--
2.38.0
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH 1/2] riscv: dts: microchip: remove pcie node from the sev kit
2022-11-15 15:25 [PATCH 1/2] riscv: dts: microchip: remove pcie node from the sev kit Conor Dooley
2022-11-15 15:25 ` [PATCH 2/2] riscv: dts: microchip: remove unused pcie clocks Conor Dooley
@ 2022-11-17 19:24 ` Conor Dooley
1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2022-11-17 19:24 UTC (permalink / raw)
To: Daire McNamara, Conor Dooley
Cc: Krzysztof Kozlowski, Vattipalli Praveen, Palmer Dabbelt,
Rob Herring, devicetree, linux-kernel, linux-riscv
From: Conor Dooley <conor.dooley@microchip.com>
On Tue, 15 Nov 2022 15:25:46 +0000, Conor Dooley wrote:
> The SEV kit reference design does not hook up the PCIe root port to the
> core complex including it is misleading.
> The entry is a re-use mistake - I was not aware of this when I moved
> the PCIe node out of mpfs.dtsi so that individual bistreams could
> connect it to different fics etc.
>
>
> [...]
Applied to riscv-dt-for-next, thanks!
[1/2] riscv: dts: microchip: remove pcie node from the sev kit
https://git.kernel.org/conor/c/1150f4cff831
[2/2] riscv: dts: microchip: remove unused pcie clocks
https://git.kernel.org/conor/c/f4e700fd9466
Thanks,
Conor.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-11-17 19:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-15 15:25 [PATCH 1/2] riscv: dts: microchip: remove pcie node from the sev kit Conor Dooley
2022-11-15 15:25 ` [PATCH 2/2] riscv: dts: microchip: remove unused pcie clocks Conor Dooley
2022-11-17 19:24 ` [PATCH 1/2] riscv: dts: microchip: remove pcie node from the sev kit Conor Dooley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®