aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/devicetree/bindings/clock/hi6220-clock.txt19
1 files changed, 18 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/clock/hi6220-clock.txt b/Documentation/devicetree/bindings/clock/hi6220-clock.txt
index 259e30af9597..e4d5feaebc29 100644
--- a/Documentation/devicetree/bindings/clock/hi6220-clock.txt
+++ b/Documentation/devicetree/bindings/clock/hi6220-clock.txt
@@ -15,19 +15,36 @@ Required Properties:
15 - "hisilicon,hi6220-sysctrl" 15 - "hisilicon,hi6220-sysctrl"
16 - "hisilicon,hi6220-mediactrl" 16 - "hisilicon,hi6220-mediactrl"
17 - "hisilicon,hi6220-pmctrl" 17 - "hisilicon,hi6220-pmctrl"
18 - "hisilicon,hi6220-stub-clk"
18 19
19- reg: physical base address of the controller and length of memory mapped 20- reg: physical base address of the controller and length of memory mapped
20 region. 21 region.
21 22
22- #clock-cells: should be 1. 23- #clock-cells: should be 1.
23 24
24For example: 25Optional Properties:
26
27- hisilicon,hi6220-clk-sram: phandle to the syscon managing the SoC internal sram;
28 the driver need use the sram to pass parameters for frequency change.
29
30- mboxes: use the label reference for the mailbox as the first parameter, the
31 second parameter is the channel number.
32
33Example 1:
25 sys_ctrl: sys_ctrl@f7030000 { 34 sys_ctrl: sys_ctrl@f7030000 {
26 compatible = "hisilicon,hi6220-sysctrl", "syscon"; 35 compatible = "hisilicon,hi6220-sysctrl", "syscon";
27 reg = <0x0 0xf7030000 0x0 0x2000>; 36 reg = <0x0 0xf7030000 0x0 0x2000>;
28 #clock-cells = <1>; 37 #clock-cells = <1>;
29 }; 38 };
30 39
40Example 2:
41 stub_clock: stub_clock {
42 compatible = "hisilicon,hi6220-stub-clk";
43 hisilicon,hi6220-clk-sram = <&sram>;
44 #clock-cells = <1>;
45 mboxes = <&mailbox 1>;
46 };
47
31Each clock is assigned an identifier and client nodes use this identifier 48Each clock is assigned an identifier and client nodes use this identifier
32to specify the clock which they consume. 49to specify the clock which they consume.
33 50