aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPramod Gurav <pramod.gurav@smartplayin.com>2014-12-08 17:17:24 +0530
committerAndrey Konovalov <andrey.konovalov@linaro.org>2015-01-13 17:57:01 +0300
commitdcdc762a0f20ddde93a36c81002ead18c9708439 (patch)
treefac380a74b4ec620408944da8ca7544d0bd9ae60
parenta0aeb1175458fb34b555eb853cda0f38ae6d5c16 (diff)
downloadlinux-dcdc762a0f20ddde93a36c81002ead18c9708439.tar.gz
ARM: qcom: Add DT alias for serial port
Define an alias for serial port present on ifc6410 which is used as console. Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com>
-rw-r--r--arch/arm/boot/dts/qcom-apq8064-ifc6410.dts4
-rw-r--r--arch/arm/boot/dts/qcom-apq8064.dtsi2
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
index 90517708bf89..8d58197652c9 100644
--- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
@@ -5,6 +5,10 @@
model = "Qualcomm APQ8064/IFC6410";
compatible = "qcom,apq8064-ifc6410", "qcom,apq8064";
+ aliases {
+ serial0 = &serial0;
+ };
+
soc {
pinctrl@800000 {
i2c1_pins: i2c1 {
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index 4991ce74a98a..7ba3a727dad0 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -498,7 +498,7 @@
#size-cells = <1>;
ranges;
- serial@16640000 {
+ serial0: serial@16640000 {
compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
reg = <0x16640000 0x1000>,
<0x16600000 0x1000>;