ARM: dts: aspeed: Add Ampere's BMC platform (AST2600)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Dear maintainers,
Just a gentle ping on the patch.
I’m eagerly awaiting your response. Please share with me your comments if you need to update anything.
Best Regards,
Chanh Nguyen
Quoted 141 lines · Chanh Nguyen
Add the initial version of the device tree for the Ampere BMC platform, which is equipped with the Aspeed AST2600 BMC SoC.
Signed-off-by Chanh Nguyen <[email protected]>--- arch/arm/dts/Makefile | 1 + arch/arm/dts/ast2600-ampere.dts | 113 ++++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+)create mode 100644
arch/arm/dts/ast2600-ampere.dtsarch/arm/dts/Makefile +1
-0@@ -691,6 +691,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ ast2600-greatlakes.dtb \ ast2600-intel.dtb \ ast2600-ncsi.dtb \ + ast2600-ampere.dtb \ ast2600-p10bmc.dtb \ ast2600-pfr.dtb \ ast2600-qcom-dc-scm-v1.dtb \arch/arm/dts/ast2600-ampere.dts new file +113
-0@@ -0,0 +1,113 @@ +// SPDX-License-Identifier: GPL-2.0+ +// Copyright (c) 2022, Ampere Computing LLC +/dts-v1/; + +#include "ast2600-u-boot.dtsi" + +/ { + model = "AST2600 Ampere BMC"; + compatible = "aspeed,ast2600-ampere", "aspeed,ast2600"; + + memory { + device_type = "memory"; + reg = <0x80000000 0x40000000>; + }; + + chosen { + stdout-path = &uart5; + }; + + aliases { + spi0 = &fmc; + ethernet0 = &mac0; + }; + + cpus { + cpu@0 { + clock-frequency = <800000000>; + }; + cpu@1 { + clock-frequency = <800000000>; + }; + }; +}; + +&uart5 { + u-boot,dm-pre-reloc; + status = "okay"; +}; + +&sdrammc { + clock-frequency = <400000000>; +}; + +&wdt1 { + status = "okay"; +}; + +&wdt2 { + status = "okay"; +}; + +&wdt3 { + status = "okay"; +}; + +&mdio { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mdio1_default>; + +}; + +&mac0 { + status = "okay"; + phy-mode = "rgmii-rxid"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_rgmii1_default>; +}; + +&fmc { + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_fmcquad_default>; + + flash@0 { + status = "okay"; + spi-max-frequency = <50000000>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; + }; + + flash@1 { + status = "okay"; + spi-max-frequency = <50000000>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; + }; +}; + +&scu { + mac0-clk-delay = <0x10 0x0a + 0x10 0x10 + 0x10 0x10>; +}; + +&hace { + u-boot,dm-pre-reloc; + status = "okay"; +}; + +&acry { + u-boot,dm-pre-reloc; + status = "okay"; +}; + +&i2c4 { + status = "okay"; +}; + +&i2c14 { + status = "okay"; +};
Dear all,
I'm looking forward to seeing your feedback on my patch. Please share your comments with me!
Thank you very much,
Chanh Ng
Quoted 150 lines · Chanh Nguyen
Dear maintainers,
Just a gentle ping on the patch.
I’m eagerly awaiting your response. Please share with me your comments if you need to update anything.Best Regards,
Chanh NguyenQuoted 141 lines · Chanh Nguyen
Add the initial version of the device tree for the Ampere BMC platform, which is equipped with the Aspeed AST2600 BMC SoC.
Signed-off-by Chanh Nguyen <[email protected]>---
arch/arm/dts/Makefile | 1 +arch/arm/dts/ast2600-ampere.dts| 113 ++++++++++++++++++++++++++++++++2 files changed, 114 insertions(+)create mode 100644
arch/arm/dts/ast2600-ampere.dtsarch/arm/dts/Makefile +1
-0@@ -691,6 +691,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ ast2600-greatlakes.dtb \ ast2600-intel.dtb \ ast2600-ncsi.dtb \ + ast2600-ampere.dtb \ ast2600-p10bmc.dtb \ ast2600-pfr.dtb \ ast2600-qcom-dc-scm-v1.dtb \arch/arm/dts/ast2600-ampere.dts new file +113
-0@@ -0,0 +1,113 @@ +// SPDX-License-Identifier: GPL-2.0+ +// Copyright (c) 2022, Ampere Computing LLC +/dts-v1/; + +#include "ast2600-u-boot.dtsi" + +/ { + model = "AST2600 Ampere BMC"; + compatible = "aspeed,ast2600-ampere", "aspeed,ast2600"; + + memory { + device_type = "memory"; + reg = <0x80000000 0x40000000>; + }; + + chosen { + stdout-path = &uart5; + }; + + aliases { + spi0 = &fmc; + ethernet0 = &mac0; + }; + + cpus { + cpu@0 { + clock-frequency = <800000000>; + }; + cpu@1 { + clock-frequency = <800000000>; + }; + }; +}; + +&uart5 { + u-boot,dm-pre-reloc; + status = "okay"; +}; + +&sdrammc { + clock-frequency = <400000000>; +}; + +&wdt1 { + status = "okay"; +}; + +&wdt2 { + status = "okay"; +}; + +&wdt3 { + status = "okay"; +}; + +&mdio { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mdio1_default>; + +}; + +&mac0 { + status = "okay"; + phy-mode = "rgmii-rxid"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_rgmii1_default>; +}; + +&fmc { + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_fmcquad_default>; + + flash@0 { + status = "okay"; + spi-max-frequency = <50000000>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; + }; + + flash@1 { + status = "okay"; + spi-max-frequency = <50000000>; + spi-tx-bus-width = <4>; + spi-rx-bus-width = <4>; + }; +}; + +&scu { + mac0-clk-delay = <0x10 0x0a + 0x10 0x10 + 0x10 0x10>; +}; + +&hace { + u-boot,dm-pre-reloc; + status = "okay"; +}; + +&acry { + u-boot,dm-pre-reloc; + status = "okay"; +}; + +&i2c4 { + status = "okay"; +}; + +&i2c14 { + status = "okay"; +};