Add driver implementation and header files for a MEC172x aggregated interrupt driver. Enable the parent(ECIA) node to have the driver initialize interrupt hardware for use. Enable child nodes for those GIRQs used for aggregation. Refer to chip documention for the list of GIRQs restricted to aggregation and those which support direct mode. Add chip level device tree node for MEC172x EC interrupt aggregator parent and GIRQ children. Each child node contains a list of sources representing the source bit position in the GIRQ registers. Add DT bindings for ECIA and GIRQ nodes. Add build file(s) and configuration items for the MEC172x ECIA aggregated interrupt driver. Add and enable the MEC172x interrupt driver on the MEC172x evaluation board(EVB). Enable parent node to initialize ECIA hardware. Child nodes are left disabled until a future driver needs them. Signed-off-by: Scott Worley <scott.worley@microchip.com>
42 lines
627 B
Text
42 lines
627 B
Text
/*
|
|
* Copyright (c) 2021, Microchip Technology Inc.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include <microchip/mec172xnsz.dtsi>
|
|
|
|
/ {
|
|
model = "Microchip MEC172XEVB_ASSY6906 evaluation board";
|
|
compatible = "microchip,mec172xevb_assy6906", "microchip,mec172xnsz";
|
|
|
|
chosen {
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
zephyr,console = &uart1;
|
|
};
|
|
};
|
|
|
|
&cpu0 {
|
|
clock-frequency = <96000000>;
|
|
};
|
|
|
|
/* Initialize ECIA. Does not initialize child devices */
|
|
&ecia {
|
|
status = "okay";
|
|
};
|
|
|
|
&systick {
|
|
status = "okay";
|
|
};
|
|
|
|
&pcr {
|
|
status = "okay";
|
|
};
|
|
|
|
&uart1 {
|
|
status = "okay";
|
|
current-speed = <115200>;
|
|
};
|