build/patch/kernel/archive/odroidxu4-5.12/0096-ODROID-N2-arm64-dts-Add-pin-mux-for-PWM-pins.patch

39 lines
1.0 KiB
Diff

From 3f702e98d416b3c9490f2f8baeac72e3e06c3d93 Mon Sep 17 00:00:00 2001
From: Deokgyu Yang <secugyu@gmail.com>
Date: Thu, 29 Apr 2021 11:48:37 +0900
Subject: [PATCH 096/109] ODROID-N2: arm64/dts: Add pin mux for PWM pins
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4796c8a1ba5f5bc0e35aea1fa181d366f51bb474
---
.../arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
index 7e2071cd44e3..bcbd0b42516d 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
@@ -588,6 +588,19 @@ mux {
drive-strength-microamp = <3000>;
};
};
+ pwmcd_to_gpios: pwmcd_gpio {
+ mux {
+ groups = "GPIOX_5", "GPIOX_6";
+ function = "gpio_periphs";
+ };
+ };
+
+ pwmef_to_gpios: pwmef_gpio {
+ mux {
+ groups = "GPIOX_16", "GPIOX_7";
+ function = "gpio_periphs";
+ };
+ };
};
&pwm_ab {
--
2.25.1