gpio: mcux: Convert convert to DT_INST defines

Convert driver to use DT_INST_ defines.  As part of this conversion we
remove the Kconfig options for per GPIO controller enables and instead
get that information from device tree.  This means we now disable each
GPIO controller by default in the DTS and have each board dts enable the
GPIO controller ports it needs.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-02-12 12:34:35 -06:00 committed by Kumar Gala
commit 22e65cb9ba
35 changed files with 273 additions and 435 deletions

View file

@ -205,6 +205,26 @@
bus-speed = <125000>;
};
&gpioa {
status = "okay";
};
&gpiob {
status = "okay";
};
&gpioc {
status = "okay";
};
&gpiod {
status = "okay";
};
&gpioe {
status = "okay";
};
&flash0 {
/*
* For more information, see: