arm64: dts: ti: k3-am625-sk: Add ECAP APWM nodes
authorVignesh Raghavendra <vigneshr@ti.com>
Tue, 19 Apr 2022 06:29:02 +0000 (11:59 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Wed, 27 Apr 2022 13:44:04 +0000 (19:14 +0530)
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
arch/arm64/boot/dts/ti/k3-am62-main.dtsi
arch/arm64/boot/dts/ti/k3-am625-sk.dts

index eec8dae65e7c84bf9ac4c1021a0be5b91eb1c5d4..9f32b6dad8a9e4792b89290a74bcae201e3ef969 100644 (file)
                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";
+       };
 };
index 5c38ee5ff9b2c878a4cca5fdd8fd2f402a73645b..3b6a20e342ed28714f25b6897e8503824380e516 100644 (file)
                };
        };
 };
+
+&ecap0 {
+       status = "disabled";
+};
+
+&ecap1 {
+       status = "disabled";
+};
+
+&ecap2 {
+       status = "disabled";
+};