Skip to content

Commit

Permalink
ARM: dts: bcm2711: Add aliases for additional SPIs
Browse files Browse the repository at this point in the history
Without aliases for the new SPI interfaces in BCM2711, spidev instances
will be allocated sequential numbers that may not match the number of
the physical interface.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
  • Loading branch information
pelwell committed Mar 22, 2021
1 parent 13c4388 commit 6c301bb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/bcm2711-rpi-4-b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,10 @@
i2c4 = &i2c4;
i2c5 = &i2c5;
i2c6 = &i2c6;
spi3 = &spi3;
spi4 = &spi4;
spi5 = &spi5;
spi6 = &spi6;
/delete-property/ intc;
};

Expand Down
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/bcm2711-rpi-400.dts
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,10 @@
i2c4 = &i2c4;
i2c5 = &i2c5;
i2c6 = &i2c6;
spi3 = &spi3;
spi4 = &spi4;
spi5 = &spi5;
spi6 = &spi6;
/delete-property/ intc;
};

Expand Down
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/bcm2711-rpi-cm4.dts
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,10 @@
i2c4 = &i2c4;
i2c5 = &i2c5;
i2c6 = &i2c6;
spi3 = &spi3;
spi4 = &spi4;
spi5 = &spi5;
spi6 = &spi6;
/delete-property/ intc;
};

Expand Down

0 comments on commit 6c301bb

Please sign in to comment.