summaryrefslogtreecommitdiff
path: root/zephyr/projects/volteer/volteer/cbi_eeprom.dts
blob: 65248a5f48484c2d8aa2c8226f69b4fc6030744f (plain)
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
/* Copyright 2021 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

&i2c7_0 {
	cbi_eeprom: eeprom@50 {
		compatible = "atmel,at24";
		reg = <0x50>;
		label = "EEPROM_CBI";
		size = <2048>;
		pagesize = <16>;
		address-width = <8>;
		timeout = <5>;
		wp-gpios = <&gpio_ec_wp_l>;
	};
};

&cbi_ssfc_base_sensor {
	base_sensor_bmi160: bmi160 {
		compatible = "named-cbi-ssfc-value";
		status = "okay";

		value = <1>;
	};
	base_sensor_icm426xx: icm426xx {
		compatible = "named-cbi-ssfc-value";
		status = "okay";

		value = <2>;
	};
	base_sensor_kx022: kx022 {
		compatible = "named-cbi-ssfc-value";
		status = "okay";

		value = <3>;
	};
};

&cbi_ssfc_lid_sensor {
	lid_sensor_bma255: bma255 {
		compatible = "named-cbi-ssfc-value";
		status = "okay";

		value = <1>;
	};
	lid_sensor_kx022: kx022 {
		compatible = "named-cbi-ssfc-value";
		status = "okay";

		value = <2>;
	};
};

&cbi_ssfc_lightbar {
	lightbar_10_led: 10_led {
		compatible = "named-cbi-ssfc-value";
		status = "okay";

		value = <1>;
	};
	lightbar_12_led: 12_led {
		compatible = "named-cbi-ssfc-value";
		status = "okay";

		value = <2>;
	};
};