ARM: dts: atlas7: add alias name for spi device
authorQipan Li <Qipan.Li@csr.com>
Mon, 9 Feb 2015 06:29:46 +0000 (14:29 +0800)
committerBarry Song <Baohua.Song@csr.com>
Wed, 5 Aug 2015 14:44:19 +0000 (22:44 +0800)
spi framework can use alias name of spi device to retrieve the bus id,
so bus id will not be dynamical but statical and it will be easier for
test for a specified spi device with a fixed name like use spidev.

Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
arch/arm/boot/dts/atlas7.dtsi

index cc9db08..b872d12 100644 (file)
                serial5 = &uart5;
                serial6 = &uart6;
                serial9 = &usp2;
+               spi1 = &spi1;
+               spi2 = &usp1;
+               spi3 = &usp2;
+               spi4 = &usp3;
        };
        cpus {
                #address-cells = <1>;