diff mbox series

[7/8] arm64: dts: exynos: Add FSYS power domain to Exynos5433 SoC

Message ID 1485345342-3273-8-git-send-email-m.szyprowski@samsung.com
State New
Headers show
Series Power domains support for Exynos5433 SoCs | expand

Commit Message

Marek Szyprowski Jan. 25, 2017, 11:55 a.m. UTC
This patch adds support for FSYS power domain to Exynos 5433 SoCs, which
contains following devices: a clock controller, a pin controller, three MSHC
controllers, two DWC USB 3.0 controllers and their PHYs.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

---
 arch/arm64/boot/dts/exynos/exynos5433.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi
index 24fc3b46cc40..0e18e9aeb4ce 100644
--- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi
@@ -330,6 +330,7 @@ 
 				<&cmu_top CLK_SCLK_MMC0_FSYS>,
 				<&cmu_top CLK_SCLK_USBHOST30_FSYS>,
 				<&cmu_top CLK_SCLK_USBDRD30_FSYS>;
+			power-domains = <&pd_fsys>;
 		};
 
 		cmu_g2d: clock-controller@12460000 {
@@ -560,6 +561,12 @@ 
 			#power-domain-cells = <0>;
 		};
 
+		pd_fsys: fsys-power-domain@105c40e0 {
+			compatible = "samsung,exynos5433-pd";
+			reg = <0x105c40e0 0x20>;
+			#power-domain-cells = <0>;
+		};
+
 		tmu_atlas0: tmu@10060000 {
 			compatible = "samsung,exynos5433-tmu";
 			reg = <0x10060000 0x200>;
@@ -697,6 +704,7 @@ 
 			compatible = "samsung,exynos5433-pinctrl";
 			reg = <0x15690000 0x1000>;
 			interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
+			power-domains = <&pd_fsys>;
 		};
 
 		pinctrl_imem: pinctrl@11090000 {
@@ -1417,6 +1425,7 @@ 
 			clocks = <&cmu_fsys CLK_ACLK_USBDRD30>,
 				<&cmu_fsys CLK_SCLK_USBDRD30>;
 			clock-names = "usbdrd30", "usbdrd30_susp_clk";
+			power-domains = <&pd_fsys>;
 			#address-cells = <1>;
 			#size-cells = <1>;
 			ranges;
@@ -1442,6 +1451,7 @@ 
 					"itp";
 			#phy-cells = <1>;
 			samsung,pmu-syscon = <&pmu_system_controller>;
+			power-domains = <&pd_fsys>;
 			status = "disabled";
 		};
 
@@ -1456,6 +1466,7 @@ 
 					"itp";
 			#phy-cells = <1>;
 			samsung,pmu-syscon = <&pmu_system_controller>;
+			power-domains = <&pd_fsys>;
 			status = "disabled";
 		};
 
@@ -1464,6 +1475,7 @@ 
 			clocks = <&cmu_fsys CLK_ACLK_USBHOST30>,
 				<&cmu_fsys CLK_SCLK_USBHOST30>;
 			clock-names = "usbdrd30", "usbdrd30_susp_clk";
+			power-domains = <&pd_fsys>;
 			#address-cells = <1>;
 			#size-cells = <1>;
 			ranges;
@@ -1488,6 +1500,7 @@ 
 				<&cmu_fsys CLK_SCLK_MMC0>;
 			clock-names = "biu", "ciu";
 			fifo-depth = <0x40>;
+			power-domains = <&pd_fsys>;
 			status = "disabled";
 		};
 
@@ -1501,6 +1514,7 @@ 
 				<&cmu_fsys CLK_SCLK_MMC1>;
 			clock-names = "biu", "ciu";
 			fifo-depth = <0x40>;
+			power-domains = <&pd_fsys>;
 			status = "disabled";
 		};
 
@@ -1514,6 +1528,7 @@ 
 				<&cmu_fsys CLK_SCLK_MMC2>;
 			clock-names = "biu", "ciu";
 			fifo-depth = <0x40>;
+			power-domains = <&pd_fsys>;
 			status = "disabled";
 		};