ODROID-C5: pwm: fix "config pwm dtb overlays"

Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: I64840ede68cd71966d8696ccccf091e88e16f9b2
This commit is contained in:
2025-04-30 15:40:15 +09:00
parent 02877a9493
commit 658ed97ca7

View File

@@ -104,10 +104,10 @@ static const char *pinToPwm[64] = {
static const int pinToPwmNum[64] = { static const int pinToPwmNum[64] = {
// wiringPi number to pwm pin number // wiringPi number to pwm pin number
-1, -1, // 0 | 1 -1, 1, // 0 | 1
-1, -1, // 2 | 3 -1, -1, // 2 | 3
-1, 0, // 4 | 5 : , PWM_C -1, 0, // 4 | 5 : , PWM_C
1, 2, // 6 | 7 : PWM_A, PWM_B -1, 2, // 6 | 7 : PWM_A, PWM_B
-1, -1, // 8 | 9 -1, -1, // 8 | 9
-1, 3, // 10 | 11 : , PWM_F -1, 3, // 10 | 11 : , PWM_F
-1, -1, // 12 | 13 -1, -1, // 12 | 13