summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
diff options
context:
space:
mode:
authorVignesh Raghavendra <vigneshr@ti.com>2022-04-19 11:59:02 +0530
committerVignesh Raghavendra <vigneshr@ti.com>2022-04-27 19:14:04 +0530
commitbd67e1be98ddb884ff3f3df95c2382e6e70930b6 (patch)
tree34cda46876a773e23e58448601989827db7696e7 /arch/arm64/boot/dts/ti/k3-am62-main.dtsi
parentd19a66ae488afe23398090b5dbe5483b26863e13 (diff)
arm64: dts: ti: k3-am625-sk: Add ECAP APWM nodes
AM62 has 3 ECAP instances with 1 APWM each. Add DT nodes for the same. Keep them disabled in am625-sk dts as these pins can be repurposed in user exp connector. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Reviewed-by: Aswath Govindraju <a-govindraju@ti.com> Link: https://lore.kernel.org/r/20220419062902.196526-1-vigneshr@ti.com
Diffstat (limited to 'arch/arm64/boot/dts/ti/k3-am62-main.dtsi')
-rw-r--r--arch/arm64/boot/dts/ti/k3-am62-main.dtsi27
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
index eec8dae65e7c..9f32b6dad8a9 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
@@ -530,4 +530,31 @@
ti,mbox-num-users = <4>;
ti,mbox-num-fifos = <16>;
};
+
+ ecap0: pwm@23100000 {
+ compatible = "ti,am3352-ecap";
+ #pwm-cells = <3>;
+ reg = <0x00 0x23100000 0x00 0x100>;
+ power-domains = <&k3_pds 51 TI_SCI_PD_EXCLUSIVE>;
+ clocks = <&k3_clks 51 0>;
+ clock-names = "fck";
+ };
+
+ ecap1: pwm@23110000 {
+ compatible = "ti,am3352-ecap";
+ #pwm-cells = <3>;
+ reg = <0x00 0x23110000 0x00 0x100>;
+ power-domains = <&k3_pds 52 TI_SCI_PD_EXCLUSIVE>;
+ clocks = <&k3_clks 52 0>;
+ clock-names = "fck";
+ };
+
+ ecap2: pwm@23120000 {
+ compatible = "ti,am3352-ecap";
+ #pwm-cells = <3>;
+ reg = <0x00 0x23120000 0x00 0x100>;
+ power-domains = <&k3_pds 53 TI_SCI_PD_EXCLUSIVE>;
+ clocks = <&k3_clks 53 0>;
+ clock-names = "fck";
+ };
};