blob: 3ee7500327cffb6bfae75b495262caacd8b13fd9 [file] [log] [blame]
Matthew Barth6923a3f2021-08-05 10:11:16 -05001[
2 {
3 "name": "fan0",
4 "path": "/system/chassis/motherboard/fan0",
5 "methods": [
6 {
7 "type": "gpio",
8 "key": 15,
9 "physpath": "/sys/bus/i2c/devices/30-0061",
10 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
11 },
12 {
13 "type": "tach",
14 "sensors": [
15 "fan0_0",
16 "fan0_1"
17 ]
18 }
19 ],
20 "rpolicy": {
21 "type": "anyof"
Matt Spinlerbc4179e2022-10-04 15:15:06 -050022 },
23 "eeprom": {
24 "bus_address": "31-0050",
25 "driver_name": "at24",
26 "bind_delay_ms": 1000
Matthew Barth6923a3f2021-08-05 10:11:16 -050027 }
28 },
29 {
30 "name": "fan1",
31 "path": "/system/chassis/motherboard/fan1",
32 "methods": [
33 {
34 "type": "gpio",
35 "key": 14,
36 "physpath": "/sys/bus/i2c/devices/30-0061",
37 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
38 },
39 {
40 "type": "tach",
41 "sensors": [
42 "fan1_0",
43 "fan1_1"
44 ]
45 }
46 ],
47 "rpolicy": {
48 "type": "anyof"
Matt Spinlerbc4179e2022-10-04 15:15:06 -050049 },
50 "eeprom": {
51 "bus_address": "32-0050",
52 "driver_name": "at24",
53 "bind_delay_ms": 1000
Matthew Barth6923a3f2021-08-05 10:11:16 -050054 }
55 },
56 {
57 "name": "fan2",
58 "path": "/system/chassis/motherboard/fan2",
59 "methods": [
60 {
61 "type": "gpio",
62 "key": 13,
63 "physpath": "/sys/bus/i2c/devices/30-0061",
64 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
65 },
66 {
67 "type": "tach",
68 "sensors": [
69 "fan2_0",
70 "fan2_1"
71 ]
72 }
73 ],
74 "rpolicy": {
75 "type": "anyof"
Matt Spinlerbc4179e2022-10-04 15:15:06 -050076 },
77 "eeprom": {
78 "bus_address": "33-0050",
79 "driver_name": "at24",
80 "bind_delay_ms": 1000
Matthew Barth6923a3f2021-08-05 10:11:16 -050081 }
82 },
83 {
84 "name": "fan3",
85 "path": "/system/chassis/motherboard/fan3",
86 "methods": [
87 {
88 "type": "gpio",
89 "key": 12,
90 "physpath": "/sys/bus/i2c/devices/30-0061",
91 "devpath": "/dev/input/by-path/platform-gpio-keys-polled-event"
92 },
93 {
94 "type": "tach",
95 "sensors": [
96 "fan3_0",
97 "fan3_1"
98 ]
99 }
100 ],
101 "rpolicy": {
102 "type": "anyof"
Matt Spinlerbc4179e2022-10-04 15:15:06 -0500103 },
104 "eeprom": {
105 "bus_address": "34-0050",
106 "driver_name": "at24",
107 "bind_delay_ms": 1000
Matthew Barth6923a3f2021-08-05 10:11:16 -0500108 }
109 }
110]