Initial commit
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
LABEL_temp1 = "outlet"
|
||||
WARNHI_temp1 = "60000"
|
||||
WARNLO_temp1 = "0"
|
||||
CRITHI_temp1 = "70000"
|
||||
CRITLO_temp1 = "0"
|
||||
|
||||
LABEL_temp2 = "inlet_cpu"
|
||||
WARNHI_temp2 = "60000"
|
||||
WARNLO_temp2 = "0"
|
||||
CRITHI_temp2 = "70000"
|
||||
CRITLO_temp2 = "0"
|
||||
|
||||
LABEL_temp3 = "inlet_io"
|
||||
WARNHI_temp3 = "60000"
|
||||
WARNLO_temp3 = "0"
|
||||
CRITHI_temp3 = "70000"
|
||||
CRITLO_temp3 = "0"
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
# Romulus has 7 fan ports but only 3 are used
|
||||
LABEL_fan9 = "fan0"
|
||||
LABEL_fan11 = "fan1"
|
||||
LABEL_fan13 = "fan2"
|
||||
|
||||
PWM_TARGET_fan9 = "1"
|
||||
PWM_TARGET_fan11 = "2"
|
||||
PWM_TARGET_fan13 = "1"
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
MODE_temp1 = "label"
|
||||
MODE_temp2 = "label"
|
||||
MODE_temp3 = "label"
|
||||
MODE_temp4 = "label"
|
||||
MODE_temp5 = "label"
|
||||
MODE_temp6 = "label"
|
||||
MODE_temp7 = "label"
|
||||
MODE_temp8 = "label"
|
||||
MODE_temp9 = "label"
|
||||
MODE_temp10 = "label"
|
||||
MODE_temp11 = "label"
|
||||
MODE_temp12 = "label"
|
||||
MODE_temp13 = "label"
|
||||
MODE_temp14 = "label"
|
||||
MODE_temp15 = "label"
|
||||
MODE_temp16 = "label"
|
||||
MODE_temp17 = "label"
|
||||
MODE_temp18 = "label"
|
||||
MODE_temp19 = "label"
|
||||
MODE_temp20 = "label"
|
||||
MODE_temp21 = "label"
|
||||
MODE_temp22 = "label"
|
||||
MODE_temp23 = "label"
|
||||
MODE_temp24 = "label"
|
||||
MODE_temp25 = "label"
|
||||
MODE_temp26 = "label"
|
||||
MODE_temp27 = "label"
|
||||
MODE_temp28 = "label"
|
||||
MODE_temp29 = "label"
|
||||
MODE_temp30 = "label"
|
||||
MODE_temp31 = "label"
|
||||
MODE_temp32 = "label"
|
||||
LABEL_temp91 = "p0_core0_temp"
|
||||
LABEL_temp92 = "p0_core1_temp"
|
||||
LABEL_temp93 = "p0_core2_temp"
|
||||
LABEL_temp94 = "p0_core3_temp"
|
||||
LABEL_temp95 = "p0_core4_temp"
|
||||
LABEL_temp96 = "p0_core5_temp"
|
||||
LABEL_temp97 = "p0_core6_temp"
|
||||
LABEL_temp98 = "p0_core7_temp"
|
||||
LABEL_temp99 = "p0_core8_temp"
|
||||
LABEL_temp100 = "p0_core9_temp"
|
||||
LABEL_temp101 = "p0_core10_temp"
|
||||
LABEL_temp102 = "p0_core11_temp"
|
||||
LABEL_temp103 = "p0_core12_temp"
|
||||
LABEL_temp104 = "p0_core13_temp"
|
||||
LABEL_temp105 = "p0_core14_temp"
|
||||
LABEL_temp106 = "p0_core15_temp"
|
||||
LABEL_temp107 = "p0_core16_temp"
|
||||
LABEL_temp108 = "p0_core17_temp"
|
||||
LABEL_temp109 = "p0_core18_temp"
|
||||
LABEL_temp110 = "p0_core19_temp"
|
||||
LABEL_temp111 = "p0_core20_temp"
|
||||
LABEL_temp112 = "p0_core21_temp"
|
||||
LABEL_temp113 = "p0_core22_temp"
|
||||
LABEL_temp114 = "p0_core23_temp"
|
||||
LABEL_temp27 = "dimm0_temp"
|
||||
LABEL_temp28 = "dimm1_temp"
|
||||
LABEL_temp29 = "dimm2_temp"
|
||||
LABEL_temp30 = "dimm3_temp"
|
||||
LABEL_temp31 = "dimm4_temp"
|
||||
LABEL_temp32 = "dimm5_temp"
|
||||
LABEL_temp33 = "dimm6_temp"
|
||||
LABEL_temp34 = "dimm7_temp"
|
||||
LABEL_power2 = "p0_power"
|
||||
LABEL_power3 = "p0_vdd_power"
|
||||
LABEL_power4 = "p0_vdn_power"
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
MODE_temp1 = "label"
|
||||
MODE_temp2 = "label"
|
||||
MODE_temp3 = "label"
|
||||
MODE_temp4 = "label"
|
||||
MODE_temp5 = "label"
|
||||
MODE_temp6 = "label"
|
||||
MODE_temp7 = "label"
|
||||
MODE_temp8 = "label"
|
||||
MODE_temp9 = "label"
|
||||
MODE_temp10 = "label"
|
||||
MODE_temp11 = "label"
|
||||
MODE_temp12 = "label"
|
||||
MODE_temp13 = "label"
|
||||
MODE_temp14 = "label"
|
||||
MODE_temp15 = "label"
|
||||
MODE_temp16 = "label"
|
||||
MODE_temp17 = "label"
|
||||
MODE_temp18 = "label"
|
||||
MODE_temp19 = "label"
|
||||
MODE_temp20 = "label"
|
||||
MODE_temp21 = "label"
|
||||
MODE_temp22 = "label"
|
||||
MODE_temp23 = "label"
|
||||
MODE_temp24 = "label"
|
||||
MODE_temp25 = "label"
|
||||
MODE_temp26 = "label"
|
||||
MODE_temp27 = "label"
|
||||
MODE_temp28 = "label"
|
||||
MODE_temp29 = "label"
|
||||
MODE_temp30 = "label"
|
||||
MODE_temp31 = "label"
|
||||
MODE_temp32 = "label"
|
||||
LABEL_temp115 = "p1_core0_temp"
|
||||
LABEL_temp116 = "p1_core1_temp"
|
||||
LABEL_temp117 = "p1_core2_temp"
|
||||
LABEL_temp118 = "p1_core3_temp"
|
||||
LABEL_temp119 = "p1_core4_temp"
|
||||
LABEL_temp120 = "p1_core5_temp"
|
||||
LABEL_temp121 = "p1_core6_temp"
|
||||
LABEL_temp122 = "p1_core7_temp"
|
||||
LABEL_temp123 = "p1_core8_temp"
|
||||
LABEL_temp124 = "p1_core9_temp"
|
||||
LABEL_temp125 = "p1_core10_temp"
|
||||
LABEL_temp126 = "p1_core11_temp"
|
||||
LABEL_temp127 = "p1_core12_temp"
|
||||
LABEL_temp128 = "p1_core13_temp"
|
||||
LABEL_temp129 = "p1_core14_temp"
|
||||
LABEL_temp130 = "p1_core15_temp"
|
||||
LABEL_temp131 = "p1_core16_temp"
|
||||
LABEL_temp132 = "p1_core17_temp"
|
||||
LABEL_temp133 = "p1_core18_temp"
|
||||
LABEL_temp134 = "p1_core19_temp"
|
||||
LABEL_temp135 = "p1_core20_temp"
|
||||
LABEL_temp136 = "p1_core21_temp"
|
||||
LABEL_temp137 = "p1_core22_temp"
|
||||
LABEL_temp138 = "p1_core23_temp"
|
||||
LABEL_temp35 = "dimm8_temp"
|
||||
LABEL_temp36 = "dimm9_temp"
|
||||
LABEL_temp37 = "dimm10_temp"
|
||||
LABEL_temp38 = "dimm11_temp"
|
||||
LABEL_temp39 = "dimm12_temp"
|
||||
LABEL_temp40 = "dimm13_temp"
|
||||
LABEL_temp41 = "dimm14_temp"
|
||||
LABEL_temp42 = "dimm15_temp"
|
||||
LABEL_power2 = "p1_power"
|
||||
LABEL_power3 = "p1_vdd_power"
|
||||
LABEL_power4 = "p1_vdn_power"
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
LABEL_in1=vbat
|
||||
GAIN_in1=2.25
|
||||
|
||||
# GPIOR3 needs to be pulled high for battery voltage reading
|
||||
GPIOCHIP_in1=0
|
||||
GPIO_in1=139
|
||||
|
||||
# Read it every day so it does not impact battery life
|
||||
INTERVAL=86400000000
|
||||
@@ -0,0 +1,25 @@
|
||||
FILESEXTRAPATHS:prepend:romulus := "${THISDIR}/${PN}:"
|
||||
|
||||
EXTRA_OEMESON:append:romulus = " -Dnegative-errno-on-fail=true"
|
||||
|
||||
CHIPS = " \
|
||||
bus@1e78a000/i2c-bus@440/w83773g@4c \
|
||||
pwm-tacho-controller@1e786000 \
|
||||
"
|
||||
ITEMSFMT = "ahb/apb/{0}.conf"
|
||||
|
||||
ITEMS = "${@compose_list(d, 'ITEMSFMT', 'CHIPS')}"
|
||||
|
||||
ITEMS += "iio-hwmon-battery.conf"
|
||||
|
||||
OCCS = " \
|
||||
00--00--00--06/sbefifo1-dev0/occ-hwmon.1 \
|
||||
00--00--00--0a/fsi1/slave@01--00/01--01--00--06/sbefifo2-dev0/occ-hwmon.2 \
|
||||
"
|
||||
|
||||
OCCSFMT = "devices/platform/gpio-fsi/fsi0/slave@00--00/{0}.conf"
|
||||
OCCITEMS = "${@compose_list(d, 'OCCSFMT', 'OCCS')}"
|
||||
|
||||
ENVS = "obmc/hwmon/{0}"
|
||||
SYSTEMD_ENVIRONMENT_FILE:${PN}:append:romulus = " ${@compose_list(d, 'ENVS', 'ITEMS')}"
|
||||
SYSTEMD_ENVIRONMENT_FILE:${PN}:append:romulus = " ${@compose_list(d, 'ENVS', 'OCCITEMS')}"
|
||||
Reference in New Issue
Block a user