diff mbox

[devicetree] ARM: BCM53573: Specify PMU and its ILP clock in the DT

Message ID 20160917201346.15060-1-zajec5@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Rafał Miłecki Sept. 17, 2016, 8:13 p.m. UTC
From: Rafał Miłecki <rafal@milecki.pl>

ILP clock (sometimes called a "slow clock") is a part of PMU (Power
Management Unit). There has been recently added a driver for it, so add
a proper entry in the DT as well.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
 arch/arm/boot/dts/bcm53573.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Florian Fainelli Oct. 10, 2016, 8:57 a.m. UTC | #1
On 09/17/2016 01:13 PM, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
> 
> ILP clock (sometimes called a "slow clock") is a part of PMU (Power
> Management Unit). There has been recently added a driver for it, so add
> a proper entry in the DT as well.
> 
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>

Applied, thanks!
diff mbox

Patch

diff --git a/arch/arm/boot/dts/bcm53573.dtsi b/arch/arm/boot/dts/bcm53573.dtsi
index efa07de..e2c496a 100644
--- a/arch/arm/boot/dts/bcm53573.dtsi
+++ b/arch/arm/boot/dts/bcm53573.dtsi
@@ -143,5 +143,17 @@ 
 		gmac1: ethernet@b000 {
 			reg = <0xb000 0x1000>;
 		};
+
+		pmu@12000 {
+			compatible = "simple-mfd", "syscon";
+			reg = <0x00012000 0x00001000>;
+
+			ilp: ilp {
+				compatible = "brcm,bcm53573-ilp";
+				clocks = <&alp>;
+				#clock-cells = <0>;
+				clock-output-names = "ilp";
+			};
+		};
 	};
 };