* [PATCH linux dev-5.4] ARM: dts: aspeed: rainier: Add second cfam on the hub
@ 2020-01-09 20:08 Eddie James
2020-01-10 20:40 ` Andrew Geissler
0 siblings, 1 reply; 2+ messages in thread
From: Eddie James @ 2020-01-09 20:08 UTC (permalink / raw)
To: openbmc; +Cc: joel, Eddie James
The hub FSI master can access the cfams on two other processors. Reflect
this by adding a second cfam to the first hub description.
Signed-off-by: Eddie James <eajames@linux.ibm.com>
---
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 36 ++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
index 4d8b3cc5f291..9318778a461b 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
@@ -143,6 +143,38 @@
no-scan-on-init;
};
};
+
+ cfam@2,0 {
+ reg = <2 0>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ chip-id = <2>;
+
+ scom@1000 {
+ compatible = "ibm,fsi2pib";
+ reg = <0x1000 0x400>;
+ };
+
+ sbefifo@2400 {
+ compatible = "ibm,p9-sbefifo";
+ reg = <0x2400 0x400>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ fsi_occ2: occ {
+ compatible = "ibm,p9-occ";
+ };
+ };
+
+ fsi_hub2: hub@3400 {
+ compatible = "fsi-master-hub";
+ reg = <0x3400 0x400>;
+ #address-cells = <2>;
+ #size-cells = <0>;
+
+ no-scan-on-init;
+ };
+ };
};
/* Legacy OCC numbering (to get rid of when userspace is fixed) */
@@ -154,6 +186,10 @@
reg = <2>;
};
+&fsi_occ2 {
+ reg = <3>;
+};
+
&ibt {
status = "okay";
};
--
2.24.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH linux dev-5.4] ARM: dts: aspeed: rainier: Add second cfam on the hub
2020-01-09 20:08 [PATCH linux dev-5.4] ARM: dts: aspeed: rainier: Add second cfam on the hub Eddie James
@ 2020-01-10 20:40 ` Andrew Geissler
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Geissler @ 2020-01-10 20:40 UTC (permalink / raw)
To: Eddie James; +Cc: openbmc
> On Jan 9, 2020, at 2:08 PM, Eddie James <eajames@linux.ibm.com> wrote:
>
> The hub FSI master can access the cfams on two other processors. Reflect
> this by adding a second cfam to the first hub description.
>
> Signed-off-by: Eddie James <eajames@linux.ibm.com>
> ---
> arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 36 ++++++++++++++++++++
> 1 file changed, 36 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> index 4d8b3cc5f291..9318778a461b 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> @@ -143,6 +143,38 @@
> no-scan-on-init;
> };
> };
> +
> + cfam@2,0 {
> + reg = <2 0>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + chip-id = <2>;
> +
> + scom@1000 {
> + compatible = "ibm,fsi2pib";
> + reg = <0x1000 0x400>;
> + };
> +
> + sbefifo@2400 {
> + compatible = "ibm,p9-sbefifo";
> + reg = <0x2400 0x400>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + fsi_occ2: occ {
> + compatible = "ibm,p9-occ";
> + };
> + };
> +
> + fsi_hub2: hub@3400 {
> + compatible = "fsi-master-hub";
> + reg = <0x3400 0x400>;
> + #address-cells = <2>;
> + #size-cells = <0>;
> +
> + no-scan-on-init;
> + };
> + };
> };
>
> /* Legacy OCC numbering (to get rid of when userspace is fixed) */
> @@ -154,6 +186,10 @@
> reg = <2>;
> };
>
> +&fsi_occ2 {
> + reg = <3>;
> +};
> +
> &ibt {
> status = "okay";
> };
> —
> 2.24.0
>
Looked good in testing.
Tested-by: Andrew Geissler <geissonator@yahoo.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-10 20:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-09 20:08 [PATCH linux dev-5.4] ARM: dts: aspeed: rainier: Add second cfam on the hub Eddie James
2020-01-10 20:40 ` Andrew Geissler
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.