Skip to content

Commit

Permalink
arm64: dts: apq8016-sbc: add label properties for UART, I2C, and SPI
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rob Herring authored and Olof Johansson committed Dec 22, 2015
1 parent 700dfee commit 262c45d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@

soc {
serial@78af000 {
label = "LS-UART0";
status = "okay";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&blsp1_uart1_default>;
pinctrl-1 = <&blsp1_uart1_sleep>;
};

serial@78b0000 {
label = "LS-UART1";
status = "okay";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&blsp1_uart2_default>;
Expand All @@ -43,26 +45,31 @@

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";
};

Expand Down

0 comments on commit 262c45d

Please sign in to comment.