diff mbox

arm/layerscape: add RCPM device tree support for ls1021a.

Message ID 1445842392-7129-1-git-send-email-dongsheng.wang@freescale.com (mailing list archive)
State New, archived
Headers show

Commit Message

Dongsheng Wang Oct. 26, 2015, 6:53 a.m. UTC
From: Wang Dongsheng <dongsheng.wang@freescale.com>

Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
---
*v4*:
-Separate this patch from RCPM binding patchset.
-Change "rcpm-wakeup" to "fsl,rcpm-wakeup". 
*v3*: Add "fsl,#rcpm-wakeup-cells" for rcpm node.
*v2*: No change.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 973a496..b713cfc 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -139,6 +139,7 @@ 
 			sdhci,auto-cmd12;
 			big-endian;
 			bus-width = <4>;
+			fsl,rcpm-wakeup = <&rcpm 0x00000080 0x0>;
 			status = "disabled";
 		};
 
@@ -186,6 +187,12 @@ 
 			};
 		};
 
+		rcpm: rcpm@1ee2000 {
+			compatible = "fsl,ls1021a-rcpm", "fsl,qoriq-rcpm-2.1";
+			reg = <0x0 0x1ee2000 0x0 0x10000>;
+			fsl,#rcpm-wakeup-cells = <2>;
+		};
+
 		dspi0: dspi@2100000 {
 			compatible = "fsl,ls1021a-v1.0-dspi";
 			#address-cells = <1>;
@@ -287,6 +294,7 @@ 
 			interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&sysclk>;
 			clock-names = "ipg";
+			fsl,rcpm-wakeup = <&rcpm 0x0 0x40000000>;
 			status = "disabled";
 		};