mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

The arm dts directory has grown to 1559 boards which makes it a bit unwieldy to maintain and use. Past attempts stalled out due to plans to move .dts files out of the kernel tree. Doing that is no longer planned (any time soon at least), so let's go ahead and group .dts files by vendors. This move aligns arm with arm64 .dts file structure. There's no change to dtbs_install as the flat structure is maintained on install. The naming of vendor directories is roughly in this order of preference: - Matching original and current SoC vendor prefix/name (e.g. ti, qcom) - Current vendor prefix/name if still actively sold (SoCs which have been aquired) (e.g. nxp/imx) - Existing platform name for older platforms not sold/maintained by any company (e.g. gemini, nspire) The whole move was scripted with the exception of MAINTAINERS and a few makefile fixups. Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Michal Simek <michal.simek@amd.com> #Xilinx Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Neil Armstrong <neil.armstrong@linaro.org> Acked-by: Paul Barker <paul.barker@sancloud.com> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Gregory CLEMENT <gregory.clement@bootlin.com> Acked-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Wei Xu <xuwei5@hisilicon.com> #hisilicon Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Nick Hawkins <nick.hawkins@hpe.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Acked-by: Peter Rosin <peda@axentia.se> Acked-by: Jesper Nilsson <jesper.nilsson@axis.com> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> #broadcom Acked-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: Jisheng Zhang <jszhang@kernel.org> Acked-by: Patrice Chotard <patrice.chotard@foss.st.com> Acked-by: Romain Perier <romain.perier@gmail.com> Acked-by: Alexandre TORGUE <alexandre.torgue@st.com> Acked-by: Shawn Guo <shawnguo@kernel.org> Acked-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Acked-by: Enric Balletbo i Serra <eballetbo@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org>
215 lines
4.3 KiB
Text
215 lines
4.3 KiB
Text
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (C) 2014 STMicroelectronics R&D Limited
|
|
*/
|
|
#include <dt-bindings/clock/stih410-clks.h>
|
|
/ {
|
|
/*
|
|
* Fixed 30MHz oscillator inputs to SoC
|
|
*/
|
|
clk_sysin: clk-sysin {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <30000000>;
|
|
clock-output-names = "CLK_SYSIN";
|
|
};
|
|
|
|
clk_tmdsout_hdmi: clk-tmdsout-hdmi {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <0>;
|
|
};
|
|
|
|
clocks {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
compatible = "st,stih410-clk", "simple-bus";
|
|
|
|
/*
|
|
* A9 PLL.
|
|
*/
|
|
clockgen-a9@92b0000 {
|
|
compatible = "st,clkgen-c32";
|
|
reg = <0x92b0000 0x10000>;
|
|
|
|
clockgen_a9_pll: clockgen-a9-pll {
|
|
#clock-cells = <1>;
|
|
compatible = "st,stih407-clkgen-plla9";
|
|
|
|
clocks = <&clk_sysin>;
|
|
};
|
|
|
|
/*
|
|
* ARM CPU related clocks.
|
|
*/
|
|
clk_m_a9: clk-m-a9 {
|
|
#clock-cells = <0>;
|
|
compatible = "st,stih407-clkgen-a9-mux", "st,clkgen-mux";
|
|
|
|
clocks = <&clockgen_a9_pll 0>,
|
|
<&clockgen_a9_pll 0>,
|
|
<&clk_s_c0_flexgen 13>,
|
|
<&clk_m_a9_ext2f_div2>;
|
|
|
|
/*
|
|
* ARM Peripheral clock for timers
|
|
*/
|
|
arm_periph_clk: clk-m-a9-periphs {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-factor-clock";
|
|
clocks = <&clk_m_a9>;
|
|
clock-div = <2>;
|
|
clock-mult = <1>;
|
|
};
|
|
};
|
|
};
|
|
|
|
clockgen-a@90ff000 {
|
|
compatible = "st,clkgen-c32";
|
|
reg = <0x90ff000 0x1000>;
|
|
|
|
clk_s_a0_pll: clk-s-a0-pll {
|
|
#clock-cells = <1>;
|
|
compatible = "st,clkgen-pll0-a0";
|
|
|
|
clocks = <&clk_sysin>;
|
|
};
|
|
|
|
clk_s_a0_flexgen: clk-s-a0-flexgen {
|
|
compatible = "st,flexgen", "st,flexgen-stih410-a0";
|
|
|
|
#clock-cells = <1>;
|
|
|
|
clocks = <&clk_s_a0_pll 0>,
|
|
<&clk_sysin>;
|
|
};
|
|
};
|
|
|
|
clk_s_c0: clockgen-c@9103000 {
|
|
compatible = "st,clkgen-c32";
|
|
reg = <0x9103000 0x1000>;
|
|
|
|
clk_s_c0_pll0: clk-s-c0-pll0 {
|
|
#clock-cells = <1>;
|
|
compatible = "st,clkgen-pll0-c0";
|
|
|
|
clocks = <&clk_sysin>;
|
|
};
|
|
|
|
clk_s_c0_pll1: clk-s-c0-pll1 {
|
|
#clock-cells = <1>;
|
|
compatible = "st,clkgen-pll1-c0";
|
|
|
|
clocks = <&clk_sysin>;
|
|
};
|
|
|
|
clk_s_c0_quadfs: clk-s-c0-quadfs {
|
|
#clock-cells = <1>;
|
|
compatible = "st,quadfs-pll";
|
|
|
|
clocks = <&clk_sysin>;
|
|
};
|
|
|
|
clk_s_c0_flexgen: clk-s-c0-flexgen {
|
|
#clock-cells = <1>;
|
|
compatible = "st,flexgen", "st,flexgen-stih410-c0";
|
|
|
|
clocks = <&clk_s_c0_pll0 0>,
|
|
<&clk_s_c0_pll1 0>,
|
|
<&clk_s_c0_quadfs 0>,
|
|
<&clk_s_c0_quadfs 1>,
|
|
<&clk_s_c0_quadfs 2>,
|
|
<&clk_s_c0_quadfs 3>,
|
|
<&clk_sysin>;
|
|
|
|
/*
|
|
* ARM Peripheral clock for timers
|
|
*/
|
|
clk_m_a9_ext2f_div2: clk-m-a9-ext2f-div2s {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-factor-clock";
|
|
|
|
clocks = <&clk_s_c0_flexgen 13>;
|
|
|
|
clock-output-names = "clk-m-a9-ext2f-div2";
|
|
|
|
clock-div = <2>;
|
|
clock-mult = <1>;
|
|
};
|
|
};
|
|
};
|
|
|
|
clockgen-d0@9104000 {
|
|
compatible = "st,clkgen-c32";
|
|
reg = <0x9104000 0x1000>;
|
|
|
|
clk_s_d0_quadfs: clk-s-d0-quadfs {
|
|
#clock-cells = <1>;
|
|
compatible = "st,quadfs-d0";
|
|
|
|
clocks = <&clk_sysin>;
|
|
};
|
|
|
|
clk_s_d0_flexgen: clk-s-d0-flexgen {
|
|
#clock-cells = <1>;
|
|
compatible = "st,flexgen", "st,flexgen-stih410-d0";
|
|
|
|
clocks = <&clk_s_d0_quadfs 0>,
|
|
<&clk_s_d0_quadfs 1>,
|
|
<&clk_s_d0_quadfs 2>,
|
|
<&clk_s_d0_quadfs 3>,
|
|
<&clk_sysin>;
|
|
};
|
|
};
|
|
|
|
clockgen-d2@9106000 {
|
|
compatible = "st,clkgen-c32";
|
|
reg = <0x9106000 0x1000>;
|
|
|
|
clk_s_d2_quadfs: clk-s-d2-quadfs {
|
|
#clock-cells = <1>;
|
|
compatible = "st,quadfs-d2";
|
|
|
|
clocks = <&clk_sysin>;
|
|
};
|
|
|
|
clk_s_d2_flexgen: clk-s-d2-flexgen {
|
|
#clock-cells = <1>;
|
|
compatible = "st,flexgen", "st,flexgen-stih407-d2";
|
|
|
|
clocks = <&clk_s_d2_quadfs 0>,
|
|
<&clk_s_d2_quadfs 1>,
|
|
<&clk_s_d2_quadfs 2>,
|
|
<&clk_s_d2_quadfs 3>,
|
|
<&clk_sysin>,
|
|
<&clk_sysin>,
|
|
<&clk_tmdsout_hdmi>;
|
|
};
|
|
};
|
|
|
|
clockgen-d3@9107000 {
|
|
compatible = "st,clkgen-c32";
|
|
reg = <0x9107000 0x1000>;
|
|
|
|
clk_s_d3_quadfs: clk-s-d3-quadfs {
|
|
#clock-cells = <1>;
|
|
compatible = "st,quadfs-d3";
|
|
|
|
clocks = <&clk_sysin>;
|
|
};
|
|
|
|
clk_s_d3_flexgen: clk-s-d3-flexgen {
|
|
#clock-cells = <1>;
|
|
compatible = "st,flexgen", "st,flexgen-stih407-d3";
|
|
|
|
clocks = <&clk_s_d3_quadfs 0>,
|
|
<&clk_s_d3_quadfs 1>,
|
|
<&clk_s_d3_quadfs 2>,
|
|
<&clk_s_d3_quadfs 3>,
|
|
<&clk_sysin>;
|
|
};
|
|
};
|
|
};
|
|
};
|