openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH next v1 0/1] Add new bmc dts for ASUS X4TF server
@ 2024-03-13 10:27 Kelly Hung
  2024-03-13 10:27 ` [PATCH next v1 1/1] arm: dts: ast2600-x4tf: Add new dts for ASUS X4TF Kelly Hung
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kelly Hung @ 2024-03-13 10:27 UTC (permalink / raw)
  To: u-boot
  Cc: marex, trini, hai.pham.ud, clamor95, jonas, openbmc,
	neil.armstrong, christianshewitt, kever.yang, Allenyy_Hsu,
	Kelly Hung, naoki, cnsztl, patrick.delaunay, michal.simek

Add bmc dts to ASUS X4TF server, we also submitted dts to linux place.
Please refer to here, https://lore.kernel.org/lkml/?q=x4tf.

Kelly Hung (1):
  arm: dts: ast2600-x4tf: Add new dts for ASUS X4TF

 arch/arm/dts/Makefile         |   4 +-
 arch/arm/dts/ast2600-x4tf.dts | 161 ++++++++++++++++++++++++++++++++++
 2 files changed, 164 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/ast2600-x4tf.dts

-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH next v1 1/1] arm: dts: ast2600-x4tf: Add new dts for ASUS X4TF
  2024-03-13 10:27 [PATCH next v1 0/1] Add new bmc dts for ASUS X4TF server Kelly Hung
@ 2024-03-13 10:27 ` Kelly Hung
  2024-03-21 12:15 ` [PATCH next v1 0/1] Add new bmc dts for ASUS X4TF server Tom Rini
  2024-03-25  5:23 ` Andrew Jeffery
  2 siblings, 0 replies; 4+ messages in thread
From: Kelly Hung @ 2024-03-13 10:27 UTC (permalink / raw)
  To: u-boot
  Cc: marex, trini, hai.pham.ud, clamor95, jonas, openbmc,
	neil.armstrong, christianshewitt, kever.yang, Allenyy_Hsu,
	Kelly Hung, naoki, cnsztl, patrick.delaunay, michal.simek

This is the new bmc dts for ASUS X4TF server.

Signed-off-by: Kelly Hung <Kelly_Hung@asus.com>
---
V1: Add a new bmc dts for ASUS X4TF server.
---
 arch/arm/dts/Makefile         |   4 +-
 arch/arm/dts/ast2600-x4tf.dts | 161 ++++++++++++++++++++++++++++++++++
 2 files changed, 164 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/ast2600-x4tf.dts

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 784192125d..ebbc0b21fc 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -1359,7 +1359,9 @@ dtb-$(CONFIG_BCM6878) += \
 	bcm96878.dtb
 
 dtb-$(CONFIG_ASPEED_AST2500) += ast2500-evb.dtb
-dtb-$(CONFIG_ASPEED_AST2600) += ast2600-evb.dtb
+dtb-$(CONFIG_ASPEED_AST2600) += \
+	ast2600-evb.dtb \
+	ast2600-x4tf.dtb
 
 dtb-$(CONFIG_ARCH_STI) += stih410-b2260.dtb
 
