diff options
author | Qipan Li <Qipan.Li@csr.com> | 2015-02-09 14:29:46 +0800 |
---|---|---|
committer | Barry Song <Baohua.Song@csr.com> | 2015-08-05 22:44:19 +0800 |
commit | d015642e124ec3a90d1699293bbd2514f9b525ea (patch) | |
tree | f482397b2a84bbd503eec7c37b587e2d13d01133 /arch/arm/boot/dts/atlas7.dtsi | |
parent | 153645b3e0373e276e3641e8b784f186bcc18b7e (diff) | |
download | linux-d015642e124ec3a90d1699293bbd2514f9b525ea.tar.bz2 |
ARM: dts: atlas7: add alias name for spi device
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>
Diffstat (limited to 'arch/arm/boot/dts/atlas7.dtsi')
-rw-r--r-- | arch/arm/boot/dts/atlas7.dtsi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/atlas7.dtsi b/arch/arm/boot/dts/atlas7.dtsi index cc9db08dbfe3..b872d129a311 100644 --- a/arch/arm/boot/dts/atlas7.dtsi +++ b/arch/arm/boot/dts/atlas7.dtsi @@ -21,6 +21,10 @@ serial5 = &uart5; serial6 = &uart6; serial9 = &usp2; + spi1 = &spi1; + spi2 = &usp1; + spi3 = &usp2; + spi4 = &usp3; }; cpus { #address-cells = <1>; |