/
0145-fix-cape-bone-hexy.patch
95 lines (89 loc) · 2.33 KB
/
0145-fix-cape-bone-hexy.patch
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
From d2363e405240b1a7584f9d35dd202289e096659a Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Tue, 26 Mar 2013 17:01:09 +0100
Subject: [PATCH 145/184] fix cape-bone-hexy
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
firmware/capes/cape-bone-hexy-00A0.dts | 64 ++++++++++++++++++++--------------
1 file changed, 37 insertions(+), 27 deletions(-)
diff --git a/firmware/capes/cape-bone-hexy-00A0.dts b/firmware/capes/cape-bone-hexy-00A0.dts
index 4a13484..abc1255 100644
--- a/firmware/capes/cape-bone-hexy-00A0.dts
+++ b/firmware/capes/cape-bone-hexy-00A0.dts
@@ -25,13 +25,13 @@
*/
/ {
- compatible = "ti,beaglebone", "ti,beaglebone-black";
- part-number = "BB-BONE-HEXY-01";
- version = "00A0";
+ compatible = "ti,beaglebone", "ti,beaglebone-black";
+ part-number = "BB-BONE-HEXY-01";
+ version = "00A0";
- fragment@0 {
- target = <&am33xx_pinmux>;
- __overlay__ {
+ fragment@0 {
+ target = <&am33xx_pinmux>;
+ __overlay__ {
pwm_backlight_pins: pinmux_pwm_backlight_pins {
pinctrl-single,pins = <
0x020 0x4 /* gpmc_ad8.gpio0_22 | MODE4 */
@@ -125,26 +125,36 @@
};
fragment@5 {
- target = <&i2c2>;
-
- __overlay__ {
- /* needed to avoid gripping by DTC */
- #address-cells = <1>;
- #size-cells = <0>;
-
- lsm303dlhc_magn@1e {
- compatible = "st,lsm303dlhc_magn";
- reg = <0x1E>;
- };
-
- lsm303dlh_accel@1e {
- compatible = "st,lsm303dlhc_accel";
- reg = <0x19>;
- };
- vcnl4000@13 {
- compatible = "vishay,vcnl4000";
- reg = <0x13>;
- };
- };
+ target = <&i2c2>;
+
+ __overlay__ {
+ /* needed to avoid gripping by DTC */
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ lsm303dlhc_magn@1e {
+ compatible = "st,lsm303dlhc_magn";
+ reg = <0x1E>;
+ };
+
+ lsm303dlh_accel@1e {
+ compatible = "st,lsm303dlhc_accel";
+ reg = <0x19>;
+ };
+
+ vcnl4000@13 {
+ compatible = "vishay,vcnl4000";
+ reg = <0x13>;
+ };
+
+ ssd1306: oled@3c {
+ compatible = "solomon,ssd1306fb-i2c";
+ reg = <0x3c>;
+ reset-gpios = <&gpio4 19 0>;
+ solomon,height = <32>;
+ solomon,width = <128>;
+ solomon,page-offset = <0>;
+ };
+ };
};
};
--
1.8.2.1