On Thu 09 Apr 01:23 PDT 2015, Srinivas Kandagatla wrote: > From: Pramod Gurav <pramod.gurav@xxxxxxxxxxxxxxx> > > Define an alias for serial port present on ifc6410 which is used as > console. > > Signed-off-by: Pramod Gurav <pramod.gurav@xxxxxxxxxxxxxxx> > --- > arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 4 ++++ > arch/arm/boot/dts/qcom-apq8064.dtsi | 3 +-- > 2 files changed, 5 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts > index d39a5bb..b76a92b 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 70e417f..f4b8c3a 100644 > --- a/arch/arm/boot/dts/qcom-apq8064.dtsi > +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi > @@ -252,10 +252,9 @@ > #address-cells = <1>; > #size-cells = <1>; > ranges; > - > syscon-tcsr = <&tcsr>; > > - serial@16640000 { > + serial0: serial@16640000 { On my 8064 devices gsbi7 uart is used for felica, gsbi5 is the debug uart. So I don't think it's right to call this serial0 here. > compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; > reg = <0x16640000 0x1000>, > <0x16600000 0x1000>; > -- > 1.9.1 > Regards, Bjorn -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html