dts node label in shield/board overlay


Stefano Manni
 

Dear all,

is that possible to define a node label in a shield/board overlay?

I tried:
boards/arm/my_board/my_board.dts:
      &spi2 { status="okay"};

boards/shield/my_shield/my_shield.overlay:
      &spi_label { status="disabled"};

boards/shield/my_shield/boards/my_board.overlay:
      spi_label: &spi2{};

but it got:
Error: waveshare_open103z.dts.pre.tmp:1290.1-11 Label or path spi_label not found

Any hits?

Best,
Stefano


Gerard Marull Paretas
 

What you are asking for is not possible because shield overlays are applied before shield-specific board overlays.



On Wed, Oct 26, 2022 at 3:01 PM Stefano Manni <stefano.manni@...> wrote:

Dear all,

is that possible to define a node label in a shield/board overlay?

I tried:
boards/arm/my_board/my_board.dts:
      &spi2 { status="okay"};

boards/shield/my_shield/my_shield.overlay:
      &spi_label { status="disabled"};

boards/shield/my_shield/boards/my_board.overlay:
      spi_label: &spi2{};

but it got:
Error: waveshare_open103z.dts.pre.tmp:1290.1-11 Label or path spi_label not found

Any hits?

Best,
Stefano



--

Gerard Marull-Paretas
Teslabs Engineering S.L.
teslabs.com T. +34 622 321 312

CONFIDENTIALITY NOTICE:
The contents of this email message and any attachments are intended solely for the addressee(s)
and may contain confidential and/or privileged information and may be legally protected from
disclosure. If you are not the intended recipient of this message or their agent, or if this message
has been addressed to you in error, please immediately alert the sender by reply email and then
delete this message and any attachments. If you are not the intended recipient, you are hereby
notified that any use, dissemination, copying, or storage of this message or its attachments is
strictly prohibited.