This patch set adds device tree support to the following MicroBlaze BSP drivers: - AXI Interrupt Controller - JFFS2 QSPI - AXI UART Lite - AXI Timer clock
Previously, the only way to configure the above drivers was to use build configuration options. Now when a device tree is present, the BSP will use the device tree to configure the drivers. Alex White (2): bsps/microblaze: Add device tree getter bsps/microblaze: Add device tree support to timer Ryan Long (3): bsps/microblaze: Add device tree support to AXI interrupt controller bsps/microblaze: Add device tree support to JFFS2 QSPI bsps/microblaze: Add device tree support to UART Lite .../include/bsp/microblaze-fdt-support.h | 65 +++++++++++++++++ bsps/microblaze/microblaze_fpga/clock/clock.c | 50 ++++++++----- .../microblaze_fpga/console/console-io.c | 19 ++++- .../microblaze_fpga/console/debug-io.c | 29 ++++++-- bsps/microblaze/microblaze_fpga/fdt/bsp_fdt.c | 23 ------ .../microblaze_fpga/fs/jffs2_qspi.c | 17 ++++- bsps/microblaze/microblaze_fpga/include/bsp.h | 3 + .../microblaze_fpga/include/bsp/intc.h | 2 - .../microblaze_fpga/include/bsp/timer.h | 2 - bsps/microblaze/microblaze_fpga/irq/irq.c | 36 +++++----- bsps/microblaze/shared/dev/serial/uartlite.c | 9 ++- .../shared/fdt/microblaze-fdt-support.c | 72 +++++++++++++++++++ .../bsps/microblaze/microblaze_fpga/grp.yml | 2 + .../bsps/microblaze/microblaze_fpga/obj.yml | 3 +- .../microblaze/microblaze_fpga/optusefdt.yml | 15 ++++ 15 files changed, 274 insertions(+), 73 deletions(-) create mode 100644 bsps/microblaze/include/bsp/microblaze-fdt-support.h delete mode 100644 bsps/microblaze/microblaze_fpga/fdt/bsp_fdt.c create mode 100644 bsps/microblaze/shared/fdt/microblaze-fdt-support.c create mode 100644 spec/build/bsps/microblaze/microblaze_fpga/optusefdt.yml -- 2.34.1 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel