diff mbox series

[2/2] arm64: dts: sc7180: Add aliases for all i2c and spi devices

Message ID 0101016ef3cdf035-81663ddb-2978-4369-a621-d4a80c768911-000000@us-west-2.amazonses.com (mailing list archive)
State Accepted
Commit 9868a31c3134c5b96e658f0b44fb64fc69b14d49
Headers show
Series [1/2] arm64: dts: sc7180: Remove additional spi chip select muxes | expand

Commit Message

Rajendra Nayak Dec. 11, 2019, 7:13 a.m. UTC
Add aliases for all i2c and spi nodes

Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
---
 arch/arm64/boot/dts/qcom/sc7180.dtsi | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi
index 88db1f5..eb02cd1 100644
--- a/arch/arm64/boot/dts/qcom/sc7180.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi
@@ -18,6 +18,29 @@ 
 
 	chosen { };
 
+	aliases {
+		i2c0 = &i2c0;
+		i2c1 = &i2c1;
+		i2c2 = &i2c2;
+		i2c3 = &i2c3;
+		i2c4 = &i2c4;
+		i2c5 = &i2c5;
+		i2c6 = &i2c6;
+		i2c7 = &i2c7;
+		i2c8 = &i2c8;
+		i2c9 = &i2c9;
+		i2c10 = &i2c10;
+		i2c11 = &i2c11;
+		spi0 = &spi0;
+		spi1 = &spi1;
+		spi3 = &spi3;
+		spi5 = &spi5;
+		spi6 = &spi6;
+		spi8 = &spi8;
+		spi10 = &spi10;
+		spi11 = &spi11;
+	};
+
 	clocks {
 		xo_board: xo-board {
 			compatible = "fixed-clock";