devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Aisheng Dong <aisheng.dong@nxp.com>
To: "linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Cc: Aisheng Dong <aisheng.dong@nxp.com>,
	Mark Rutland <mark.rutland@arm.com>,
	"dongas86@gmail.com" <dongas86@gmail.com>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"catalin.marinas@arm.com" <catalin.marinas@arm.com>,
	"will.deacon@arm.com" <will.deacon@arm.com>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>,
	dl-linux-imx <linux-imx@nxp.com>,
	"kernel@pengutronix.de" <kernel@pengutronix.de>,
	Fabio Estevam <fabio.estevam@nxp.com>,
	"shawnguo@kernel.org" <shawnguo@kernel.org>
Subject: [PATCH 02/14] arm64: dts: imx8: add lsio scu clocks
Date: Thu, 21 Feb 2019 18:24:56 +0000	[thread overview]
Message-ID: <1550773093-13349-3-git-send-email-aisheng.dong@nxp.com> (raw)
In-Reply-To: <1550773093-13349-1-git-send-email-aisheng.dong@nxp.com>

Add lsio scu clocks

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: devicetree@vger.kernel.org
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi | 122 ++++++++++++++++++++++++
 1 file changed, 122 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi
index 1c6ba8d..5c4c2fb 100644
--- a/arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi
@@ -4,12 +4,134 @@
  *	Dong Aisheng <aisheng.dong@nxp.com>
  */
 
