Re: [PATCH v2 0/2] Add device tree for ASRock Rack ALTRAD8 BMC

Rebecca Cran
2025-09-22T20:47:42Z

On 9/21/25 20:40, Andrew Jeffery wrote:

> On Wed, 2025-09-17 at 12:04 -0600, Rebecca Cran wrote:
>> aspeed-bmc-asrock-altrad8.dts:578.16-581.6: Warning (unique_unit_address_if_enabled): /ahb/spi@1e630000/flash@0/partitions/code@400000: duplicate unit-address (also used in node /ahb/spi@1e630000/flash@0/partitions/tfa@400000)
> It seems odd that the partitions intersect. Are the offsets correct? If
> they are, can you add comments to the DTS discussing what's going on
> there?
I'll delete the code partition. I added it to make it easier for my
script to flash both TF-A and UEFI areas at once.
>
>> aspeed-bmc-asrock-altrad8.dtb: gpio@1c (nxp,pca9557): '#address-cells', '#size-cells', 'gpio@0', 'gpio@1', 'gpio@2', 'gpio@3', 'gpio@4', 'gpio@5', 'gpio@6', 'gpio@7' do not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', '^pinctrl-[0-9]+$'
>> from schema $id: http://devicetree.org/schemas/gpio/gpio-pca95xx.yaml#
> This one needs fixing.

I'm confused, because in the existing device tree files I'm only seeing
'hog' used in the &gpio node, while 'pca[0-9]+' is commonly used as the
node names for pca95xx devices.

Does the gpio-pca95xx.yaml file need to be updated?

--

Rebecca Cran