devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: qcom: label all gsbi devices
@ 2015-02-25  0:21 Mathieu Olivari
  2015-02-25  0:21 ` [PATCH 2/2] ARM: dts: qcom: add stdout-path to AP148 Mathieu Olivari
  0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Olivari @ 2015-02-25  0:21 UTC (permalink / raw)
  To: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, linux,
	mathieu
  Cc: devicetree, linux-kernel, linux-arm-kernel, mmcclint

All IPQ806x based boards will include this file and will need a way to
identify each GSBI device. So this change is labelling them all to make
reference from board specific file easier.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
---
 arch/arm/boot/dts/qcom-ipq8064.dtsi | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi
index d01f618..ffa5b5e 100644
--- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
@@ -140,7 +140,7 @@
 			ranges;
 			status = "disabled";
 
-			serial@12490000 {
+			uart2: serial@12490000 {
 				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
 				reg = <0x12490000 0x1000>,
 				      <0x12480000 0x1000>;
@@ -150,7 +150,7 @@
 				status = "disabled";
 			};
 
-			i2c@124a0000 {
+			i2c2: i2c@124a0000 {
 				compatible = "qcom,i2c-qup-v1.1.1";
 				reg = <0x124a0000 0x1000>;
 				interrupts = <0 196 0>;
@@ -175,7 +175,7 @@
 			ranges;
 			status = "disabled";
 
-			serial@16340000 {
+			uart4: serial@16340000 {
 				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
 				reg = <0x16340000 0x1000>,
 				      <0x16300000 0x1000>;
@@ -185,7 +185,7 @@
 				status = "disabled";
 			};
 
-			i2c@16380000 {
+			i2c4: i2c@16380000 {
 				compatible = "qcom,i2c-qup-v1.1.1";
 				reg = <0x16380000 0x1000>;
 				interrupts = <0 153 0>;
@@ -209,7 +209,7 @@
 			ranges;
 			status = "disabled";
 
-			serial@1a240000 {
+			uart5: serial@1a240000 {
 				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
 				reg = <0x1a240000 0x1000>,
 				      <0x1a200000 0x1000>;
@@ -219,7 +219,7 @@
 				status = "disabled";
 			};
 
-			i2c@1a280000 {
+			i2c5: i2c@1a280000 {
 				compatible = "qcom,i2c-qup-v1.1.1";
 				reg = <0x1a280000 0x1000>;
 				interrupts = <0 155 0>;
@@ -232,7 +232,7 @@
 				#size-cells = <0>;
 			};
 
-			spi@1a280000 {
+			spi5: spi@1a280000 {
 				compatible = "qcom,spi-qup-v1.1.1";
 				reg = <0x1a280000 0x1000>;
 				interrupts = <0 155 0>;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 2/2] ARM: dts: qcom: add stdout-path to AP148
  2015-02-25  0:21 [PATCH 1/2] ARM: dts: qcom: label all gsbi devices Mathieu Olivari
@ 2015-02-25  0:21 ` Mathieu Olivari
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Olivari @ 2015-02-25  0:21 UTC (permalink / raw)
  To: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, linux,
	mathieu
  Cc: devicetree, linux-kernel, linux-arm-kernel, mmcclint

AP148 default console output is uart4, so this change adds a serial0
alias to it, as well add the corresponding stdout-path.

This will avoid having to set these as chosen.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
---
 arch/arm/boot/dts/qcom-ipq8064-ap148.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
index 55b2910..208bb79 100644
--- a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
+++ b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
@@ -14,6 +14,14 @@
 		};
 	};
 
+	alias {
+		serial0 = &uart4;
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+
 	soc {
 		pinmux@800000 {
 			i2c4_pins: i2c4_pinmux {
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-25  0:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25  0:21 [PATCH 1/2] ARM: dts: qcom: label all gsbi devices Mathieu Olivari
2015-02-25  0:21 ` [PATCH 2/2] ARM: dts: qcom: add stdout-path to AP148 Mathieu Olivari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).