]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: cssi: Fix SPI nodes in DTS
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 12 Apr 2024 10:10:14 +0000 (12:10 +0200)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 18 Apr 2024 13:47:46 +0000 (15:47 +0200)
commit6ade8439cc1de86c81c14f114e0aebca81621fd1
tree600668304c7a3f001606ccbc36eacebf2633ecef
parented36a27a758af2514949670adbe9f11297da4302
board: cssi: Fix SPI nodes in DTS

When adding additional SPI peripherals, the reg property needs to
be added, and this leads to the following error:

  arch/powerpc/dts/cmpc885.dtb: Warning (reg_format): /immr@ff000000/spi@aa0/temp@1:reg: property has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1)
  arch/powerpc/dts/cmpc885.dtb: Warning (reg_format): /immr@ff000000/spi@aa0/temp@2:reg: property has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1)

Fix it by removing cell-index and cell-size which is unused and add
reg property. Also fix node name to be in line with reg value.
Also add missing compatible for eeprom node.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
arch/powerpc/dts/cmpc885.dts
arch/powerpc/dts/cmpcpro.dts