Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: STi: DT: STiH407: 407 DT Entry for clockgenA9

Patch adds DT entries for clockgen A9

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>

authored by

Gabriel FERNANDEZ and committed by
Maxime Coquelin
89e5c085 6e67a510

+52 -3
+52 -3
arch/arm/boot/dts/stih407-clock.dtsi
··· 24 24 /* 25 25 * ARM Peripheral clock for timers 26 26 */ 27 - arm_periph_clk: arm-periph-clk { 27 + arm_periph_clk: clk-m-a9-periphs { 28 28 #clock-cells = <0>; 29 - compatible = "fixed-clock"; 30 - clock-frequency = <600000000>; 29 + compatible = "fixed-factor-clock"; 30 + 31 + clocks = <&clk_m_a9>; 32 + clock-div = <2>; 33 + clock-mult = <1>; 34 + }; 35 + 36 + /* 37 + * A9 PLL. 38 + */ 39 + clockgen-a9@92b0000 { 40 + compatible = "st,clkgen-c32"; 41 + reg = <0x92b0000 0xffff>; 42 + 43 + clockgen_a9_pll: clockgen-a9-pll { 44 + #clock-cells = <1>; 45 + compatible = "st,stih407-plls-c32-a9", "st,clkgen-plls-c32"; 46 + 47 + clocks = <&clk_sysin>; 48 + 49 + clock-output-names = "clockgen-a9-pll-odf"; 50 + }; 51 + }; 52 + 53 + /* 54 + * ARM CPU related clocks. 55 + */ 56 + clk_m_a9: clk-m-a9@92b0000 { 57 + #clock-cells = <0>; 58 + compatible = "st,stih407-clkgen-a9-mux", "st,clkgen-mux"; 59 + reg = <0x92b0000 0x10000>; 60 + 61 + clocks = <&clockgen_a9_pll 0>, 62 + <&clockgen_a9_pll 0>, 63 + <&clk_s_c0_flexgen 13>, 64 + <&clk_m_a9_ext2f_div2>; 65 + }; 66 + 67 + /* 68 + * ARM Peripheral clock for timers 69 + */ 70 + clk_m_a9_ext2f_div2: clk-m-a9-ext2f-div2s { 71 + #clock-cells = <0>; 72 + compatible = "fixed-factor-clock"; 73 + 74 + clocks = <&clk_s_c0_flexgen 13>; 75 + 76 + clock-output-names = "clk-m-a9-ext2f-div2"; 77 + 78 + clock-div = <2>; 79 + clock-mult = <1>; 31 80 }; 32 81 33 82 /*