* [PATCH v10 0/2] ARM: dts: aspeed: Add ASRock Rack B650D4U BMC @ 2026-10-29 23:13 Prasanth Kumar Padarthi 2026-10-29 23:13 ` [PATCH v10 1/2] dt-bindings: arm: aspeed: Add ASRock Rack B650D4U Prasanth Kumar Padarthi 2026-10-29 23:13 ` [PATCH v10 2/2] ARM: dts: aspeed: Add ASRock Rack B650D4U BMC Prasanth Kumar Padarthi 0 siblings, 2 replies; 3+ messages in thread From: Prasanth Kumar Padarthi @ 2026-10-29 23:13 UTC (permalink / raw) To: joel, andrew Cc: robh, krzk+dt, conor+dt, ryan_chen, billy_tsai, tan.siewert, devicetree, linux-arm-kernel, linux-aspeed, linux-kernel, openbmc, andrew, Prasanth Kumar Padarthi Add the board compatible and device tree for the ASRock Rack B650D4U AST2600 BMC. The DTS describes memory, SPI NOR, UART5, GFX memory, GPIO names, the I2C7 EEPROM/NVMEM MAC provider, MAC0/MDIO, and both ADC engines with an ordered IIO-to-hwmon bridge. This revision corrects regressions in v9's compatible ordering and binding acknowledgement, restores the revision history, and addresses the UART alias and DTS-style feedback. No new hardware is added. Changes in v10: - Restore the binding Acked-by from Krzysztof's earlier review [R1]. - Place asrock,b650d4u-bmc after the aspeed entries, as in v7/v8. - Drop the serial0 override and use the inherited serial4/UART5 alias for stdout. Bootloader console arguments and getty must use ttyS4. - Consolidate the root node and order peripheral references and ADC properties according to the strict DTS-style check. - Restore the earlier history and discussion links below. Changes in v9 [9]: - Enable ADC0 and ADC1 with 2.5-V internal references and pin groups. - Add the sixteen-channel IIO-to-hwmon bridge. - Rebase onto the Aspeed ARM DT maintainer branch and normalize GPIO comma spacing. This revision inadvertently lost the binding Acked-by and regressed compatible ordering; both are corrected in v10. Changes in v8 [8]: - Correct the validation report to multi_v7_defconfig with ARCH_ASPEED and MACH_ASPEED_G6 enabled; retain the DTS and scoped review trailer. Changes in v7 [7]: - Correct GPIOP reset/power/NMI button/control names and remove the obsolete F5 reset name; leave the binding unchanged. - Subsequent review requested the validation correction and carrying Andrew's review tag forward [R4]. v6: - Prepared locally only; no public submission. The sent version number moved from v5 to v7. Changes in v5 [5]: - Add I2C7 EEPROM/NVMEM for MAC0 and select rgmii-id. - Use the standard OpenBMC 64-MiB flash layout. - Add initial GPIO names and the reusable 16-MiB graphics pool. - Drop the previous RX-delay-only justification. - Follow-up review requested GPIO mapping/style and threading fixes [R2, R3]. Andrew's Reviewed-by applies only to MAC0/MDIO. Changes in v4 [4]: - Correct memory size to 512 MiB and add explicit flash partitions. - Report RGMII traffic tests and select rgmii-rxid; that delay rationale was challenged and superseded by the rgmii-id selection in v5. - Order peripheral nodes alphabetically by label. Earlier public submissions: - v3 [3]: board-compatible/DTS series. Krzysztof supplied the binding Acked-by and requested preservation of review tags [R1]. - v2 [2]: early board DTS, including UART5 via serial4. Its complete per-version changelog was not recovered; the archived patch is linked rather than inferring an unsupported change list. - Initial submission [1]: board binding/DTS, with QEMU console and board-identification testing reported in the cover. Review tags: The binding carries Krzysztof's original Acked-by address. Andrew's Reviewed-by remains explicitly restricted to MAC0 and MDIO nodes; no complete-board review is claimed. Validation: - Compiled and schema-checked the v10 board DTB with multi_v7_defconfig, CONFIG_ARCH_ASPEED=y and CONFIG_MACH_ASPEED_G6=y, using arm-linux-gnueabi-gcc and dtschema 2026.9. - dt_binding_check for arm/aspeed/aspeed.yaml completed without diagnostics in the reported output. - CHECK_DTBS=y reported no board-specific errors. Two unmatched-schema diagnostics remain for inherited aspeed,ast2600-lhc and aspeed,ast2600-i3c-global nodes. - Strict dt-check-style and whitespace checks passed. Checkpatch reports no errors and one MAINTAINERS reminder for the new board file, covered by the existing Aspeed directory entry. These are DTB/binding checks, not a complete kernel build or boot test. Both ADC engines, twelve configured voltage rails and recovery after BMC restart were tested in a custom Linux 6.18.24 OpenBMC image with the same ADC settings. That image has separate power-control changes, a different flash layout and ttyS0 console configuration. The complete upstream DTS, including v10's ttyS4 console selection, has not been boot-tested. Voltage scaling is userspace configuration outside this series. Base: 8db593481c8669eddb8b4e21ea44f3fa11d9f030, aspeed/arm/dt https://git.kernel.org/pub/scm/linux/kernel/git/bmc/linux.git Previous submissions and review discussions: [1] https://lore.kernel.org/all/20260512175019.47548-1-prasanth.padarthi10@gmail.com/ [2] https://lists.infradead.org/pipermail/linux-arm-kernel/2026-May/1129461.html [3] https://lore.kernel.org/all/20260518033440.17569-1-prasanth.padarthi10@gmail.com/ [4] https://lore.kernel.org/all/20260830182036.284736-1-prasanth.padarthi10@gmail.com/ [5] https://lore.kernel.org/all/20260915013110.4780-1-prasanth.padarthi10@gmail.com/ [7] https://lore.kernel.org/all/cover.1790079398.git.prasanth.padarthi10@gmail.com/ [8] https://lore.kernel.org/all/20261002062933.26497-1-prasanth.padarthi10@gmail.com/ [9] https://lore.kernel.org/all/20261027034911.99482-1-prasanth.padarthi10@gmail.com/ [R1] https://lore.kernel.org/all/20260518-rustling-watchful-viper-b9c4b4@quoll/ [R2] https://lkml.iu.edu/2609.2/00630.html [R3] https://lkml.iu.edu/2609.2/00642.html [R4] https://lists.openwall.net/linux-kernel/2026/09/22/1982 Prasanth Kumar Padarthi (2): dt-bindings: arm: aspeed: Add ASRock Rack B650D4U ARM: dts: aspeed: Add ASRock Rack B650D4U BMC .../bindings/arm/aspeed/aspeed.yaml | 1 + arch/arm/boot/dts/aspeed/Makefile | 1 + .../dts/aspeed/aspeed-bmc-asrock-b650d4u.dts | 169 ++++++++++++++++++ 3 files changed, 171 insertions(+) create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-b650d4u.dts base-commit: 8db593481c8669eddb8b4e21ea44f3fa11d9f030 -- 2.47.3 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v10 1/2] dt-bindings: arm: aspeed: Add ASRock Rack B650D4U 2026-10-29 23:13 [PATCH v10 0/2] ARM: dts: aspeed: Add ASRock Rack B650D4U BMC Prasanth Kumar Padarthi @ 2026-10-29 23:13 ` Prasanth Kumar Padarthi 2026-10-29 23:13 ` [PATCH v10 2/2] ARM: dts: aspeed: Add ASRock Rack B650D4U BMC Prasanth Kumar Padarthi 1 sibling, 0 replies; 3+ messages in thread From: Prasanth Kumar Padarthi @ 2026-10-29 23:13 UTC (permalink / raw) To: joel, andrew Cc: robh, krzk+dt, conor+dt, ryan_chen, billy_tsai, tan.siewert, devicetree, linux-arm-kernel, linux-aspeed, linux-kernel, openbmc, andrew, Prasanth Kumar Padarthi, Krzysztof Kozlowski Add the compatible string for the ASRock Rack B650D4U BMC, which is an AST2600-based server motherboard. Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Prasanth Kumar Padarthi <prasanth.padarthi10@gmail.com> --- Changes in v10: - Restore the original Acked-by and the alphabetical compatible position. - Revisions v7/v8 already carried both; their loss in v9 was accidental. Previous series and full history: see the cover letter. Prior binding review: https://lore.kernel.org/all/20260518-rustling-watchful-viper-b9c4b4@quoll/ Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml b/Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml index b7e70868e..c2275d7f4 100644 --- a/Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml +++ b/Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml @@ -81,6 +81,7 @@ properties: - ampere,mtmitchell-bmc - aspeed,ast2600-evb - aspeed,ast2600-evb-a1 + - asrock,b650d4u-bmc - asus,ast2600-kommando-ipmi-card - asus,x4tf-bmc - facebook,anacapa-bmc -- 2.47.3 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v10 2/2] ARM: dts: aspeed: Add ASRock Rack B650D4U BMC 2026-10-29 23:13 [PATCH v10 0/2] ARM: dts: aspeed: Add ASRock Rack B650D4U BMC Prasanth Kumar Padarthi 2026-10-29 23:13 ` [PATCH v10 1/2] dt-bindings: arm: aspeed: Add ASRock Rack B650D4U Prasanth Kumar Padarthi @ 2026-10-29 23:13 ` Prasanth Kumar Padarthi 1 sibling, 0 replies; 3+ messages in thread From: Prasanth Kumar Padarthi @ 2026-10-29 23:13 UTC (permalink / raw) To: joel, andrew Cc: robh, krzk+dt, conor+dt, ryan_chen, billy_tsai, tan.siewert, devicetree, linux-arm-kernel, linux-aspeed, linux-kernel, openbmc, andrew, Prasanth Kumar Padarthi Add the device tree for the ASRock Rack B650D4U BMC, based on the ASPEED AST2600 SoC. Describe the BMC memory, SPI NOR flash layout, UART5 console, GPIO line names, graphics memory, and the EEPROM on I2C7. Use the EEPROM as the NVMEM provider for the MAC0 address and configure MAC0 with an RTL8211F PHY in RGMII-ID mode. Enable both ADC engines with 2.5 V internal references and expose the sixteen channels through an IIO-to-hwmon bridge for board voltage monitoring. Retain the SoC's serial4 alias for UART5 and select it as stdout, without adding a second serial alias for the same UART. Reviewed-by: Andrew Lunn <andrew@lunn.ch> # MAC0 and MDIO nodes only Signed-off-by: Prasanth Kumar Padarthi <prasanth.padarthi10@gmail.com> --- Changes in v10: - Use the inherited serial4/UART5 alias instead of duplicating it as serial0. - Consolidate root nodes and fix peripheral/ADC property ordering. - Keep ADC settings and MAC0/MDIO semantics unchanged. Changes in v9: enable ADC0/ADC1 and add the ordered IIO-to-hwmon bridge. Earlier history and testing limitations: see the cover letter. Previous series: https://lore.kernel.org/all/20261027034911.99482-1-prasanth.padarthi10@gmail.com/ arch/arm/boot/dts/aspeed/Makefile | 1 + .../dts/aspeed/aspeed-bmc-asrock-b650d4u.dts | 169 ++++++++++++++++++ 2 files changed, 170 insertions(+) create mode 100644 arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-b650d4u.dts diff --git a/arch/arm/boot/dts/aspeed/Makefile b/arch/arm/boot/dts/aspeed/Makefile index 6874b621d..fcb94e62c 100644 --- a/arch/arm/boot/dts/aspeed/Makefile +++ b/arch/arm/boot/dts/aspeed/Makefile @@ -10,6 +10,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ aspeed-bmc-ampere-mtmitchell.dtb \ aspeed-bmc-arm-stardragon4800-rep2.dtb \ aspeed-bmc-asrock-altrad8.dtb \ + aspeed-bmc-asrock-b650d4u.dtb \ aspeed-bmc-asrock-e3c246d4i.dtb \ aspeed-bmc-asrock-e3c256d4i.dtb \ aspeed-bmc-asrock-paul-ipmi-card.dtb \ diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-b650d4u.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-b650d4u.dts new file mode 100644 index 000000000..522c4d53e --- /dev/null +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-b650d4u.dts @@ -0,0 +1,169 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "aspeed-g6.dtsi" + +/ { + compatible = "asrock,b650d4u-bmc", "aspeed,ast2600"; + model = "ASRock Rack B650D4U BMC"; + + chosen { + stdout-path = "serial4:115200n8"; + }; + + iio-hwmon { + compatible = "iio-hwmon"; + io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>, + <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>, + <&adc1 0>, <&adc1 1>, <&adc1 2>, <&adc1 3>, + <&adc1 4>, <&adc1 5>, <&adc1 6>, <&adc1 7>; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x20000000>; + }; + + reserved-memory { + ranges; + #address-cells = <1>; + #size-cells = <1>; + + gfx_memory: framebuffer { + compatible = "shared-dma-pool"; + alignment = <0x01000000>; + reusable; + size = <0x01000000>; + }; + }; +}; + +&adc0 { + pinctrl-0 = <&pinctrl_adc0_default>, + <&pinctrl_adc1_default>, + <&pinctrl_adc2_default>, + <&pinctrl_adc3_default>, + <&pinctrl_adc4_default>, + <&pinctrl_adc5_default>, + <&pinctrl_adc6_default>, + <&pinctrl_adc7_default>; + pinctrl-names = "default"; + aspeed,int-vref-microvolt = <2500000>; + + status = "okay"; +}; + +&adc1 { + pinctrl-0 = <&pinctrl_adc8_default>, + <&pinctrl_adc9_default>, + <&pinctrl_adc10_default>, + <&pinctrl_adc11_default>, + <&pinctrl_adc12_default>, + <&pinctrl_adc13_default>, + <&pinctrl_adc14_default>, + <&pinctrl_adc15_default>; + pinctrl-names = "default"; + aspeed,int-vref-microvolt = <2500000>; + + status = "okay"; +}; + +&fmc { + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + label = "bmc"; + spi-max-frequency = <50000000>; + spi-rx-bus-width = <4>; + m25p,fast-read; + + status = "okay"; + +#include "openbmc-flash-layout-64.dtsi" + }; +}; + +&gfx { + memory-region = <&gfx_memory>; + + status = "okay"; +}; + +&gpio0 { + gpio-line-names = + /* A0-A7 */ "", "", "", "", "", "", "", "", + /* B0-B7 */ "", "", "", "", "", "", "", "", + /* C0-C7 */ "", "", "", "", "", "", "", "", + /* D0-D7 */ "", "", "", "", "", "", "", "", + /* E0-E7 */ "", "", "", "", "", "", "", "", + /* F0-F7 */ "", "", "", "", "", "", "", "", + /* G0-G7 */ "", "", "", "", "", "", "", "", + /* H0-H7 */ "", "", "", "", "", "", "", "", + /* I0-I7 */ "", "", "", "", "", "", "", "", + /* J0-J7 */ "", "", "", "", "", "", "", "", + /* K0-K7 */ "", "", "", "", "", "", "", "", + /* L0-L7 */ "", "", "", "", "", "", "", "", + /* M0-M7 */ "", "", "", "", "", "", "", "", + /* N0-N7 */ "", "", "", "", "", "", "", "", + /* O0-O7 */ "", "", "", "", "", "", "", "", + /* P0-P7 */ "button-reset-n", "control-reset-n", + "button-power-n", "control-power-n", + "button-nmi-n", "control-nmi-n", + "", "", + /* Q0-Q7 */ "", "", "", "", "", "", "", "", + /* R0-R7 */ "", "", "", "", "", "", "", "", + /* S0-S7 */ "", "", "", "", "", "", "", "", + /* T0-T7 */ "", "", "", "", "", "", "", "", + /* U0-U7 */ "", "", "", "", "", "", "", "", + /* V0-V7 */ "", "", "", "", "", "", "", "", + /* W0-W7 */ "", "", "", "", "", "", "", "", + /* X0-X7 */ "", "", "", "", "", "", "", "", + /* Y0-Y7 */ "", "", "", "", "", "", "", "", + /* Z0-Z7 */ "", "", "", "", "", "", "", ""; +}; + +&i2c7 { + status = "okay"; + + eeprom@57 { + compatible = "atmel,24c128"; + reg = <0x57>; + pagesize = <16>; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + eth0_macaddress: macaddress@3f80 { + reg = <0x3f80 6>; + }; + }; + }; +}; + +&mac0 { + nvmem-cells = <ð0_macaddress>; + nvmem-cell-names = "mac-address"; + phy-handle = <ðphy0>; + phy-mode = "rgmii-id"; + pinctrl-0 = <&pinctrl_rgmii1_default>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&mdio0 { + status = "okay"; + + ethphy0: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; +}; + +&uart5 { + status = "okay"; +}; -- 2.47.3 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-10-29 23:14 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2026-10-29 23:13 [PATCH v10 0/2] ARM: dts: aspeed: Add ASRock Rack B650D4U BMC Prasanth Kumar Padarthi 2026-10-29 23:13 ` [PATCH v10 1/2] dt-bindings: arm: aspeed: Add ASRock Rack B650D4U Prasanth Kumar Padarthi 2026-10-29 23:13 ` [PATCH v10 2/2] ARM: dts: aspeed: Add ASRock Rack B650D4U BMC Prasanth Kumar Padarthi
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®