ARM: dts: aspeed: rainier: Add second cfam on the hub
authorEddie James <eajames@linux.ibm.com>
Thu, 9 Jan 2020 20:08:39 +0000 (14:08 -0600)
committerJoel Stanley <joel@jms.id.au>
Mon, 20 Jul 2020 04:58:16 +0000 (14:28 +0930)
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>
Tested-by: Andrew Geissler <geissonator@yahoo.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts

index 4d3b7c7..2f57d8d 100644 (file)
                        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) */
        reg = <2>;
 };
 
+&fsi_occ2 {
+       reg = <3>;
+};
+
 &ibt {
        status = "okay";
 };