-
Notifications
You must be signed in to change notification settings - Fork 9
/
gpio.dtsi
49 lines (47 loc) · 1.22 KB
/
gpio.dtsi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/**
* Copyright (c) 2018 krtkl inc.
*
* snickerdoodle AXI GPIO Device Tree Source
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*/
&amba {
axi_gpio0: gpio@41200000 {
compatible = "xlnx,xps-gpio-1.00.a";
reg = <0x41200000 0x10000>;
gpio-controller;
clock-names = "s_axi_aclk";
clocks = <&clkc 15>;
interrupt-parent = <&intc>;
interrupts = <0 29 4>;
#gpio-cells = <2>;
xlnx,all-inputs = <0>;
xlnx,gpio-width = <25>;
xlnx,tri-default = <0xffffffff>;
xlnx,is-dual = <1>;
xlnx,all-inputs-2 = <0>;
xlnx,gpio2-width = <25>;
xlnx,tri-default-2 = <0xffffffff>;
xlnx,interrupt-present = <1>;
};
axi_gpio1: gpio@41210000 {
compatible = "xlnx,xps-gpio-1.00.a";
reg = <0x41210000 0x10000>;
gpio-controller;
clock-names = "s_axi_aclk";
clocks = <&clkc 15>;
interrupt-parent = <&intc>;
interrupts = <0 30 4>;
#gpio-cells = <2>;
xlnx,all-inputs = <0>;
xlnx,gpio-width = <25>;
xlnx,tri-default = <0xffffffff>;
xlnx,is-dual = <1>;
xlnx,all-inputs-2 = <0>;
xlnx,gpio2-width = <25>;
xlnx,tri-default-2 = <0xffffffff>;
xlnx,interrupt-present = <1>;
};
};