[PATCH 4/7] ARM: dts: da850: add power controller nodes

From: Bartosz Golaszewski
Date: Wed Feb 07 2018 - 08:47:15 EST


From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

Add two power controller nodes corresponding with the two PSC modules
present on the da850 SoC.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
---
arch/arm/boot/dts/da850.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index 3a1f2ced05ca..ac2eef4e6b7c 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -24,6 +24,11 @@
};
};

+ aliases {
+ pwc0 = &pwc0;
+ pwc1 = &pwc1;
+ };
+
opp_table: opp-table {
compatible = "operating-points-v2";

@@ -141,6 +146,10 @@
"pll0_sysclk4", "pll0_sysclk6",
"async1";
};
+ pwc0: power-controller@10000 {
+ compatible = "ti,davinci-pm-domains";
+ #power-domain-cells = <0>;
+ };
pll0: clock-controller@11000 {
compatible = "ti,da850-pll0";
reg = <0x11000 0x1000>;
@@ -757,6 +766,10 @@
<&async3_clk>;
clock-names = "pll0_sysclk2", "pll0_sysclk4", "async3";
};
+ pwc1: power-controller@227000 {
+ compatible = "ti,davinci-pm-domains";
+ #power-domain-cells = <0>;
+ };
pinconf: pin-controller@22c00c {
compatible = "ti,da850-pupd";
reg = <0x22c00c 0x8>;
--
2.16.1