arm64: dts: sc7180: Add aliases for all i2c and spi devices
authorRajendra Nayak <rnayak@codeaurora.org>
Wed, 11 Dec 2019 07:13:09 +0000 (07:13 +0000)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 12 Dec 2019 06:51:16 +0000 (22:51 -0800)
Add aliases for all i2c and spi nodes

Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Link: https://lore.kernel.org/r/0101016ef3cded0a-f85e1f98-f3be-4f6f-805f-82f8b6a83e14-000000@us-west-2.amazonses.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sc7180.dtsi

index 714d654..01bbb58 100644 (file)
 
        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";