Skip to contentSkip to conversation

IPQ4019 dts fixes

PATCH New Varadarajan Narayanan 1 participant 3 messages Jul 3, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v3 cover IPQ4019 dts fixes

v3:
* Fix commit subject for
dts: ipq4019: Move xo and timer nodes to SoC dtsi

v2:
* Incorporate Stephen Boyd's comment as a separate patch (i.e. fix pinctrl node name)

v1:
* Moved the xo and timer nodes to SoC dts file from board dts file.

Varadarajan Narayanan (2):
dts: ipq4019: Fix pinctrl node name
dts: ipq4019: Move xo and timer nodes to SoC dtsi

 arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 21 +--------------------
 arch/arm/boot/dts/qcom-ipq4019.dtsi           | 17 ++++++++++++++++-
 2 files changed, 17 insertions(+), 21 deletions(-)
Signature · 1 line
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
#1 lore raw

PATCH v3 1/2 dts: ipq4019: Fix pinctrl node name

---
 arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 2 +-
 arch/arm/boot/dts/qcom-ipq4019.dtsi           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi +1 -1
index b9457dd..1ce253d 100644
@@ -40,7 +40,7 @@
 			clock-frequency = <48000000>;
 		};
 
-		pinctrl at 0x01000000 {
+		pinctrl at 1000000 {
 			serial_pins: serial_pinmux {
 				mux {
 					pins = "gpio60", "gpio61";
arch/arm/boot/dts/qcom-ipq4019.dtsi +1 -1
index b7a24af..6defd0e 100644
@@ -119,7 +119,7 @@
 			reg = <0x1800000 0x60000>;
 		};
 
-		tlmm: pinctrl at 0x01000000 {
+		tlmm: pinctrl at 1000000 {
 			compatible = "qcom,ipq4019-pinctrl";
 			reg = <0x01000000 0x300000>;
 			gpio-controller;
Signature · 1 line
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
#2 lore raw

PATCH v3 2/2 dts: ipq4019: Move xo and timer nodes to SoC dtsi

In reply to Varadarajan Narayanan

The node for xo and timer belong to the SoC DTS file. Else, new board DT files may not inherit these nodes.

---
 arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 19 -------------------
 arch/arm/boot/dts/qcom-ipq4019.dtsi           | 15 +++++++++++++++
 2 files changed, 15 insertions(+), 19 deletions(-)
arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi +0 -19
index 1ce253d..c055a57 100644
@@ -20,26 +20,7 @@
 	model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK01.1";
 	compatible = "qcom,ipq4019";
 
-	clocks {
-                xo: xo {
-                        compatible = "fixed-clock";
-                        clock-frequency = <48000000>;
-                        #clock-cells = <0>;
-                };
-	};
-
 	soc {
-
-
-		timer {
-			compatible = "arm,armv7-timer";
-			interrupts = <1 2 0xf08>,
-				     <1 3 0xf08>,
-				     <1 4 0xf08>,
-				     <1 1 0xf08>;
-			clock-frequency = <48000000>;
-		};
-
 		pinctrl at 1000000 {
 			serial_pins: serial_pinmux {
 				mux {
arch/arm/boot/dts/qcom-ipq4019.dtsi +15 -0
index 6defd0e..f4765e4 100644
@@ -96,6 +96,21 @@
 			clock-frequency = <32768>;
 			#clock-cells = <0>;
 		};
+
+		xo: xo {
+			compatible = "fixed-clock";
+			clock-frequency = <48000000>;
+			#clock-cells = <0>;
+		};
+	};
+
+	timer {
+		compatible = "arm,armv7-timer";
+		interrupts = <1 2 0xf08>,
+			     <1 3 0xf08>,
+			     <1 4 0xf08>,
+			     <1 1 0xf08>;
+		clock-frequency = <48000000>;
 	};
 
 	soc {
Signature · 1 line
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation