MYZR-STM32-EK152驱动和设备手册
来自明远智睿的wiki
驱动及相关设备文件
评估板对应的Linux-5.4.1版本及对应的源码文件和设备见下表:
功能 | 源码位置 | Linux 设备和文件夹 |
---|---|---|
GPIO | drivers/pinctrl/stm32/pinctrl-stm32mp157.c | /dev/gpiochip* |
drivers/gpio/gpiolib.c | ||
LED | drivers/leds/leds-gpio.c | /sys/class/leds/ |
RGB | drivers/gpu/drm/panel/panel-simple.c | |
HDMI | drivers/gpu/drm/bridge/sii902x.c | |
BACKLIGHT | drivers/video/backlight/pwm_bl.c | /sys/class/backlight |
UART/USART | drivers/tty/serial/stm32-usart.c | /dev/ttySTM* |
I2C | drivers/i2c/busses/i2c-stm32f7.c | /dev/i2c-* |
SPIDEV | drivers/spi/spidev.c | /dev/spidev* |
SDMMC | drivers/mmc/ | /sys/bus/mmc/ |
TOUCH SCREEN | drivers/input/touchscreen/myts-ft5x0x.c | /dev/input/event0 |
ethernet | drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c | eth0 |
WM8960 | sound/soc/codecs/wm8960.c | /dev/snd |
ISL1208 | drivers/rtc/rtc-isl1208.c | /dev/rtc0 |
USB | drivers/usb/ | /sys/bus/usb/ |
FDCAN | drivers/net/can/m_can/m_can_platform.c | can0 |
WATCHDOG | drivers/watchdog/stm32_iwdg.c | /dev/watchdog |
ADC | drivers/iio/adc/stm32-adc-core.c | /sys/bus/iio/devices/iio:device0 |
drivers/iio/adc/stm32-adc.c | ||
AP6214 | drivers/net/wireless/bcmdhc/ | wlan0、hci0 |
EC20 | drivers/net/usb/ec20/ | usb0 |