+#include <dt-bindings/firmware/imx/rsrc.h>
+
 lsio_subsys: bus@5d000000 {
 	compatible = "simple-bus";
 	#address-cells = <1>;
 	#size-cells = <1>;
 	ranges = <0x5d000000 0x0 0x5d000000 0x1000000>;
 
+	/* SCU clocks */
+	lsio_mem_clk: clock-lsio-mem {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <200000000>;
+		clock-output-names = "lsio_mem_clk";
+	};
+
+	lsio_bus_clk: clock-lsio-bus {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <100000000>;
+		clock-output-names = "lsio_bus_clk";
+	};
+
+	fspi0_clk: clock-fspi0{
+		#clock-cells = <0>;
+		rsrc-id = <IMX_SC_R_FSPI_0>;
+		clk-type = <IMX_SC_PM_CLK_PER>;
+		clock-output-names = "fspi0_clk";
+	};
+
+	fspi1_clk: clock-fspi1 {
+		#clock-cells = <0>;
+		rsrc-id = <IMX_SC_R_FSPI_1>;
+		clk-type = <IMX_SC_PM_CLK_PER>;
+		clock-output-names = "fspi1_clk";
+	};
+
+	gpt0_clk: clock-gpt0 {
+		#clock-cells = <0>;
+		rsrc-id = <IMX_SC_R_GPT_0>;
+		clk-type = <IMX_SC_PM_CLK_PER>;
+		clock-output-names = "gpt0_clk";
+	};
+
+	gpt1_clk: clock-gpt1 {
+		#clock-cells = <0>;
+		rsrc-id = <IMX_SC_R_GPT_1>;
+		clk-type = <IMX_SC_PM_CLK_PER>;
+		clock-output-names = "gpt1_clk";
+	};
+
+	gpt2_clk: clock-gpt2 {
+		#clock-cells = <0>;
+		rsrc-id = <IMX_SC_R_GPT_2>;
+		clk-type = <IMX_SC_PM_CLK_PER>;
+		clock-output-names = "gpt2_clk";
+	};
+
+	gpt3_clk: clock-gpt3 {
+		#clock-cells = <0>;
+		rsrc-id = <IMX_SC_R_GPT_3>;
+		clk-type = <IMX_SC_PM_CLK_PER>;
+		clock-output-names = "gpt3_clk";
+	};
+
+	gpt4_clk: clock-gpt4 {
+		#clock-cells = <0>;
+		rsrc-id = <IMX_SC_R_GPT_4>;
+		clk-type = <IMX_SC_PM_CLK_PER>;
+		clock-output-names = "gpt4_clk";
+	};
+
+	pwm0_clk: clock-pwm0 {
+		#clock-cells = <0>;
+		rsrc-id = <IMX_SC_R_PWM_0>;
+		clk-type = <IMX_SC_PM_CLK_PER>;
+		clock-output-names = "pwm0_clk";
+	};
+
+	pwm1_clk: clock-pwm1 {
+		#clock-cells = <0>;
+		rsrc-id = <IMX_SC_R_PWM_1>;
+		clk-type = <IMX_SC_PM_CLK_PER>;
+		clock-output-names = "pwm1_clk";
+	};
+
+	pwm2_clk: clock-pwm2 {
+		#clock-cells = <0>;
+		rsrc-id = <IMX_SC_R_PWM_2>;
+		clk-type = <IMX_SC_PM_CLK_PER>;
+		clock-output-names = "pwm2_clk";
+	};
+
+	pwm3_clk: clock-pwm3 {
+		#clock-cells = <0>;
+		rsrc-id = <IMX_SC_R_PWM_3>;
+		clk-type = <IMX_SC_PM_CLK_PER>;
+		clock-output-names = "pwm3_clk";
+	};
+
+	pwm4_clk: clock-pwm4 {
+		#clock-cells = <0>;
+		rsrc-id = <IMX_SC_R_PWM_4>;
+		clk-type = <IMX_SC_PM_CLK_PER>;
+		clock-output-names = "pwm4_clk";
+	};
+
+	pwm5_clk: clock-pwm5 {
+		#clock-cells = <0>;
+		rsrc-id = <IMX_SC_R_PWM_5>;
+		clk-type = <IMX_SC_PM_CLK_PER>;
+		clock-output-names = "pwm5_clk";
+	};
+
+	pwm6_clk: clock-pwm6 {
+		#clock-cells = <0>;
+		rsrc-id = <IMX_SC_R_PWM_6>;
+		clk-type = <IMX_SC_PM_CLK_PER>;
+		clock-output-names = "pwm6_clk";
+	};
+
+	pwm7_clk: clock-pwm7 {
+		#clock-cells = <0>;
+		rsrc-id = <IMX_SC_R_PWM_7>;
+		clk-type = <IMX_SC_PM_CLK_PER>;
+		clock-output-names = "pwm7_clk";
+	};
+
 	lsio_lpcg: clock-controller@5d400000 {
 		reg = <0x5d400000 0x400000>;
 		#clock-cells = <1>;
-- 
2.7.4

  parent reply	other threads:[~2019-02-21 18:24 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1550773093-13349-1-git-send-email-aisheng.dong@nxp.com>
2019-02-21 18:24 ` [PATCH 01/14] arm64: dts: imx8qxp: orginize dts in subsystems Aisheng Dong
2019-04-02  4:16   ` Shawn Guo
2019-04-02 14:38     ` Aisheng Dong
2019-02-21 18:24 ` Aisheng Dong [this message]
2019-02-21 18:25 ` [PATCH 03/14] arm64: dts: imx8: add conn scu clocks Aisheng Dong
2019-02-21 18:25 ` [PATCH 04/14] arm64: dts: imx8: add adma " Aisheng Dong
2019-02-21 18:25 ` [PATCH 05/14] arm64: dts: imx8: add lsio lpcg clocks Aisheng Dong
2019-02-21 18:25 ` [PATCH 06/14] arm64: dts: imx8: add conn " Aisheng Dong
2019-02-21 18:25 ` [PATCH 07/14] arm64: dts: imx8: add adma " Aisheng Dong
2019-02-21 18:25 ` [PATCH 08/14] arm64: dts: imx8: switch to new clock binding Aisheng Dong
2019-02-21 18:25 ` [PATCH 09/14] arm64: dts: imx8qm: add lsio ss support Aisheng Dong
2019-02-21 18:25 ` [PATCH 10/14] arm64: dts: imx8qm: add conn " Aisheng Dong
2019-02-21 18:25 ` [PATCH 12/14] arm64: dts: imx8qm: add dma " Aisheng Dong
2019-02-21 18:25 ` [PATCH 13/14] arm64: dts: imx: add imx8qm common dts file Aisheng Dong
2019-02-21 18:25 ` [PATCH 14/14] arm64: dts: imx: add imx8qm mek support Aisheng Dong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1550773093-13349-3-git-send-email-aisheng.dong@nxp.com \
    --to=aisheng.dong@nxp.com \
    --cc=catalin.marinas@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dongas86@gmail.com \
    --cc=fabio.estevam@nxp.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=shawnguo@kernel.org \
    --cc=will.deacon@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).