]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/microcontroller/rockchip/rk3399/pin.py
Fixed PWM definition
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / microcontroller / rockchip / rk3399 / pin.py
index 792cff93099a776dcf3432cf5079225fe3ad443e..3cfad48a6e657e4bd7647c7d704c30ce9cbe5ab7 100644 (file)
@@ -207,6 +207,7 @@ UART4_RX = GPIO1_A7
 # PWM
 PWM0 = GPIO4_C2
 PWM1 = GPIO4_C6
+PWM2 = GPIO1_C3
 
 # ordered as i2cId, SCL, SDA
 i2cPorts = (
@@ -224,7 +225,8 @@ spiPorts = (
 # SysFS pwm outputs, pwm channel and pin in first tuple
 pwmOuts = (
     ((0, 0), PWM0),
-    ((0, 0), PWM1),
+    ((1, 0), PWM1),
+    ((2, 0), PWM2),
 )
 
 # SysFS analog inputs, Ordered as analog analogInId, device, and channel