Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
targets
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Feed
targets
Commits
28e5601c
Commit
28e5601c
authored
3 years ago
by
Lukasz Kotasa
Browse files
Options
Downloads
Patches
Plain Diff
iopsys-econet: en7523-gpio entries in arcee/rodimus dts
parent
4489e41f
Branches
Branches containing commit
No related tags found
1 merge request
!346
iopsys-econet: Arcee and Rodimus dts files
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
iopsys-econet/dts/arcee.dts
+37
-4
37 additions, 4 deletions
iopsys-econet/dts/arcee.dts
iopsys-econet/dts/rodimus.dts
+20
-4
20 additions, 4 deletions
iopsys-econet/dts/rodimus.dts
with
57 additions
and
8 deletions
iopsys-econet/dts/arcee.dts
+
37
−
4
View file @
28e5601c
...
@@ -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";
...
...
This diff is collapsed.
Click to expand it.
iopsys-econet/dts/rodimus.dts
+
20
−
4
View file @
28e5601c
...
@@ -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";
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment