mimxrt1050_evk: Move led and button definitions to dts
Moves the led and button definitions for the mimxrt1050_evk board from board.h to dts. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
e15a4923e8
commit
2368edd8e7
3 changed files with 29 additions and 6 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include <arm/armv7-m.dtsi>
|
||||
#include <dt-bindings/clock/imx_ccm.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
/ {
|
||||
cpus {
|
||||
|
@ -73,6 +74,8 @@
|
|||
reg = <0x401b8000 0x4000>;
|
||||
interrupts = <80 0>, <81 0>;
|
||||
label = "GPIO_1";
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
gpio2: gpio@401bc000 {
|
||||
|
@ -80,6 +83,8 @@
|
|||
reg = <0x401bc000 0x4000>;
|
||||
interrupts = <82 0>, <83 0>;
|
||||
label = "GPIO_2";
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
gpio3: gpio@401c0000 {
|
||||
|
@ -87,6 +92,8 @@
|
|||
reg = <0x401c0000 0x4000>;
|
||||
interrupts = <84 0>, <85 0>;
|
||||
label = "GPIO_3";
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
gpio4: gpio@401c4000 {
|
||||
|
@ -94,6 +101,8 @@
|
|||
reg = <0x401c4000 0x4000>;
|
||||
interrupts = <86 0>, <87 0>;
|
||||
label = "GPIO_4";
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
gpio5: gpio@400c0000 {
|
||||
|
@ -101,6 +110,8 @@
|
|||
reg = <0x400c0000 0x4000>;
|
||||
interrupts = <88 0>, <89 0>;
|
||||
label = "GPIO_5";
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
iomuxc: iomuxc@401f8000 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue