diff options
author | Gabriel FERNANDEZ <gabriel.fernandez@st.com> | 2014-08-25 16:44:00 +0200 |
---|---|---|
committer | Maxime Coquelin <maxime.coquelin@st.com> | 2014-10-31 09:59:08 +0100 |
commit | 58a8d9be52d917136c83ef8fde3bd3743d6db14c (patch) | |
tree | ca60c164605cb28fccc1d8d814a7ffeae2226502 /arch/arm/boot/dts/stih407-clock.dtsi | |
parent | ARM: DT: STi: STiH416: Add DT node for ST's SATA device (diff) | |
download | linux-58a8d9be52d917136c83ef8fde3bd3743d6db14c.tar.xz linux-58a8d9be52d917136c83ef8fde3bd3743d6db14c.zip |
ARM: STi: DT: STiH407: 407 DT Entry for clockgen A0
Patch adds DT entries for clockgen A0
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@linaro.org>
Signed-off-by: Olivier Bideau <olivier.bideau@st.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stih407-clock.dtsi')
-rw-r--r-- | arch/arm/boot/dts/stih407-clock.dtsi | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stih407-clock.dtsi b/arch/arm/boot/dts/stih407-clock.dtsi index 800f46f009f3..1bfa6799d7c5 100644 --- a/arch/arm/boot/dts/stih407-clock.dtsi +++ b/arch/arm/boot/dts/stih407-clock.dtsi @@ -7,6 +7,10 @@ */ / { clocks { + #address-cells = <1>; + #size-cells = <1>; + ranges; + /* * Fixed 30MHz oscillator inputs to SoC */ @@ -35,5 +39,30 @@ clock-frequency = <200000000>; clock-output-names = "clk-s-icn-reg-0"; }; + + clockgen-a@090ff000 { + compatible = "st,clkgen-c32"; + reg = <0x90ff000 0x1000>; + + clk_s_a0_pll: clk-s-a0-pll { + #clock-cells = <1>; + compatible = "st,stih407-plls-c32-a0", "st,clkgen-plls-c32"; + + clocks = <&clk_sysin>; + + clock-output-names = "clk-s-a0-pll-ofd-0"; + }; + + clk_s_a0_flexgen: clk-s-a0-flexgen { + compatible = "st,flexgen"; + + #clock-cells = <1>; + + clocks = <&clk_s_a0_pll 0>, + <&clk_sysin>; + + clock-output-names = "clk-ic-lmi0"; + }; + }; }; }; |