diff mbox series

[v2,14/23] arm64: dts: colibri-imx8x: Add colibri pwm b, c, d

Message ID 20230314102410.424773-15-dev@pschenker.ch (mailing list archive)
State New, archived
Headers show
Series Update Colibri iMX8X Devicetrees | expand

Commit Message

Philippe Schenker March 14, 2023, 10:24 a.m. UTC
From: Philippe Schenker <philippe.schenker@toradex.com>

Add Colibri PWM_B, PWM_C, PWM_D to the module-level device-tree and set
the status to ok on the eval-board.

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
---

(no changes since v1)

 .../dts/freescale/imx8x-colibri-eval-v3.dtsi  | 15 +++++++++++++
 .../boot/dts/freescale/imx8x-colibri.dtsi     | 21 +++++++++++++++++++
 2 files changed, 36 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi
index 1d0bad085ad4..68e34516961a 100644
--- a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi
@@ -51,6 +51,21 @@  &lpuart2 {
 	status = "okay";
 };
 
+/* Colibri PWM_B */
+&lsio_pwm0 {
+	status = "okay";
+};
+
+/* Colibri PWM_C */
+&lsio_pwm1 {
+	status = "okay";
+};
+
+/* Colibri PWM_D */
+&lsio_pwm2 {
+	status = "okay";
+};
+
 /* Colibri UART_A */
 &lpuart3 {
 	status = "okay";
diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
index 778f2f43a8c0..61033b79e44e 100644
--- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
@@ -259,6 +259,27 @@  &lsio_gpio5 {
 			  "UNUSABLE_SODIMM_184";
 };
 
+/* Colibri PWM_B */
+&lsio_pwm0 {
+	#pwm-cells = <3>;
+	pinctrl-0 = <&pinctrl_pwm_b>;
+	pinctrl-names = "default";
+};
+
+/* Colibri PWM_C */
+&lsio_pwm1 {
+	#pwm-cells = <3>;
+	pinctrl-0 = <&pinctrl_pwm_c>;
+	pinctrl-names = "default";
+};
+
+/* Colibri PWM_D */
+&lsio_pwm2 {
+	#pwm-cells = <3>;
+	pinctrl-0 = <&pinctrl_pwm_d>;
+	pinctrl-names = "default";
+};
+
 /* On-module eMMC */
 &usdhc1 {
 	bus-width = <8>;