forked from maquefel/diodes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpi4ioe5v-overlay.dts
32 lines (28 loc) · 982 Bytes
/
pi4ioe5v-overlay.dts
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
// Definitions for MPU6050
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2837";
fragment@0 {
target = <&i2c1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
pi4ioe5v: pi4ioe5v@70 {
compatible = "diodes,pi4ioe5v96248";
reg = <0x70>;
interrupt-parent = <&gpio>;
interrupts = <4 8>; // active low level-sensitive
gpio-controller;
#gpio-cells = <2>;
npgio=<48>;
};
};
};
__overrides__ {
addr = <&pi4ioe5v>,"reg:0";
interrupt = <&pi4ioe5v>,"interrupts:0";
label = <&pi4ioe5v>,"label";
};
};