aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQipan Li <[email protected]>2015-02-09 14:29:46 +0800
committerBarry Song <[email protected]>2015-08-05 22:44:19 +0800
commitd015642e124ec3a90d1699293bbd2514f9b525ea (patch)
treef482397b2a84bbd503eec7c37b587e2d13d01133
parent153645b3e0373e276e3641e8b784f186bcc18b7e (diff)
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 <[email protected]> Signed-off-by: Barry Song <[email protected]>
-rw-r--r--arch/arm/boot/dts/atlas7.dtsi4
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>;