DTS changes for the AMD EthanolX CRB BMC
Subsystems (2)
cover DTS changes for the AMD EthanolX CRB BMC
Several patches for the DTS of the BMC on the AMD EthanolX CRB.
Konstantin Aladyshev (4):
ARM: dts: aspeed: ethanolx: Add correct label to flash device
ARM: dts: aspeed: ethanolx: Configure RTS/CTS for UART1
ARM: dts: aspeed: ethanolx: Use correct driver for the FRU EEPROM
ARM: dts: aspeed: ethanolx: Enable VUART
arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-)
Signature · 1 line
2.25.1
PATCH 1/4 ARM: dts: aspeed: ethanolx: Add correct label to flash device
The OpenBMC code update infrastructure requires BMC firmware flash drive to have a label "bmc".
--- arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts +1 -0
@@ -58,6 +58,7 @@ &fmc { flash at 0 { status = "okay"; m25p,fast-read; + label = "bmc"; #include "openbmc-flash-layout.dtsi" }; };
Signature · 1 line
2.25.1
Re: [PATCH 1/4] ARM: dts: aspeed: ethanolx: Add correct label to flash device
Quoted 4 lines · Konstantin Aladyshev
The OpenBMC code update infrastructure requires BMC firmware flash drive to have a label "bmc".
Signed-off-by Konstantin Aladyshev <[email protected]>
PATCH 2/4 ARM: dts: aspeed: ethanolx: Configure RTS/CTS for UART1
In reply to Konstantin AladyshevUART1 is used for connection to the main EPYC CPU. Besides the main TX/RX signals this connection has flow control signals RTS/CTS, therefore configure this pins on the BMC side.
--- arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts +3 -1
@@ -79,7 +79,9 @@ &uart1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_txd1_default - &pinctrl_rxd1_default>; + &pinctrl_rxd1_default + &pinctrl_nrts1_default + &pinctrl_ncts1_default>; }; &uart5 {
Signature · 1 line
2.25.1
Re: [PATCH 2/4] ARM: dts: aspeed: ethanolx: Configure RTS/CTS for UART1
Quoted 5 lines · Konstantin Aladyshev
UART1 is used for connection to the main EPYC CPU. Besides the main TX/RX signals this connection has flow control signals RTS/CTS, therefore configure this pins on the BMC side.
Signed-off-by Konstantin Aladyshev <[email protected]>
PATCH 3/4 ARM: dts: aspeed: ethanolx: Use correct driver for the FRU EEPROM
In reply to Konstantin AladyshevThe AMD EthanolX CRB uses 24LC128 chip as FRU EEPROM. To bind correct driver for this device "24c128" compatible string should be used in DTS.
--- arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts +1 -1
@@ -163,7 +163,7 @@ &i2c2 { &i2c3 { status = "okay"; eeprom at 50 { - compatible = "atmel,24c256"; + compatible = "atmel,24c128"; reg = <0x50>; pagesize = <64>; };
Signature · 1 line
2.25.1
PATCH 4/4 ARM: dts: aspeed: ethanolx: Enable VUART
In reply to Konstantin AladyshevEnable virtual UART for BMC<->Host communication.
--- arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts +7 -0
@@ -5,6 +5,7 @@ #include "aspeed-g5.dtsi" #include <dt-bindings/gpio/aspeed-gpio.h> +#include <dt-bindings/interrupt-controller/irq.h> / { model = "AMD EthanolX BMC";
@@ -264,6 +265,12 @@ &lpc_ctrl { status = "okay"; }; +&vuart { + status = "okay"; + aspeed,lpc-io-reg = <0x3f8>; + aspeed,lpc-interrupts = <4 IRQ_TYPE_LEVEL_HIGH>; +}; + &pwm_tacho { status = "okay"; pinctrl-names = "default";
Signature · 1 line
2.25.1
Re: [PATCH 4/4] ARM: dts: aspeed: ethanolx: Enable VUART
Quoted 3 lines · Konstantin Aladyshev
Enable virtual UART for BMC<->Host communication.
Signed-off-by Konstantin Aladyshev <[email protected]>