-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patham335x-boneblack-customgpio.dtsi
53 lines (49 loc) · 1.54 KB
/
am335x-boneblack-customgpio.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
50
51
52
53
/ {
pcdev-1 {
compatible = "pcdev-E1x", "pcdev-A1x";
org,size = <512>;
org,device-serial-num = "PCDEV1ABC123";
org,perm = <0x11>;
};
pcdev-2 {
compatible = "pcdev-B1x";
org,size = <1024>;
org,device-serial-num = "PCDEV2ABC456";
org,perm = <0x11>;
};
pcdev-3 {
compatible = "pcdev-C1x";
org,size = <256>;
org,device-serial-num = "PCDEV3ABC789";
org,perm = <0x11>;
};
pcdev-4 {
compatible = "pcdev-D1x";
org,size = <52048>;
org,device-serial-num = "PCDEV4ABC000";
org,perm = <0x11>;
};
bone_gpio_devs {
compatible = "org,bone-gpio-sysfs";
gpio1 {
label = "gpio2.2";
bone-gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
};
gpio2 {
label = "gpio2.3";
bone-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
};
gpio3 {
label = "gpio2.4";
bone-gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>;
};
gpio4 {
label = "userled0:gpio1.21";
bone-gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
};
gpio5 {
label = "userled1:gpio2.22";
bone-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>;
};
};
};