forked from BeaglePilot/BeagleBone-Black-MPU6000-Driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BB-IMU-00A0.dts
56 lines (46 loc) · 1018 Bytes
/
BB-IMU-00A0.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/dts-v1/;
/ {
compatible = "ti,beaglebone", "ti,beaglebone-black";
part-number = "BB-IMU";
version = "00A0";
exclusive-use = "P9.17", "P9.18", "P9.21", "P9.22", "spi0";
fragment@0 {
target = <0xdeadbeef>;
__overlay__ {
pinmux_bb_spi0_pins {
pinctrl-single,pins = <0x150 0x30 0x154 0x30 0x158 0x10 0x15c 0x10>;
linux,phandle = <0x1>;
phandle = <0x1>;
};
};
};
fragment@1 {
target = <0xdeadbeef>;
__overlay__ {
#address-cells = <0x1>;
#size-cells = <0x0>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <0x1>;
channel@0 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "imu";
reg = <0x0>;
spi-max-frequency = <500000>;
spi-cpha;
spi-cpol;
};
};
};
__symbols__ {
bb_spi0_pins = "/fragment@0/__overlay__/pinmux_bb_spi0_pins";
};
__fixups__ {
am33xx_pinmux = "/fragment@0:target:0";
spi0 = "/fragment@1:target:0";
};
__local_fixups__ {
fixup = "/fragment@1/__overlay__:pinctrl-0:0";
};
};