Message ID | df27dbe5931dcb7d8f404759ad42e25b15bcf780.1464129859.git.hramrach@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, May 26, 2016 at 07:25:24PM -0000, Michal Suchanek wrote: > spi2 is available on the UEXT connector > > The bus is named spi2 in the A10s manual and Olinuxino manual so it is > pointless to alias it to something else like spi0. That's not how aliases work in the DT. It's about indexing the devices that are enabled on the board, so it should definitely be 0, especially since it's the only SPI bus usable on that board anyway. Maxime
diff --git a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts index 7d2ff60..9729c37 100644 --- a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts +++ b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts @@ -58,6 +58,7 @@ serial0 = &uart0; serial1 = &uart2; serial2 = &uart3; + spi2 = &spi2; }; chosen {
spi2 is available on the UEXT connector The bus is named spi2 in the A10s manual and Olinuxino manual so it is pointless to alias it to something else like spi0. Signed-off-by: Michal Suchanek <hramrach@gmail.com> --- arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 1 + 1 file changed, 1 insertion(+)