]> git.karo-electronics.de Git - linux-beck.git/commitdiff
arm64: dts: apq8016-sbc: add label properties for UART, I2C, and SPI
authorRob Herring <robh@kernel.org>
Thu, 10 Dec 2015 21:21:12 +0000 (15:21 -0600)
committerOlof Johansson <olof@lixom.net>
Tue, 22 Dec 2015 19:25:26 +0000 (11:25 -0800)
Add label properties to provide a way to identify UART, I2C and SPI
ports based on their connector names. This follows naming convention in
96boards CE spec. Ports without external connections are not labelled.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Andy Gross <agross@codeaurora.org>
Acked-by: Kevin Hilman <khilman@linaro.org>
Tested-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

index 7505fa385cebc10266ff1c445140d58f4ac7cdc0..14fafa1e9c7ca87d57b41416ac5ce4ed2b00189e 100644 (file)
@@ -28,6 +28,7 @@
 
        soc {
                serial@78af000 {
+                       label = "LS-UART0";
                        status = "okay";
                        pinctrl-names = "default", "sleep";
                        pinctrl-0 = <&blsp1_uart1_default>;
@@ -35,6 +36,7 @@
                };
 
                serial@78b0000 {
+                       label = "LS-UART1";
                        status = "okay";
                        pinctrl-names = "default", "sleep";
                        pinctrl-0 = <&blsp1_uart2_default>;
 
                i2c@78b6000 {
                /* On Low speed expansion */
+                       label = "LS-I2C0";
                        status = "okay";
                };
 
                i2c@78b8000 {
                /* On High speed expansion */
+                       label = "HS-I2C2";
                        status = "okay";
                };
 
                i2c@78ba000 {
                /* On Low speed expansion */
+                       label = "LS-I2C1";
                        status = "okay";
                };
 
                spi@78b7000 {
                /* On High speed expansion */
+                       label = "HS-SPI1";
                        status = "okay";
                };
 
                spi@78b9000 {
                /* On Low speed expansion */
+                       label = "LS-SPI0";
                        status = "okay";
                };