Hi,
I flashed FreeBSD (latest) on a Beaglebone Black.
There are no PWM's whatsoever, though some GPIO's, I2C, ADC are enabled.
How do I get started to enable at least few PWM's pins as
P9_21, P9_14, P9_16, P9_22, P8_7, P8_10
dmesg | grep pwm yields nothing.
grepping in dts's for pwm as well nothing
Any start points where to look.
Thank you.
I flashed FreeBSD (latest) on a Beaglebone Black.
There are no PWM's whatsoever, though some GPIO's, I2C, ADC are enabled.
How do I get started to enable at least few PWM's pins as
P9_21, P9_14, P9_16, P9_22, P8_7, P8_10
Code:
FreeBSD generic 13.0-CURRENT FreeBSD 13.0-CURRENT r351363 GENERIC ar
dmesg | grep pwm yields nothing.
grepping in dts's for pwm as well nothing
Any start points where to look.
Thank you.
Code:
% dmesg | grep pwm
% dmesg | grep gpio
gpio0: <TI AM335x General Purpose I/O (GPIO)> mem 0-0xfff irq 12 on ti_sysc1
gpiobus0: <OFW GPIO bus> on gpio0
gpioc0: <GPIO controller> on gpio0
gpio1: <TI AM335x General Purpose I/O (GPIO)> mem 0-0xfff irq 35 on ti_sysc21
gpiobus1: <OFW GPIO bus> on gpio1
gpioc1: <GPIO controller> on gpio1
gpio2: <TI AM335x General Purpose I/O (GPIO)> mem 0-0xfff irq 44 on ti_sysc31
gpiobus2: <OFW GPIO bus> on gpio2
gpioc2: <GPIO controller> on gpio2
gpio3: <TI AM335x General Purpose I/O (GPIO)> mem 0-0xfff irq 45 on ti_sysc32
gpiobus3: <OFW GPIO bus> on gpio3
gpioc3: <GPIO controller> on gpio3
gpioled0: <GPIO LEDs> on ofwbus0
% dmesg | grep i2c
% dmesg | grep adc
ti_adc0: <TI ADC controller> mem 0-0xfff irq 15 disabled on ti_sysc4
ti_adc0: scheme: 0x1 func: 0x730 rtl: 0 rev: 0.1 custom rev: 0
% dmesg | grep i2C
% dmesg | grep SPI
% dmesg | grep spi
% find . | grep i2
% find . | grep sp
./ufssuspend
% find . | grep gpio
./gpioc0
./gpioc1
./gpioc2
./gpioc3
% find . | grep pwm
Last edited by a moderator: