[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0ebef6a3-7b0e-fc3a-3101-7e1a135093b0@ti.com>
Date: Mon, 27 Apr 2020 13:28:09 +0300
From: Tero Kristo <t-kristo@...com>
To: Vignesh Raghavendra <vigneshr@...com>, Nishanth Menon <nm@...com>,
Rob Herring <robh+dt@...nel.org>
CC: <linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] arm64: dts: ti: k3-am65-main: Add ehrpwm nodes
On 22/03/2020 13:26, Vignesh Raghavendra wrote:
> Add DT nodes for all ehrpwm instances present on AM654 EVM.
>
> Signed-off-by: Vignesh Raghavendra <vigneshr@...com>
> ---
>
> clk driver and bindings has been merged to clk-next tree.
Queued up for 5.8, thanks.
-Tero
>
> arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 60 ++++++++++++++++++++++++
> 1 file changed, 60 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
> index e5df20a2d2f9..da6427bed801 100644
> --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
> @@ -285,6 +285,12 @@ serdes_mux: mux-controller {
> mux-reg-masks = <0x4080 0x3>, /* SERDES0 lane select */
> <0x4090 0x3>; /* SERDES1 lane select */
> };
> +
> + ehrpwm_tbclk: syscon@...0 {
> + compatible = "ti,am654-ehrpwm-tbclk", "syscon";
> + reg = <0x4140 0x18>;
> + #clock-cells = <1>;
> + };
> };
>
> dwc3_0: dwc3@...0000 {
> @@ -742,4 +748,58 @@ csi2_0: port@0 {
> };
> };
> };
> +
> + ehrpwm0: pwm@...0000 {
> + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
> + #pwm-cells = <3>;
> + reg = <0x0 0x3000000 0x0 0x100>;
> + power-domains = <&k3_pds 40 TI_SCI_PD_EXCLUSIVE>;
> + clocks = <&ehrpwm_tbclk 0>, <&k3_clks 40 0>;
> + clock-names = "tbclk", "fck";
> + };
> +
> + ehrpwm1: pwm@...0000 {
> + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
> + #pwm-cells = <3>;
> + reg = <0x0 0x3010000 0x0 0x100>;
> + power-domains = <&k3_pds 41 TI_SCI_PD_EXCLUSIVE>;
> + clocks = <&ehrpwm_tbclk 1>, <&k3_clks 41 0>;
> + clock-names = "tbclk", "fck";
> + };
> +
> + ehrpwm2: pwm@...0000 {
> + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
> + #pwm-cells = <3>;
> + reg = <0x0 0x3020000 0x0 0x100>;
> + power-domains = <&k3_pds 42 TI_SCI_PD_EXCLUSIVE>;
> + clocks = <&ehrpwm_tbclk 2>, <&k3_clks 42 0>;
> + clock-names = "tbclk", "fck";
> + };
> +
> + ehrpwm3: pwm@...0000 {
> + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
> + #pwm-cells = <3>;
> + reg = <0x0 0x3030000 0x0 0x100>;
> + power-domains = <&k3_pds 43 TI_SCI_PD_EXCLUSIVE>;
> + clocks = <&ehrpwm_tbclk 3>, <&k3_clks 43 0>;
> + clock-names = "tbclk", "fck";
> + };
> +
> + ehrpwm4: pwm@...0000 {
> + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
> + #pwm-cells = <3>;
> + reg = <0x0 0x3040000 0x0 0x100>;
> + power-domains = <&k3_pds 44 TI_SCI_PD_EXCLUSIVE>;
> + clocks = <&ehrpwm_tbclk 4>, <&k3_clks 44 0>;
> + clock-names = "tbclk", "fck";
> + };
> +
> + ehrpwm5: pwm@...0000 {
> + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
> + #pwm-cells = <3>;
> + reg = <0x0 0x3050000 0x0 0x100>;
> + power-domains = <&k3_pds 45 TI_SCI_PD_EXCLUSIVE>;
> + clocks = <&ehrpwm_tbclk 5>, <&k3_clks 45 0>;
> + clock-names = "tbclk", "fck";
> + };
> };
>
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Powered by blists - more mailing lists