I built my own openwrt with sysfs file system and was able to cycle onboard LEDs with /sys/class/gpio but it seems that /sys/class/pwm for dimming it is missing.
How can I create it?
a search shows the device specific pwm0 and pwm1. It's a linkit 7688.
find -name "*pwm*"
./sys/devices/platform/10000000.palmbus/10005000.pwm
./sys/firmware/devicetree/base/palmbus@10000000/pwm@5000
./sys/firmware/devicetree/base/palmbus@10000000/pwm@5000/#pwm-cells
./sys/firmware/devicetree/base/pinctrl/pwm1
./sys/firmware/devicetree/base/pinctrl/pwm1/pwm1
./sys/firmware/devicetree/base/pinctrl/pwm0
./sys/firmware/devicetree/base/pinctrl/pwm0/pwm0
./sys/bus/platform/devices/10005000.pwm