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

ARM: STi: DT: STiH415: 415 DT Entry for clockgen A9

Patch adds DT entries for clockgen A9

Signed-off-by: Pankaj Dev <pankaj.dev@st.com>
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@linaro.org>
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>

authored by

Gabriel FERNANDEZ and committed by
Maxime Coquelin
20e40edc 2db100df

+39 -9
+39 -9
arch/arm/boot/dts/stih415-clock.dtsi
··· 24 24 }; 25 25 26 26 /* 27 - * ARM Peripheral clock for timers 28 - */ 29 - arm_periph_clk: arm_periph_clk { 30 - #clock-cells = <0>; 31 - compatible = "fixed-clock"; 32 - clock-frequency = <500000000>; 33 - }; 34 - 35 - /* 36 27 * ClockGenAs on SASG1 37 28 */ 38 29 clockgen-a@fee62000 { ··· 489 498 clock-output-names = ""; /* Unused */ 490 499 /* Remaining outputs unused */ 491 500 }; 501 + }; 502 + 503 + /* 504 + * A9 PLL 505 + */ 506 + clockgen-a9@fdde00d8 { 507 + reg = <0xfdde00d8 0x70>; 508 + 509 + clockgen_a9_pll: clockgen-a9-pll { 510 + #clock-cells = <1>; 511 + compatible = "st,stih415-plls-c32-a9", "st,clkgen-plls-c32"; 512 + 513 + clocks = <&clk_sysin>; 514 + clock-output-names = "clockgen-a9-pll-odf"; 515 + }; 516 + }; 517 + 518 + /* 519 + * ARM CPU related clocks 520 + */ 521 + clk_m_a9: clk-m-a9@fdde00d8 { 522 + #clock-cells = <0>; 523 + compatible = "st,stih415-clkgen-a9-mux", "st,clkgen-mux"; 524 + reg = <0xfdde00d8 0x4>; 525 + clocks = <&clockgen_a9_pll 0>, 526 + <&clockgen_a9_pll 0>, 527 + <&clk_m_a0_div1 2>, 528 + <&clk_m_a9_ext2f_div2>; 529 + }; 530 + 531 + /* 532 + * ARM Peripheral clock for timers 533 + */ 534 + arm_periph_clk: clk-m-a9-periphs { 535 + #clock-cells = <0>; 536 + compatible = "fixed-factor-clock"; 537 + clocks = <&clk_m_a9>; 538 + clock-div = <2>; 539 + clock-mult = <1>; 492 540 }; 493 541 }; 494 542 };