* [PATCH v6 00/10] ARM: dts: aspeed: catalina: Update DTS to support Catalina PVT hardware
@ 2025-03-21 7:26 Potin Lai
2025-03-21 7:26 ` [PATCH v6 01/10] ARM: dts: aspeed: catalina: Add IO Mezz board thermal sensor nodes Potin Lai
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: Potin Lai @ 2025-03-21 7:26 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, Patrick Williams
Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
Cosmo Chou, Potin Lai, Potin Lai
Update the DTS file for the Catalina platform based on the PVT hardware
changes.
Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
---
Changes in v6:
- Rename the fan controller nodes with appropriate name
- Link to v5: https://lore.kernel.org/r/20250320-potin-catalina-dts-update-20250102-v5-0-e161be6583a7@gmail.com
Changes in v5:
- Revise CBC FRU eeprom i2c bus and address
- Add MCTP support for backend NIC monitoring via PLDM over MCTP
- Link to v4: https://lore.kernel.org/r/20250320-potin-catalina-dts-update-20250102-v4-0-7c34b8139014@gmail.com
Changes in v4:
- Split a single commit into multiple smaller commits to reduce complexity.
- Add `multi-master` into i2c12 & i2c13
- Link to v3: https://lore.kernel.org/r/20250114-potin-catalina-dts-update-20250102-v3-1-14981744b2fe@gmail.com
Changes in v3:
- Remove delta_brick nodes due to compatible string not supported
- Link to v2: https://lore.kernel.org/r/20250113-potin-catalina-dts-update-20250102-v2-1-1725117fe7a9@gmail.com
Changes in v2:
- Add delta_brick nodes to support PDB brick board
- Link to v1: https://lore.kernel.org/r/20250103-potin-catalina-dts-update-20250102-v1-1-b0b7a523c968@gmail.com
---
Potin Lai (10):
ARM: dts: aspeed: catalina: Add IO Mezz board thermal sensor nodes
ARM: dts: aspeed: catalina: Add Front IO board remote thermal sensor
ARM: dts: aspeed: catalina: Add MP5990 power sensor node
ARM: dts: aspeed: catalina: Add fan controller support
ARM: dts: aspeed: catalina: Add second source fan controller support
ARM: dts: aspeed: catalina: Add second source HSC node support
ARM: dts: aspeed: catalina: Remove INA238 and INA230 nodes
ARM: dts: aspeed: catalina: Enable multi-master on additional I2C buses
ARM: dts: aspeed: catalina: Update CBC FRU EEPROM I2C bus and address
ARM: dts: aspeed: catalina: Enable MCTP support for NIC management
.../dts/aspeed/aspeed-bmc-facebook-catalina.dts | 197 +++++++++++++++------
1 file changed, 144 insertions(+), 53 deletions(-)
---
base-commit: 4701f33a10702d5fc577c32434eb62adde0a1ae1
change-id: 20250102-potin-catalina-dts-update-20250102-914b06a4bdba
Best regards,
--
Potin Lai <potin.lai.pt@gmail.com>
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH v6 01/10] ARM: dts: aspeed: catalina: Add IO Mezz board thermal sensor nodes
2025-03-21 7:26 [PATCH v6 00/10] ARM: dts: aspeed: catalina: Update DTS to support Catalina PVT hardware Potin Lai
@ 2025-03-21 7:26 ` Potin Lai
2025-03-21 7:26 ` [PATCH v6 02/10] ARM: dts: aspeed: catalina: Add Front IO board remote thermal sensor Potin Lai
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Potin Lai @ 2025-03-21 7:26 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, Patrick Williams
Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
Cosmo Chou, Potin Lai, Potin Lai
Add thermal sensor nodes for the IO Mezzanine (IO Mezz) board in the
Catalina platform device tree. These nodes enable temperature monitoring
for the backend NIC, improving thermal management and monitoring
capabilities.
Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
---
.../dts/aspeed/aspeed-bmc-facebook-catalina.dts | 24 ++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
index c151984289bc..d5d99a945ee4 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
@@ -198,6 +198,12 @@ i2c0mux0ch0: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
+
+ // IOB0 NIC0 TEMP
+ temperature-sensor@1f {
+ compatible = "ti,tmp421";
+ reg = <0x1f>;
+ };
};
i2c0mux0ch1: i2c@1 {
#address-cells = <1>;
@@ -208,6 +214,12 @@ i2c0mux0ch2: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
+
+ // IOB0 NIC1 TEMP
+ temperature-sensor@1f {
+ compatible = "ti,tmp421";
+ reg = <0x1f>;
+ };
};
i2c0mux0ch3: i2c@3 {
#address-cells = <1>;
@@ -299,6 +311,12 @@ i2c0mux3ch0: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
+
+ // IOB1 NIC0 TEMP
+ temperature-sensor@1f {
+ compatible = "ti,tmp421";
+ reg = <0x1f>;
+ };
};
i2c0mux3ch1: i2c@1 {
#address-cells = <1>;
@@ -309,6 +327,12 @@ i2c0mux3ch2: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
+
+ // IOB1 NIC1 TEMP
+ temperature-sensor@1f {
+ compatible = "ti,tmp421";
+ reg = <0x1f>;
+ };
};
i2c0mux3ch3: i2c@3 {
#address-cells = <1>;
--
2.31.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v6 02/10] ARM: dts: aspeed: catalina: Add Front IO board remote thermal sensor
2025-03-21 7:26 [PATCH v6 00/10] ARM: dts: aspeed: catalina: Update DTS to support Catalina PVT hardware Potin Lai
2025-03-21 7:26 ` [PATCH v6 01/10] ARM: dts: aspeed: catalina: Add IO Mezz board thermal sensor nodes Potin Lai
@ 2025-03-21 7:26 ` Potin Lai
2025-03-21 7:26 ` [PATCH v6 03/10] ARM: dts: aspeed: catalina: Add MP5990 power sensor node Potin Lai
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Potin Lai @ 2025-03-21 7:26 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, Patrick Williams
Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
Cosmo Chou, Potin Lai, Potin Lai
Add a remote thermal sensor node for the Front IO board in the Catalina
platform device tree. This sensor enables monitoring of the inlet
temperature.
Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
---
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
index d5d99a945ee4..307af99e833c 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
@@ -544,6 +544,12 @@ temperature-sensor@4b {
compatible = "ti,tmp75";
reg = <0x4b>;
};
+
+ // FIO REMOTE TEMP SENSOR
+ temperature-sensor@4f {
+ compatible = "ti,tmp75";
+ reg = <0x4f>;
+ };
};
};
};
--
2.31.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v6 03/10] ARM: dts: aspeed: catalina: Add MP5990 power sensor node
2025-03-21 7:26 [PATCH v6 00/10] ARM: dts: aspeed: catalina: Update DTS to support Catalina PVT hardware Potin Lai
2025-03-21 7:26 ` [PATCH v6 01/10] ARM: dts: aspeed: catalina: Add IO Mezz board thermal sensor nodes Potin Lai
2025-03-21 7:26 ` [PATCH v6 02/10] ARM: dts: aspeed: catalina: Add Front IO board remote thermal sensor Potin Lai
@ 2025-03-21 7:26 ` Potin Lai
2025-03-21 7:26 ` [PATCH v6 04/10] ARM: dts: aspeed: catalina: Add fan controller support Potin Lai
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Potin Lai @ 2025-03-21 7:26 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, Patrick Williams
Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
Cosmo Chou, Potin Lai, Potin Lai
Add a device tree node for the MP5990 power sensor to enable monitoring of
the P12V supplying power to the fans.
Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
---
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
index 307af99e833c..f5f47245796a 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
@@ -428,6 +428,10 @@ i2c1mux0ch0: i2c@0 {
#size-cells = <0>;
reg = <0x0>;
+ power-sensor@22 {
+ compatible = "mps,mp5990";
+ reg = <0x22>;
+ };
power-sensor@41 {
compatible = "ti,ina238";
reg = <0x41>;
--
2.31.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v6 04/10] ARM: dts: aspeed: catalina: Add fan controller support
2025-03-21 7:26 [PATCH v6 00/10] ARM: dts: aspeed: catalina: Update DTS to support Catalina PVT hardware Potin Lai
` (2 preceding siblings ...)
2025-03-21 7:26 ` [PATCH v6 03/10] ARM: dts: aspeed: catalina: Add MP5990 power sensor node Potin Lai
@ 2025-03-21 7:26 ` Potin Lai
2025-03-21 7:26 ` [PATCH v6 05/10] ARM: dts: aspeed: catalina: Add second source " Potin Lai
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Potin Lai @ 2025-03-21 7:26 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, Patrick Williams
Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
Cosmo Chou, Potin Lai, Potin Lai
Add device tree nodes for the MAX31790 fan controllers on the Power
Distribution Board (PDB). These nodes enable fan speed control and
monitoring, improving thermal management and system reliability.
Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
---
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
index f5f47245796a..792b739b1103 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
@@ -466,6 +466,15 @@ i2c1mux0ch2: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x2>;
+
+ fanctl0: fan-controller@21{
+ compatible = "maxim,max31790";
+ reg = <0x21>;
+ };
+ fanctl1: fan-controller@27{
+ compatible = "maxim,max31790";
+ reg = <0x27>;
+ };
};
i2c1mux0ch3: i2c@3 {
#address-cells = <1>;
--
2.31.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v6 05/10] ARM: dts: aspeed: catalina: Add second source fan controller support
2025-03-21 7:26 [PATCH v6 00/10] ARM: dts: aspeed: catalina: Update DTS to support Catalina PVT hardware Potin Lai
` (3 preceding siblings ...)
2025-03-21 7:26 ` [PATCH v6 04/10] ARM: dts: aspeed: catalina: Add fan controller support Potin Lai
@ 2025-03-21 7:26 ` Potin Lai
2025-03-21 7:26 ` [PATCH v6 06/10] ARM: dts: aspeed: catalina: Add second source HSC node support Potin Lai
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Potin Lai @ 2025-03-21 7:26 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, Patrick Williams
Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
Cosmo Chou, Potin Lai, Potin Lai
Add device tree nodes for the NCT7363 fan controllers on the second-source
Power Distribution Board (PDB).
Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
---
.../dts/aspeed/aspeed-bmc-facebook-catalina.dts | 76 ++++++++++++++++++++++
1 file changed, 76 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
index 792b739b1103..f0c8aca152e7 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
@@ -467,6 +467,82 @@ i2c1mux0ch2: i2c@2 {
#size-cells = <0>;
reg = <0x2>;
+ fanctl2: fan-controller@1 {
+ compatible = "nuvoton,nct7363";
+ reg = <0x01>;
+ #pwm-cells = <2>;
+
+ fan-9 {
+ pwms = <&fanctl2 0 40000>;
+ tach-ch = /bits/ 8 <0x09>;
+ };
+ fan-11 {
+ pwms = <&fanctl2 0 40000>;
+ tach-ch = /bits/ 8 <0x0b>;
+ };
+ fan-10 {
+ pwms = <&fanctl2 4 40000>;
+ tach-ch = /bits/ 8 <0x0a>;
+ };
+ fan-13 {
+ pwms = <&fanctl2 4 40000>;
+ tach-ch = /bits/ 8 <0x0d>;
+ };
+ fan-15 {
+ pwms = <&fanctl2 6 40000>;
+ tach-ch = /bits/ 8 <0x0f>;
+ };
+ fan-1 {
+ pwms = <&fanctl2 6 40000>;
+ tach-ch = /bits/ 8 <0x01>;
+ };
+ fan-0 {
+ pwms = <&fanctl2 10 40000>;
+ tach-ch = /bits/ 8 <0x00>;
+ };
+ fan-3 {
+ pwms = <&fanctl2 10 40000>;
+ tach-ch = /bits/ 8 <0x03>;
+ };
+ };
+ fanctl3: fan-controller@2 {
+ compatible = "nuvoton,nct7363";
+ reg = <0x02>;
+ #pwm-cells = <2>;
+
+ fan-9 {
+ pwms = <&fanctl3 0 40000>;
+ tach-ch = /bits/ 8 <0x09>;
+ };
+ fan-11 {
+ pwms = <&fanctl3 0 40000>;
+ tach-ch = /bits/ 8 <0x0b>;
+ };
+ fan-10 {
+ pwms = <&fanctl3 4 40000>;
+ tach-ch = /bits/ 8 <0x0a>;
+ };
+ fan-13 {
+ pwms = <&fanctl3 4 40000>;
+ tach-ch = /bits/ 8 <0x0d>;
+ };
+ fan-15 {
+ pwms = <&fanctl3 6 40000>;
+ tach-ch = /bits/ 8 <0x0f>;
+ };
+ fan-1 {
+ pwms = <&fanctl3 6 40000>;
+ tach-ch = /bits/ 8 <0x01>;
+ };
+ fan-0 {
+ pwms = <&fanctl3 10 40000>;
+ tach-ch = /bits/ 8 <0x00>;
+ };
+ fan-3 {
+ pwms = <&fanctl3 10 40000>;
+ tach-ch = /bits/ 8 <0x03>;
+ };
+ };
fanctl0: fan-controller@21{
compatible = "maxim,max31790";
reg = <0x21>;
--
2.31.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v6 06/10] ARM: dts: aspeed: catalina: Add second source HSC node support
2025-03-21 7:26 [PATCH v6 00/10] ARM: dts: aspeed: catalina: Update DTS to support Catalina PVT hardware Potin Lai
` (4 preceding siblings ...)
2025-03-21 7:26 ` [PATCH v6 05/10] ARM: dts: aspeed: catalina: Add second source " Potin Lai
@ 2025-03-21 7:26 ` Potin Lai
2025-03-21 7:26 ` [PATCH v6 07/10] ARM: dts: aspeed: catalina: Remove INA238 and INA230 nodes Potin Lai
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Potin Lai @ 2025-03-21 7:26 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, Patrick Williams
Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
Cosmo Chou, Potin Lai, Potin Lai
Add device tree nodes for the XDP710 Hot-Swap Controller (HSC) to support
the Power Distribution Board (PDB) with a second-source configuration.
Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
---
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
index f0c8aca152e7..306931c08cb0 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
@@ -562,6 +562,14 @@ i2c1mux0ch4: i2c@4 {
#size-cells = <0>;
reg = <0x4>;
+ power-monitor@13 {
+ compatible = "infineon,xdp710";
+ reg = <0x13>;
+ };
+ power-monitor@1c {
+ compatible = "infineon,xdp710";
+ reg = <0x1c>;
+ };
power-monitor@42 {
compatible = "lltc,ltc4287";
reg = <0x42>;
--
2.31.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v6 07/10] ARM: dts: aspeed: catalina: Remove INA238 and INA230 nodes
2025-03-21 7:26 [PATCH v6 00/10] ARM: dts: aspeed: catalina: Update DTS to support Catalina PVT hardware Potin Lai
` (5 preceding siblings ...)
2025-03-21 7:26 ` [PATCH v6 06/10] ARM: dts: aspeed: catalina: Add second source HSC node support Potin Lai
@ 2025-03-21 7:26 ` Potin Lai
2025-03-21 7:26 ` [PATCH v6 08/10] ARM: dts: aspeed: catalina: Enable multi-master on additional I2C buses Potin Lai
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Potin Lai @ 2025-03-21 7:26 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, Patrick Williams
Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
Cosmo Chou, Potin Lai, Potin Lai
Remove INA238 and INA230 power sensor nodes from the device tree (DTS) due
to incompatibility with the second-source ISL28022, which shares the same
I2C address.
Move the driver probe to userspace to handle sensor dynamically.
Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
---
.../dts/aspeed/aspeed-bmc-facebook-catalina.dts | 45 ----------------------
1 file changed, 45 deletions(-)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
index 306931c08cb0..6702be32918e 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
@@ -432,35 +432,11 @@ power-sensor@22 {
compatible = "mps,mp5990";
reg = <0x22>;
};
- power-sensor@41 {
- compatible = "ti,ina238";
- reg = <0x41>;
- shunt-resistor = <500>;
- };
- power-sensor@42 {
- compatible = "ti,ina238";
- reg = <0x42>;
- shunt-resistor = <500>;
- };
- power-sensor@44 {
- compatible = "ti,ina238";
- reg = <0x44>;
- shunt-resistor = <500>;
- };
};
i2c1mux0ch1: i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x1>;
-
- power-sensor@41 {
- compatible = "ti,ina238";
- reg = <0x41>;
- };
- power-sensor@43 {
- compatible = "ti,ina238";
- reg = <0x43>;
- };
};
i2c1mux0ch2: i2c@2 {
#address-cells = <1>;
@@ -753,27 +729,6 @@ i2c5mux0ch7: i2c@7 {
#address-cells = <1>;
#size-cells = <0>;
reg = <7>;
-
- power-sensor@40 {
- compatible = "ti,ina230";
- reg = <0x40>;
- shunt-resistor = <2000>;
- };
- power-sensor@41 {
- compatible = "ti,ina230";
- reg = <0x41>;
- shunt-resistor = <2000>;
- };
- power-sensor@44 {
- compatible = "ti,ina230";
- reg = <0x44>;
- shunt-resistor = <2000>;
- };
- power-sensor@45 {
- compatible = "ti,ina230";
- reg = <0x45>;
- shunt-resistor = <2000>;
- };
};
};
};
--
2.31.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v6 08/10] ARM: dts: aspeed: catalina: Enable multi-master on additional I2C buses
2025-03-21 7:26 [PATCH v6 00/10] ARM: dts: aspeed: catalina: Update DTS to support Catalina PVT hardware Potin Lai
` (6 preceding siblings ...)
2025-03-21 7:26 ` [PATCH v6 07/10] ARM: dts: aspeed: catalina: Remove INA238 and INA230 nodes Potin Lai
@ 2025-03-21 7:26 ` Potin Lai
2025-03-21 7:26 ` [PATCH v6 09/10] ARM: dts: aspeed: catalina: Update CBC FRU EEPROM I2C bus and address Potin Lai
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Potin Lai @ 2025-03-21 7:26 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, Patrick Williams
Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
Cosmo Chou, Potin Lai, Potin Lai
Update the device tree to enable `multi-master` mode on I2C buses shared
between the host BMC and the NV module with HMC. This ensures proper bus
arbitration and coordination in multi-master environments, preventing
communication conflicts and improving reliability.
Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
---
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
index 6702be32918e..2dbb65db9250 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
@@ -815,6 +815,7 @@ ssif-bmc@10 {
&i2c12 {
status = "okay";
+ multi-master;
// Module 1 FRU EEPROM
eeprom@50 {
@@ -825,6 +826,7 @@ eeprom@50 {
&i2c13 {
status = "okay";
+ multi-master;
// Module 0 FRU EEPROM
eeprom@50 {
--
2.31.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v6 09/10] ARM: dts: aspeed: catalina: Update CBC FRU EEPROM I2C bus and address
2025-03-21 7:26 [PATCH v6 00/10] ARM: dts: aspeed: catalina: Update DTS to support Catalina PVT hardware Potin Lai
` (7 preceding siblings ...)
2025-03-21 7:26 ` [PATCH v6 08/10] ARM: dts: aspeed: catalina: Enable multi-master on additional I2C buses Potin Lai
@ 2025-03-21 7:26 ` Potin Lai
2025-03-21 7:26 ` [PATCH v6 10/10] ARM: dts: aspeed: catalina: Enable MCTP support for NIC management Potin Lai
2025-03-24 23:59 ` [PATCH v6 00/10] ARM: dts: aspeed: catalina: Update DTS to support Catalina PVT hardware Andrew Jeffery
10 siblings, 0 replies; 12+ messages in thread
From: Potin Lai @ 2025-03-21 7:26 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, Patrick Williams
Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
Cosmo Chou, Potin Lai, Potin Lai
Revise the I2C bus and address for the Cable Backplane Cartridge (CBC)
FRU EEPROM in the Catalina device tree.
Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
---
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
index 2dbb65db9250..a6a2dd725266 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
@@ -822,6 +822,12 @@ eeprom@50 {
compatible = "atmel,24c64";
reg = <0x50>;
};
+
+ // Secondary CBC FRU EEPROM
+ eeprom@54 {
+ compatible = "atmel,24c02";
+ reg = <0x54>;
+ };
};
&i2c13 {
@@ -834,18 +840,12 @@ eeprom@50 {
reg = <0x50>;
};
- // Left CBC FRU EEPROM
+ // Primary CBC FRU EEPROM
eeprom@54 {
compatible = "atmel,24c02";
reg = <0x54>;
};
- // Right CBC FRU EEPROM
- eeprom@55 {
- compatible = "atmel,24c02";
- reg = <0x55>;
- };
-
// HMC FRU EEPROM
eeprom@57 {
compatible = "atmel,24c02";
--
2.31.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v6 10/10] ARM: dts: aspeed: catalina: Enable MCTP support for NIC management
2025-03-21 7:26 [PATCH v6 00/10] ARM: dts: aspeed: catalina: Update DTS to support Catalina PVT hardware Potin Lai
` (8 preceding siblings ...)
2025-03-21 7:26 ` [PATCH v6 09/10] ARM: dts: aspeed: catalina: Update CBC FRU EEPROM I2C bus and address Potin Lai
@ 2025-03-21 7:26 ` Potin Lai
2025-03-24 23:59 ` [PATCH v6 00/10] ARM: dts: aspeed: catalina: Update DTS to support Catalina PVT hardware Andrew Jeffery
10 siblings, 0 replies; 12+ messages in thread
From: Potin Lai @ 2025-03-21 7:26 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Andrew Jeffery, Patrick Williams
Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
Cosmo Chou, Potin Lai, Potin Lai
Add the `mctp-controller` property and MCTP nodes to enable support for
backend NIC management via PLDM over MCTP.
Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
---
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
index a6a2dd725266..5fb67ad2d777 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
@@ -186,18 +186,23 @@ flash@1 {
&i2c0 {
status = "okay";
+ multi-master;
+ mctp@10 {
+ compatible = "mctp-i2c-controller";
+ reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+ };
i2c-mux@71 {
compatible = "nxp,pca9546";
reg = <0x71>;
#address-cells = <1>;
#size-cells = <0>;
- i2c-mux-idle-disconnect;
i2c0mux0ch0: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
+ mctp-controller;
// IOB0 NIC0 TEMP
temperature-sensor@1f {
@@ -214,6 +219,7 @@ i2c0mux0ch2: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
+ mctp-controller;
// IOB0 NIC1 TEMP
temperature-sensor@1f {
@@ -305,12 +311,12 @@ i2c-mux@75 {
reg = <0x75>;
#address-cells = <1>;
#size-cells = <0>;
- i2c-mux-idle-disconnect;
i2c0mux3ch0: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
+ mctp-controller;
// IOB1 NIC0 TEMP
temperature-sensor@1f {
@@ -327,6 +333,7 @@ i2c0mux3ch2: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
+ mctp-controller;
// IOB1 NIC1 TEMP
temperature-sensor@1f {
--
2.31.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH v6 00/10] ARM: dts: aspeed: catalina: Update DTS to support Catalina PVT hardware
2025-03-21 7:26 [PATCH v6 00/10] ARM: dts: aspeed: catalina: Update DTS to support Catalina PVT hardware Potin Lai
` (9 preceding siblings ...)
2025-03-21 7:26 ` [PATCH v6 10/10] ARM: dts: aspeed: catalina: Enable MCTP support for NIC management Potin Lai
@ 2025-03-24 23:59 ` Andrew Jeffery
10 siblings, 0 replies; 12+ messages in thread
From: Andrew Jeffery @ 2025-03-24 23:59 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Joel Stanley,
Patrick Williams, Potin Lai
Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
Cosmo Chou, Potin Lai
On Fri, 21 Mar 2025 15:26:01 +0800, Potin Lai wrote:
> Update the DTS file for the Catalina platform based on the PVT hardware
> changes.
>
>
Thanks, I've applied this to be picked up through the BMC tree.
--
Andrew Jeffery <andrew@codeconstruct.com.au>
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2025-03-25 0:01 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-21 7:26 [PATCH v6 00/10] ARM: dts: aspeed: catalina: Update DTS to support Catalina PVT hardware Potin Lai
2025-03-21 7:26 ` [PATCH v6 01/10] ARM: dts: aspeed: catalina: Add IO Mezz board thermal sensor nodes Potin Lai
2025-03-21 7:26 ` [PATCH v6 02/10] ARM: dts: aspeed: catalina: Add Front IO board remote thermal sensor Potin Lai
2025-03-21 7:26 ` [PATCH v6 03/10] ARM: dts: aspeed: catalina: Add MP5990 power sensor node Potin Lai
2025-03-21 7:26 ` [PATCH v6 04/10] ARM: dts: aspeed: catalina: Add fan controller support Potin Lai
2025-03-21 7:26 ` [PATCH v6 05/10] ARM: dts: aspeed: catalina: Add second source " Potin Lai
2025-03-21 7:26 ` [PATCH v6 06/10] ARM: dts: aspeed: catalina: Add second source HSC node support Potin Lai
2025-03-21 7:26 ` [PATCH v6 07/10] ARM: dts: aspeed: catalina: Remove INA238 and INA230 nodes Potin Lai
2025-03-21 7:26 ` [PATCH v6 08/10] ARM: dts: aspeed: catalina: Enable multi-master on additional I2C buses Potin Lai
2025-03-21 7:26 ` [PATCH v6 09/10] ARM: dts: aspeed: catalina: Update CBC FRU EEPROM I2C bus and address Potin Lai
2025-03-21 7:26 ` [PATCH v6 10/10] ARM: dts: aspeed: catalina: Enable MCTP support for NIC management Potin Lai
2025-03-24 23:59 ` [PATCH v6 00/10] ARM: dts: aspeed: catalina: Update DTS to support Catalina PVT hardware Andrew Jeffery
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).