[BPI-R64] PWM-support

device is banana pi r3

pwm0 on r3 is mapped to fan-socket (aquired pwm-fan) via dts, pwm1 is exposed on gpio-header

log.txt (13.0 KB) No help. Some demsg info shown in log.

[    0.047861] pwm-mediatek 10048000.pwm: clock: top fail: -517

Your pwm controller is not setup right, 517 should be deferred probe (try later because depencies missing),but i do not see a later attemptā€¦there are also pcie errorsā€¦have you modified code/dts of your kernel?

I do not modify code/dts of kernel.

Here is the default dts in the default source code.mt7986a-bananapi-bpi-r3.dts (16.0 KB)

The address of source code is at https://github.com/coolsnowwolf/lede.

you should open a new topic as this is for r64 and completely different. and please do not create 3 postings in same thread in a few minutesā€¦you can edit your postings to add additional information ("ā€¦" and then the pen)

you should also first try with official openwrt and then switch to the specific fork.