b6e9c4a862198c998534734b5770e72b962b35bc
[librecmc/librecmc.git] /
1 From 547f23183d9d77b51754689a71e3e58d085ccaec Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Sat, 17 Sep 2016 22:13:46 +0200
4 Subject: [PATCH] ARM: BCM53573: Specify PMU and its ILP clock in the DT
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 ILP clock (sometimes called a "slow clock") is a part of PMU (Power
10 Management Unit). There has been recently added a driver for it, so add
11 a proper entry in the DT as well.
12
13 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
14 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
15 ---
16  arch/arm/boot/dts/bcm53573.dtsi | 12 ++++++++++++
17  1 file changed, 12 insertions(+)
18
19 --- a/arch/arm/boot/dts/bcm53573.dtsi
20 +++ b/arch/arm/boot/dts/bcm53573.dtsi
21 @@ -143,5 +143,17 @@
22                 gmac1: ethernet@b000 {
23                         reg = <0xb000 0x1000>;
24                 };
25 +
26 +               pmu@12000 {
27 +                       compatible = "simple-mfd", "syscon";
28 +                       reg = <0x00012000 0x00001000>;
29 +
30 +                       ilp: ilp {
31 +                               compatible = "brcm,bcm53573-ilp";
32 +                               clocks = <&alp>;
33 +                               #clock-cells = <0>;
34 +                               clock-output-names = "ilp";
35 +                       };
36 +               };
37         };
38  };