Skip to content
Snippets Groups Projects
Commit 28e5601c authored by Lukasz Kotasa's avatar Lukasz Kotasa
Browse files

iopsys-econet: en7523-gpio entries in arcee/rodimus dts

parent 4489e41f
Branches
No related tags found
1 merge request!346iopsys-econet: Arcee and Rodimus dts files
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/gpio/gpio.h>
/dts-v1/; /dts-v1/;
...@@ -323,10 +324,42 @@ ...@@ -323,10 +324,42 @@
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
//status = "disabled"; //status = "disabled";
}; };
gpio@1fbf0200 {
compatible = "econet,ecnt-gpio"; leds {
reg = <0x1fbf0200 0x80>; compatible = "gpio-leds";
}; led1 {
label = "green:led1";
gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
};
led2 {
label = "red:led2";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
led3 {
label = "blue:led3";
gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
};
};
gpio0: gpio@1fbf0200 {
compatible = "airoha,en7523-gpio";
reg = <0x1fbf0204 0x4>,
<0x1fbf0200 0x4>,
<0x1fbf0220 0x4>,
<0x1fbf0214 0x4>;
gpio-controller;
#gpio-cells = <2>;
};
gpio1: gpio@1fbf0270 {
compatible = "airoha,en7523-gpio";
reg = <0x1fbf0270 0x4>,
<0x1fbf0260 0x4>,
<0x1fbf0264 0x4>,
<0x1fbf0278 0x4>;
gpio-controller;
#gpio-cells = <2>;
spi_ctrl: spi_controller@1fa10000 { spi_ctrl: spi_controller@1fa10000 {
compatible = "econet,ecnt-spi_ctrl"; compatible = "econet,ecnt-spi_ctrl";
......
...@@ -323,10 +323,26 @@ ...@@ -323,10 +323,26 @@
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
//status = "disabled"; //status = "disabled";
}; };
gpio@1fbf0200 {
compatible = "econet,ecnt-gpio"; gpio0: gpio@1fbf0200 {
reg = <0x1fbf0200 0x80>; compatible = "airoha,en7523-gpio";
}; reg = <0x1fbf0204 0x4>,
<0x1fbf0200 0x4>,
<0x1fbf0220 0x4>,
<0x1fbf0214 0x4>;
gpio-controller;
#gpio-cells = <2>;
};
gpio1: gpio@1fbf0270 {
compatible = "airoha,en7523-gpio";
reg = <0x1fbf0270 0x4>,
<0x1fbf0260 0x4>,
<0x1fbf0264 0x4>,
<0x1fbf0278 0x4>;
gpio-controller;
#gpio-cells = <2>;
spi_ctrl: spi_controller@1fa10000 { spi_ctrl: spi_controller@1fa10000 {
compatible = "econet,ecnt-spi_ctrl"; compatible = "econet,ecnt-spi_ctrl";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment