dts: mec1727nsz: fix few build issues

This files has been changed as part of a refactoring in 13a87081b9.
Unfortunately the refactoring introduced few issues:

- usage of devicetree macros before their definition
- usage of pinctrl label before the definition of the corresponding node
- removal of few node overrides that are causing build errors

Unfortunately there's no board usptream using this specific dts file, so
the issue has not been caught in CI and was only found downstream.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2023-10-23 14:51:52 +00:00 committed by Fabio Baltieri
commit 96ed3a68a9

View file

@ -12,7 +12,9 @@
#include <zephyr/dt-bindings/interrupt-controller/mchp-xec-ecia.h>
#include "mec172x/mec172x-vw-routing.dtsi"
#include "mec172x/mec172xnsz-pinctrl.dtsi"
#include <mem.h>
#include <freq.h>
/ {
cpus {
@ -83,6 +85,16 @@
};
};
&nvic {
arm,num-irq-priority-bits = <3>;
};
&systick {
status = "disabled";
};
#include "mec172x/mec172xnsz-pinctrl.dtsi"
&gpspi_wp_n_gpio076 {
output-high;
};