-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathnrf52840dk_nrf52840.overlay
More file actions
43 lines (39 loc) · 968 Bytes
/
nrf52840dk_nrf52840.overlay
File metadata and controls
43 lines (39 loc) · 968 Bytes
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
/*
* Copyright (c) 2023 Callender-Consulting, LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
&pinctrl {
i2c0_default: i2c0_default {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 26)>,
<NRF_PSEL(TWIM_SCL, 0, 27)>;
bias-pull-up;
};
};
i2c0_sleep: i2c0_sleep {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 26)>,
<NRF_PSEL(TWIM_SCL, 0, 27)>;
low-power-enable;
};
};
};
arduino_i2c: &i2c0 {
compatible = "nordic,nrf-twi";
status = "okay";
ssd1306_ssd1306_128x32: ssd1306@3c {
compatible = "solomon,ssd1306fb";
reg = <0x3c>;
height = <32>;
width = <128>;
segment-offset = <0>;
page-offset = <0>;
display-offset = <0>;
multiplex-ratio = <31>;
prechargep = <0x22>;
segment-remap;
com-invdir;
com-sequential;
};
};