-XP_TP = 1 # Allwinner touch panel controller which can be configured to operate
-XN_TP = 2 # as four seperate adc chanels, providing 12-bit resolution.
-YP_TP = 3
-YN_TP = 4
-
-# Ordered as i2cId, SCL, SDA
-i2cPorts = ((2, TWI2_SCL, TWI2_SDA),)
-
-# Ordered as spiId, clkId, mosiId, misoId
-spiPorts = (
- (0, SPI0_SCLK, SPI0_MOSI, SPI0_MISO),
- (2, SPI2_SCLK, SPI2_MOSI, SPI2_MISO),
+# SysFS pwm outputs, pwm channel and pin in first tuple
+pwmOuts = (((0, 1), PWM1),)
+# ordered as i2cId, sclId, sdaId
+i2cPorts = (
+ (0, TWI0_SCK, TWI0_SDA),
+ (1, TWI1_SCK, TWI1_SDA),
+ (2, TWI2_SCK, TWI2_SDA),