diff --git a/arch/arm/dts/ast2600-x4tf.dts b/arch/arm/dts/ast2600-x4tf.dts
new file mode 100644
index 0000000000..4bf4b66a9c
--- /dev/null
+++ b/arch/arm/dts/ast2600-x4tf.dts
@@ -0,0 +1,161 @@
+// SPDX-License-Identifier: GPL-2.0+
+// Copyright 2024 ASUS Corp.
+/dts-v1/;
+
+#include "ast2600-u-boot.dtsi"
+
+/ {
+	model = "AST2600 ASUS X4TF";
+	compatible = "aspeed,ast2600-asus", "aspeed,ast2600";
+
+	memory {
+		device_type = "memory";
+		reg = <0x80000000 0x20000000>;
+	};
+
+	chosen {
+		stdout-path = &uart5;
+	};
+
+	aliases {
+		spi0 = &fmc;
+		ethernet0 = &mac2;
+		ethernet1 = &mac3;
+	};
+
+	cpus {
+		cpu@0 {
+			clock-frequency = <800000000>;
+		};
+
+		cpu@1 {
+			clock-frequency = <800000000>;
+		};
+	};
+};
+
+&uart5 {
+	status = "okay";
+};
+
+&sdrammc {
+	clock-frequency = <400000000>;
+};
+
+&wdt1 {
+	status = "okay";
+};
+
+&wdt2 {
+	status = "okay";
+};
+
+&wdt3 {
+	status = "okay";
+};
+
+&mac2 {
+	status = "okay";
+	phy-mode = "rmii";
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_rmii3_default>;
+};
+
+&mac3 {
+	status = "okay";
+	phy-mode = "rmii";
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_rmii4_default>;
+};
+
+&fmc {
+	status = "okay";
+
+	flash@0 {
+		compatible = "jedec,spi-nor", "macronix,mx66l2g45g";
+		status = "okay";
+		spi-max-frequency = <25000000>;
+		spi-tx-bus-width = <2>;
+		spi-rx-bus-width = <2>;
+	};
+
+	flash@1 {
+		compatible = "spi-flash", "sst,w25q256";
+		status = "okay";
+		spi-max-frequency = <25000000>;
+		spi-tx-bus-width = <4>;
+		spi-rx-bus-width = <4>;
+	};
+};
+
+&hace {
+	status = "okay";
+};
+
+&i2c0 {
+	status = "okay";
+};
+
+&i2c1 {
+	status = "okay";
+};
+
+&i2c2 {
+	status = "okay";
+};
+
+&i2c3 {
+	status = "okay";
+};
+
+&i2c4 {
+	status = "okay";
+};
+
+&i2c5 {
+	status = "okay";
+};
+
+&i2c6 {
+	status = "okay";
+};
+
+&i2c7 {
+	status = "okay";
+};
+
+&i2c8 {
+	status = "okay";
+};
+
+&i2c9 {
+	status = "okay";
+};
+
+&i2c10 {
+	status = "okay";
+};
+
+&i2c11 {
+	status = "okay";
+};
+
+&i2c12 {
+	status = "disabled";
+};
+
+&i2c13 {
+	status = "disabled";
+};
+
+&i2c14 {
+	status = "okay";
+};
+
+&i2c15 {
+	status = "okay";
+};
+
+&display_port {
+	status = "okay";
+};
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH next v1 0/1] Add new bmc dts for ASUS X4TF server
  2024-03-13 10:27 [PATCH next v1 0/1] Add new bmc dts for ASUS X4TF server Kelly Hung
  2024-03-13 10:27 ` [PATCH next v1 1/1] arm: dts: ast2600-x4tf: Add new dts for ASUS X4TF Kelly Hung
@ 2024-03-21 12:15 ` Tom Rini
  2024-03-25  5:23 ` Andrew Jeffery
  2 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2024-03-21 12:15 UTC (permalink / raw)
  To: u-boot, Kelly Hung
  Cc: marex, neil.armstrong, hai.pham.ud, jonas, openbmc, clamor95,
	christianshewitt, kever.yang, Allenyy_Hsu, Kelly Hung, naoki,
	cnsztl, patrick.delaunay, michal.simek

On Wed, 13 Mar 2024 18:27:24 +0800, Kelly Hung wrote:

> Add bmc dts to ASUS X4TF server, we also submitted dts to linux place.
> Please refer to here, https://lore.kernel.org/lkml/?q=x4tf.
> 
> Kelly Hung (1):
>   arm: dts: ast2600-x4tf: Add new dts for ASUS X4TF
> 
> arch/arm/dts/Makefile         |   4 +-
>  arch/arm/dts/ast2600-x4tf.dts | 161 ++++++++++++++++++++++++++++++++++
>  2 files changed, 164 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/dts/ast2600-x4tf.dts
> 
> [...]

Applied to u-boot/next, thanks!

-- 
Tom



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH next v1 0/1] Add new bmc dts for ASUS X4TF server
  2024-03-13 10:27 [PATCH next v1 0/1] Add new bmc dts for ASUS X4TF server Kelly Hung
  2024-03-13 10:27 ` [PATCH next v1 1/1] arm: dts: ast2600-x4tf: Add new dts for ASUS X4TF Kelly Hung
  2024-03-21 12:15 ` [PATCH next v1 0/1] Add new bmc dts for ASUS X4TF server Tom Rini
@ 2024-03-25  5:23 ` Andrew Jeffery
  2 siblings, 0 replies; 4+ messages in thread
From: Andrew Jeffery @ 2024-03-25  5:23 UTC (permalink / raw)
  To: Kelly Hung; +Cc: Allenyy_Hsu, openbmc, Kelly Hung

Hi Kelly,

On Wed, 2024-03-13 at 18:27 +0800, Kelly Hung wrote:
> Add bmc dts to ASUS X4TF server, we also submitted dts to linux place.
> Please refer to here, https://lore.kernel.org/lkml/?q=x4tf.
> 
> Kelly Hung (1):
>   arm: dts: ast2600-x4tf: Add new dts for ASUS X4TF
> 
>  arch/arm/dts/Makefile         |   4 +-
>  arch/arm/dts/ast2600-x4tf.dts | 161 ++++++++++++++++++++++++++++++++++
>  2 files changed, 164 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/dts/ast2600-x4tf.dts
> 

I've backported your patch to openbmc/u-boot v2019.04-aspeed-openbmc.

Andrew

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-25  5:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-13 10:27 [PATCH next v1 0/1] Add new bmc dts for ASUS X4TF server Kelly Hung
2024-03-13 10:27 ` [PATCH next v1 1/1] arm: dts: ast2600-x4tf: Add new dts for ASUS X4TF Kelly Hung
2024-03-21 12:15 ` [PATCH next v1 0/1] Add new bmc dts for ASUS X4TF server Tom Rini
2024-03-25  5:23 ` 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).