Skip to contentSkip to conversation

ls1021a-twr/qe: add qe node to ls1-twr

PATCH In review Zhao Qiang 2 participants 2 messages Oct 10, 2014 Device tree bindings

lore
Share & tools
lore

Zhao Qiang

author
#0 lore raw

PATCH 3/3 ls1021a-twr/qe: add qe node to ls1-twr

add qe node to ls1021atwr fdt.

---
 arch/arm/boot/dts/ls1021a-twr.dts | 24 +++++++++++++++
 arch/arm/boot/dts/ls1021a.dtsi    | 64 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)
arch/arm/boot/dts/ls1021a-twr.dts +24 -0
index a52be7b..415387f 100755
@@ -164,6 +164,30 @@
 	};
 };
 
+&uqe {
+	tdma: ucc at 2000 {
+		compatible = "fsl,ucc-tdm";
+		rx-clock-name = "clk8";
+		tx-clock-name = "clk9";
+		fsl,rx-sync-clock = "rsync_pin";
+		fsl,tx-sync-clock = "tsync_pin";
+		fsl,tx-timeslot = <0xfffffffe>;
+		fsl,rx-timeslot = <0xfffffffe>;
+		fsl,tdm-framer-type = "e1";
+		fsl,tdm-mode = "normal";
+		fsl,tdm-id = <0>;
+		fsl,siram-entry-id = <0>;
+	};
+
+	serial: ucc at 2200 {
+		device_type = "serial";
+		compatible = "ucc_uart";
+		port-number = <1>;
+		rx-clock-name = "brg2";
+		tx-clock-name = "brg2";
+	};
+};
+
 &pwm6 {
 	status = "okay";
 };
arch/arm/boot/dts/ls1021a.dtsi +64 -0

70 lines not on this page · raw message

Signature · 1 line
2.1.0.27.g96db324
#1 lore raw

PATCH 3/3 ls1021a-twr/qe: add qe node to ls1-twr

Quoted 13 lines · Zhao Qiang

add qe node to ls1021atwr fdt.

---
 arch/arm/boot/dts/ls1021a-twr.dts | 24 +++++++++++++++
 arch/arm/boot/dts/ls1021a.dtsi    | 64 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)
arch/arm/boot/dts/ls1021a-twr.dts +0 -0
index a52be7b..415387f 100755

arch/arm/boot/dts/ls1021a-twr.dts line 169

Quoted 6 lines
arch/arm/boot/dts/ls1021a-twr.dts +3 -0
@@ -164,6 +164,30 @@
 	};
 };
 
+&uqe {
+	tdma: ucc at 2000 {
+		compatible = "fsl,ucc-tdm";

Binding?

Quoted 9 lines
arch/arm/boot/dts/ls1021a-twr.dts +9 -0
+		rx-clock-name = "clk8";
+		tx-clock-name = "clk9";
+		fsl,rx-sync-clock = "rsync_pin";
+		fsl,tx-sync-clock = "tsync_pin";
+		fsl,tx-timeslot = <0xfffffffe>;
+		fsl,rx-timeslot = <0xfffffffe>;
+		fsl,tdm-framer-type = "e1";
+		fsl,tdm-mode = "normal";
+		fsl,tdm-id = <0>;

arch/arm/boot/dts/ls1021a-twr.dts line 188

Quoted 10 lines
arch/arm/boot/dts/ls1021a-twr.dts +10 -0
+		fsl,siram-entry-id = <0>;
+	};
+
+	serial: ucc at 2200 {
+		device_type = "serial";
+		compatible = "ucc_uart";
+		port-number = <1>;
+		rx-clock-name = "brg2";
+		tx-clock-name = "brg2";
+	};

Binding for ucc_uart? Why device_type?

Quoted 10 lines
arch/arm/boot/dts/ls1021a-twr.dts +2 -0
+};
+
 &pwm6 {
 	status = "okay";
 };
arch/arm/boot/dts/ls1021a.dtsi +0 -0
index 80747dc..3f2ab89 100644

arch/arm/boot/dts/ls1021a.dtsi line 317

Quoted 4 lines
arch/arm/boot/dts/ls1021a.dtsi +1 -0
@@ -314,6 +314,70 @@
 			status = "disabled";
 		};
 
+		uqe: uqe at 2400000 {

How does "uqe" differ from "qe"?

-Scott