As the device driver developer, this task is really important because to be able to talk with external devices (or internal ones but with external signal lines) we must be sure that each CPU pin is properly configured to talk with these external signals. In this recipe, we will look at how we can use the device tree to configure CPU pins.
Configuring CPU pins for specific peripherals
How to do it...
Just as a simple example, let's try to modify the pin configuration for our ESPRESSObin.
- First of all, we should take a look at the current configuration by looking at sysfs in the /sys/bus/platform/drivers/mvebu-uart/ directory, where we verify that only one UART is currently enabled:
# ls /sys/bus/platform/drivers/mvebu...