ARM: dts: aspeed: Add Intel AVCRP and JNCRP BMC platforms
Subsystems (2)
v6 cover ARM: dts: aspeed: Add Intel AVCRP and JNCRP BMC platforms
This series adds initial upstream support for the Intel AVCRP and JNCRP BMC platforms. Both are x86 server platforms with Intel host processors, managed by an ASPEED AST2600 BMC.
The first patch adds the board compatibles to the ASPEED binding. The remaining two patches add the board DTS files and register them in the ASPEED DTB build list.
Changes in v6:
- Removed the default pinctrl from &uart3 and &uart4, which are only used through &uart_routing, so their pins stay available as GPIOs
- Added &uart3, &uart4 and &uart_routing to JNCRP
- Reworded the platform descriptions in the commit messages
- Rebased onto the current aspeed/arm/dt
v5: https://lore.kernel.org/r/[email protected]
Dawid Glazik (3):
dt-bindings: arm: aspeed: Add Intel AVCRP and JNCRP boards
ARM: dts: aspeed: Add Intel AVCRP BMC
ARM: dts: aspeed: Add Intel JNCRP BMC
.../bindings/arm/aspeed/aspeed.yaml | 2 + arch/arm/boot/dts/aspeed/Makefile | 2 + .../dts/aspeed/aspeed-bmc-intel-avcrp.dts | 326 ++++++++++++++++++ .../dts/aspeed/aspeed-bmc-intel-jncrp.dts | 293 ++++++++++++++++ 4 files changed, 623 insertions(+) create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-intel-jncrp.dts
base-commit: 3251db5e8a31b456ff9b841d73412a22735a7416
Signature · 1 line
2.43.0
PATCH v6 1/3 dt-bindings: arm: aspeed: Add Intel AVCRP and JNCRP boards
Add compatible strings for the Intel AVCRP and JNCRP BMC boards.
---
v6:
- Rebased onto the current aspeed/arm/dt, no other changes
v5:
- Rebased onto the current aspeed/arm/dt, no other changes
v4:
- Rebased onto aspeed/arm/dt of bmc/linux.git, no other changes
v2:
- Squash the separate AVCRP and JNCRP commits from v1 into a single commit, since the changes are small and closely related
- Fix compatible string ordering so the new entries stay in alphabetical order within the enum
--- Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +2 -0
@@ -112,6 +112,8 @@ properties: - ibm,sbp1-bmc - ibm,system1-bmc - ibm,tacoma-bmc + - intel,avcrp-bmc + - intel,jncrp-bmc - inventec,starscream-bmc - inventec,transformer-bmc - jabil,rbp-bmc
Signature · 1 line
2.43.0
PATCH v6 2/3 ARM: dts: aspeed: Add Intel AVCRP BMC
In reply to Dawid GlazikAVCRP is an Intel x86 server platform based on Granite Rapids processors. Its BMC is an AST2600-based RunBMC module on the platform's DC-SCM. The DC-SCM provides the board management features, such as USB, system UART over USB, status LEDs and the power and ID buttons. RunBMC was chosen to enable a broader BMC ecosystem and implementation flexibility.
The BMC provides the platform's out-of-band management. It exposes the system UARTs, USB, network, KCS, MCTP over I3C and LPC POST code snooping, and it handles the status and ID LEDs, the power and reset controls and the host fault signals.
---
v6:
- Removed the default pinctrl from &uart3 and &uart4, which are only used through &uart_routing, to keep pins L4/L5 and B6/B7 as GPIOs
- Reworded the platform description in the commit message
- Rebased onto the current aspeed/arm/dt
v5:
- Removed bootargs from the chosen node, earlycon is for debugging only
- Added a description of the platform to the commit message
- Rebased onto the current aspeed/arm/dt
- Capitalised the first word of the subject
v4:
- Rebased onto aspeed/arm/dt of bmc/linux.git, no other changes
v3:
- Sorted nodes alphabetically
- Sorted properties per dts-coding-style
- Removed lpc-snoop label
- Removed &i3c_global since it's enabled by default
- Removed GPIO line names for pins claimed by pinctrl
- Restored Reviewed-by from Andrew Lunn, dropped by mistake in v2
v2:
- Reviewed-by: Andrew Lunn for nodes: &mdio1, &mac1
- Replace bootargs console=ttyS4,115200n8 with stdout-path = &uart5
- Remove the unreferenced video_memory reserved-memory node
--- arch/arm/boot/dts/aspeed/Makefile | 1 + .../dts/aspeed/aspeed-bmc-intel-avcrp.dts | 326 ++++++++++++++++++ 2 files changed, 327 insertions(+) create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts
arch/arm/boot/dts/aspeed/Makefile +1 -0
@@ -59,6 +59,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ aspeed-bmc-ibm-rainier-4u.dtb \ aspeed-bmc-ibm-sbp1.dtb \ aspeed-bmc-ibm-system1.dtb \ + aspeed-bmc-intel-avcrp.dtb \ aspeed-bmc-intel-s2600wf.dtb \ aspeed-bmc-inspur-fp5280g2.dtb \ aspeed-bmc-inspur-nf5280m6.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts new file +326 -0
326 lines not on this page · raw message
Signature · 1 line
2.43.0
[email protected]
AI reviewRe: [PATCH v6 2/3] ARM: dts: aspeed: Add Intel AVCRP BMC
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] ARM: dts: aspeed: avcrp: unnecessary RMII RCLK clock specified on RGMII mac1 --
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [Low] ARM: dts: aspeed: avcrp: unnecessary RMII RCLK clock specified on RGMII mac1
--
commit 73259580cccaecd0b0979753a09f8fcb15e20987
Author: Dawid Glazik <[email protected]>
ARM: dts: aspeed: Add Intel AVCRP BMC
This commit adds the device tree for the AST2600-based RunBMC module on the Intel AVCRP server platform.
Quoted 6 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts new file +0
-0@@ -0,0 +1,326 @@
[ ... ]
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts line 192
Quoted 11 lines
+&mac1 {
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-avcrp.dts new file +10
-0+ clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>, + <&syscon ASPEED_CLK_MAC2RCLK>; + clock-names = "MACCLK", "RCLK"; + phy-handle = <ðphy1>; + phy-mode = "rgmii-id"; + pinctrl-0 = <&pinctrl_rgmii2_default>; + pinctrl-names = "default"; + + status = "okay"; +};
[Severity: Low]
Does mac1 need clocks and clock-names overridden here?
ASPEED_CLK_MAC2RCLK (RCLK) is the RMII 50 MHz reference clock gate, whereas mac1 is configured for RGMII (phy-mode = "rgmii-id") and aspeed-g6.dtsi already provides ASPEED_CLK_GATE_MAC2CLK. Specifying RCLK causes ftgmac100_setup_clk() to unnecessarily enable the RMII2 RCLK gate.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
PATCH v6 3/3 ARM: dts: aspeed: Add Intel JNCRP BMC
In reply to Dawid GlazikJNCRP is an Intel x86 server platform with Intel Xeon host processors. Its BMC is an AST2600-based platform management controller on the platform's DC-SCM, providing out-of-band management of the host through KCS, network and MCTP over I3C.
The BMC controls platform power and reset, and monitors CPU and memory thermal and fault signals as well as host processor module (HPM) presence, FRU and fault signals. It also captures POST codes.
---
v6:
- Added &uart3, &uart4 and &uart_routing, with the default UART3/4 pinctrl removed to keep pins L4/L5 and B6/B7 as GPIOs
- Reworded the platform description in the commit message
- Rebased onto the current aspeed/arm/dt
v5:
- Removed bootargs from the chosen node, earlycon is for debugging only
- Added a description of the platform to the commit message
- Rebased onto the current aspeed/arm/dt
- Capitalised the first word of the subject
v4:
- Rebased onto aspeed/arm/dt of bmc/linux.git, no other changes
v3:
- Sorted nodes alphabetically
- Sorted properties per dts-coding-style
- Removed lpc-snoop label
- Removed &i3c_global since it's enabled by default
- Added &kcs3 and replaced flash layout with 128MB one
- Restored Reviewed-by from Andrew Lunn, dropped by mistake in v2
v2:
- Reviewed-by: Andrew Lunn for nodes: &mdio1, &mac1
- Replace bootargs console=ttyS4,115200n8 with stdout-path = &uart5
--- arch/arm/boot/dts/aspeed/Makefile | 1 + .../dts/aspeed/aspeed-bmc-intel-jncrp.dts | 293 ++++++++++++++++++ 2 files changed, 294 insertions(+) create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-intel-jncrp.dts
arch/arm/boot/dts/aspeed/Makefile +1 -0
@@ -60,6 +60,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ aspeed-bmc-ibm-sbp1.dtb \ aspeed-bmc-ibm-system1.dtb \ aspeed-bmc-intel-avcrp.dtb \ + aspeed-bmc-intel-jncrp.dtb \ aspeed-bmc-intel-s2600wf.dtb \ aspeed-bmc-inspur-fp5280g2.dtb \ aspeed-bmc-inspur-nf5280m6.dtb \
arch/arm/boot/dts/aspeed/aspeed-bmc-intel-jncrp.dts new file +293 -0
293 lines not on this page · raw message
Signature · 1 line
2.43.0