diff options
author | Yuan Yao <yao.yuan@hxt-semitech.com> | 2018-12-07 13:11:09 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2019-03-12 16:13:58 +0300 |
commit | 4ba01a1378ed66f2460f31d50c515d4a3070455a (patch) | |
tree | c3c6dc909deece18d925d3dfbe27e907b1383765 /meta-hxt/meta-stardragon4800-rep2/recipes-phosphor | |
parent | 88e7a15a69c32ee7d040216c585291670f3b98b4 (diff) | |
download | openbmc-4ba01a1378ed66f2460f31d50c515d4a3070455a.tar.xz |
meta-hxt: add some sensors support for rep2
HXT stardragon4800 is an ARMv8-compatible 48-core processor chip.
The REP2 is a reference design board for stardragon4800.
BMC will handle the sensors,devices by I2C,SPI, include:
IR38163, PXM1310, NVT210, TMP421, ADM1278, PCA9641 and so on.
(From meta-hxt rev: 7f93ff421703876e060efd1f25d6dec5c899ed05)
Change-Id: Ida87db042c52d7b3dc365525eec0dfebc9d19041
Signed-off-by: Yuan Yao <yao.yuan@hxt-semitech.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-hxt/meta-stardragon4800-rep2/recipes-phosphor')
26 files changed, 412 insertions, 0 deletions
diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir38163@12.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir38163@12.conf new file mode 100644 index 000000000..e968f08e7 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir38163@12.conf @@ -0,0 +1,7 @@ +LABEL_temp1=SYS_SOC_TEMP_L +CRITLO_temp1=0 +CRITHI_temp1=100000 + +LABEL_temp2=SYS_SOC_TEMP_R +CRITLO_temp2=0 +CRITHI_temp2=100000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir38163@42.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir38163@42.conf new file mode 100644 index 000000000..a1ba06196 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir38163@42.conf @@ -0,0 +1,5 @@ +LABEL_in1=VREG_5P0 +WARNLO_in1=4758 +WARNHI_in1=5258 +CRITLO_in1=4507 +CRITHI_in1=5509 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir38163@44.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir38163@44.conf new file mode 100644 index 000000000..8edf80c69 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir38163@44.conf @@ -0,0 +1,5 @@ +LABEL_in1=VREG_3P3 +WARNLO_in1=3130 +WARNHI_in1=3474 +CRITLO_in1=2974 +CRITHI_in1=3631 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir38163@46.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir38163@46.conf new file mode 100644 index 000000000..b083035d3 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir38163@46.conf @@ -0,0 +1,5 @@ +LABEL_in1=VREG_3P3_AUX +WARNLO_in1=3130 +WARNHI_in1=3474 +CRITLO_in1=2974 +CRITHI_in1=3631 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir38163@48.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir38163@48.conf new file mode 100644 index 000000000..fc0896b0f --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/ir38163@48.conf @@ -0,0 +1,5 @@ +LABEL_in1=VREG_5P0_USB +WARNLO_in1=4758 +WARNHI_in1=5258 +CRITLO_in1=4507 +CRITHI_in1=5509 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/pxm1310@02.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/pxm1310@02.conf new file mode 100644 index 000000000..91a38eec8 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/pxm1310@02.conf @@ -0,0 +1,5 @@ +LABEL_in1=PVDDQ_510 +WARNLO_in1=1144 +WARNHI_in1=1264 +CRITLO_in1=1080 +CRITHI_in1=1320 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/pxm1310@04.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/pxm1310@04.conf new file mode 100644 index 000000000..d86a58890 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@180/pxm1310@04.conf @@ -0,0 +1,5 @@ +LABEL_in1=PVDDQ_423 +WARNLO_in1=1144 +WARNHI_in1=1264 +CRITLO_in1=1080 +CRITHI_in1=1320 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/nvt210@4c.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/nvt210@4c.conf new file mode 100644 index 000000000..e968f08e7 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/nvt210@4c.conf @@ -0,0 +1,7 @@ +LABEL_temp1=SYS_SOC_TEMP_L +CRITLO_temp1=0 +CRITHI_temp1=100000 + +LABEL_temp2=SYS_SOC_TEMP_R +CRITLO_temp2=0 +CRITHI_temp2=100000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/tmp421@1d.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/tmp421@1d.conf new file mode 100644 index 000000000..6a0bab548 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/tmp421@1d.conf @@ -0,0 +1,7 @@ +LABEL_temp1=SYS_INLET_0_L +CRITLO_temp1=0 +CRITHI_temp1=50000 + +LABEL_temp2=SYS_INLET_0_R +CRITLO_temp2=0 +CRITHI_temp2=50000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/tmp421@1f.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/tmp421@1f.conf new file mode 100644 index 000000000..b85648222 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/tmp421@1f.conf @@ -0,0 +1,3 @@ +LABEL_temp1=SYS_INLET_1 +CRITLO_temp1=0 +CRITHI_temp1=50000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/tmp421@4d.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/tmp421@4d.conf new file mode 100644 index 000000000..2ed024e34 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/tmp421@4d.conf @@ -0,0 +1,3 @@ +LABEL_temp1=SYS_INLET_2 +CRITLO_temp1=0 +CRITHI_temp1=50000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/tmp421@4f.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/tmp421@4f.conf new file mode 100644 index 000000000..ee3b5d5e5 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/tmp421@4f.conf @@ -0,0 +1,3 @@ +LABEL_temp1=SYS_INLET_3 +CRITLO_temp1=0 +CRITHI_temp1=50000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@300/adm1278@10.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@300/adm1278@10.conf new file mode 100644 index 000000000..2805cadb2 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@300/adm1278@10.conf @@ -0,0 +1,27 @@ +LABEL_in1=HSC_AUX_VIN +WARNLO_in1=11431 +WARNHI_in1=12567 +CRITLO_in1=10792 +CRITHI_in1=13206 + +LABEL_in2=HSC_AUX_VOUT +WARNLO_in2=11431 +WARNHI_in2=12567 +CRITLO_in2=10792 +CRITHI_in2=13206 + +LABEL_curr1=HSC_AUX_IOUT +WARNLO_curr1=0 +WARNHI_curr1=50058 +CRITLO_curr1=0 +CRITHI_curr1=60021 + +LABEL_power1=HSC_AUX_PIN +WARNLO_power1=0 +WARNHI_power1=601520 +CRITLO_power1=0 +CRITHI_power1=721240 + +LABEL_temp1=HSC_AUX_TEMP +CRITLO_temp1=0 +CRITHI_temp1=105000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@300/adm1278@11.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@300/adm1278@11.conf new file mode 100644 index 000000000..3c4ebbae6 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@300/adm1278@11.conf @@ -0,0 +1,27 @@ +LABEL_in1=HSC_HDD_VIN +WARNLO_in1=11431 +WARNHI_in1=12567 +CRITLO_in1=10792 +CRITHI_in1=13206 + +LABEL_in2=HSC_HDD_VOUT +WARNLO_in2=11431 +WARNHI_in2=12567 +CRITLO_in2=10792 +CRITHI_in2=13206 + +LABEL_curr1=HSC_HDD_IOUT +WARNLO_curr1=0 +WARNHI_curr1=11993 +CRITLO_curr1=0 +CRITHI_curr1=15008 + +LABEL_power1=HSC_HDD_PIN +WARNLO_power1=0 +WARNHI_power1=143200 +CRITLO_power1=0 +CRITHI_power1=179200 + +LABEL_temp1=HSC_HDD_TEMP +CRITLO_temp1=0 +CRITHI_temp1=60000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/adm1278@12.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/adm1278@12.conf new file mode 100644 index 000000000..01b32101d --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/adm1278@12.conf @@ -0,0 +1,27 @@ +LABEL_in1=HSC_FAN_VIN +WARNLO_in1=11431 +WARNHI_in1=12567 +CRITLO_in1=10792 +CRITHI_in1=13206 + +LABEL_in2=HSC_FAN_VOUT +WARNLO_in2=11431 +WARNHI_in2=12567 +CRITLO_in2=10792 +CRITHI_in2=13206 + +LABEL_curr1=HSC_FAN_IOUT +WARNLO_curr1=0 +WARNHI_curr1=24948 +CRITLO_curr1=0 +CRITHI_curr1=29988 + +LABEL_power1=HSC_FAN_PIN +WARNLO_power1=0 +WARNHI_power1=298980 +CRITLO_power1=0 +CRITHI_power1=359380 + +LABEL_temp1=HSC_FAN_TEMP +CRITLO_temp1=0 +CRITHI_temp1=105000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/ds1100@58.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/ds1100@58.conf new file mode 100644 index 000000000..5a6fe7ec3 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/ds1100@58.conf @@ -0,0 +1,17 @@ +LABEL_fan1=PSU_FAN +CRITLO_fan1=535 +CRITHI_fan1=13054 + +LABEL_temp3=PSU_TEMP_AMB +CRITLO_temp3=0 +CRITHI_temp3=50000 + +LABEL_temp1=PSU_TEMP_HS +CRITLO_temp1=0 +CRITHI_temp1=100000 + +LABEL_in1=PSU_VIN +WARNLO_in1=96000 +WARNHI_in1=0 +CRITLO_in1=0 +CRITHI_in1=253000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/max31790@20.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/max31790@20.conf new file mode 100644 index 000000000..1e21d96d6 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/max31790@20.conf @@ -0,0 +1,47 @@ +LABEL_fan1=SYS_FAN_1_F +CRITLO_fan1=535 +CRITHI_fan1=26964 +GAIN_fan1=0.85 +OFFSET_fan1=0 + +LABEL_fan2=SYS_FAN_1_R +CRITLO_fan2=535 +CRITHI_fan2=26964 +GAIN_fan2=0.8 +OFFSET_fan2=0 + +LABEL_fan8=SYS_FAN_2_F +CRITLO_fan8=535 +CRITHI_fan8=26964 +GAIN_fan8=0.85 +OFFSET_fan8=0 + +LABEL_fan3=SYS_FAN_2_R +CRITLO_fan3=535 +CRITHI_fan3=26964 +GAIN_fan3=0.8 +OFFSET_fan3=0 + +LABEL_fan4=SYS_FAN_3_F +CRITLO_fan4=535 +CRITHI_fan4=26964 +GAIN_fan4=0.85 +OFFSET_fan4=0 + +LABEL_fan5=SYS_FAN_3_R +CRITLO_fan5=535 +CRITHI_fan5=26964 +GAIN_fan5=0.8 +OFFSET_fan5=0 + +LABEL_fan11=SYS_FAN_4_F +CRITLO_fan11=535 +CRITHI_fan11=26964 +GAIN_fan11=0.85 +OFFSET_fan11=0 + +LABEL_fan6=SYS_FAN_4_R +CRITLO_fan6=535 +CRITHI_fan6=26964 +GAIN_fan6=0.8 +OFFSET_fan6=0 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/max31790@23.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/max31790@23.conf new file mode 100644 index 000000000..20dad4b44 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/max31790@23.conf @@ -0,0 +1,47 @@ +LABEL_fan1=SYS_FAN_5_F +CRITLO_fan1=535 +CRITHI_fan1=26964 +GAIN_fan1=0.85 +OFFSET_fan1=0 + +LABEL_fan2=SYS_FAN_5_R +CRITLO_fan2=535 +CRITHI_fan2=26964 +GAIN_fan2=0.8 +OFFSET_fan2=0 + +LABEL_fan8=SYS_FAN_6_F +CRITLO_fan8=535 +CRITHI_fan8=26964 +GAIN_fan8=0.85 +OFFSET_fan8=0 + +LABEL_fan3=SYS_FAN_6_R +CRITLO_fan3=535 +CRITHI_fan3=26964 +GAIN_fan3=0.8 +OFFSET_fan3=0 + +LABEL_fan4=SYS_FAN_7_F +CRITLO_fan4=535 +CRITHI_fan4=26964 +GAIN_fan4=0.85 +OFFSET_fan4=0 + +LABEL_fan5=SYS_FAN_7_R +CRITLO_fan5=535 +CRITHI_fan5=26964 +GAIN_fan5=0.8 +OFFSET_fan5=0 + +LABEL_fan11=SYS_FAN_8_F +CRITLO_fan11=535 +CRITHI_fan11=26964 +GAIN_fan11=0.85 +OFFSET_fan11=0 + +LABEL_fan6=SYS_FAN_8_R +CRITLO_fan6=535 +CRITHI_fan6=26964 +GAIN_fan6=0.8 +OFFSET_fan6=0 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/tmp421@1d.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/tmp421@1d.conf new file mode 100644 index 000000000..1c85be91a --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/tmp421@1d.conf @@ -0,0 +1,7 @@ +LABEL_temp1=FAN_BD_TEMP_L +CRITLO_temp1=0 +CRITHI_temp1=60000 + +LABEL_temp2=FAN_BD_TEMP_R +CRITLO_temp2=0 +CRITHI_temp2=60000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@80/tmp421@1c.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@80/tmp421@1c.conf new file mode 100644 index 000000000..a7e74da32 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@80/tmp421@1c.conf @@ -0,0 +1,3 @@ +LABEL_temp1=SYS_OUTLET_3 +CRITLO_temp1=0 +CRITHI_temp1=100000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@80/tmp421@1e.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@80/tmp421@1e.conf new file mode 100644 index 000000000..0bb21b236 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@80/tmp421@1e.conf @@ -0,0 +1,7 @@ +LABEL_temp1=SYS_OUTLET_0_L +CRITLO_temp1=0 +CRITHI_temp1=100000 + +LABEL_temp2=SYS_OUTLET_0_R +CRITLO_temp2=0 +CRITHI_temp2=100000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@80/tmp421@2a.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@80/tmp421@2a.conf new file mode 100644 index 000000000..f794c0e7b --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@80/tmp421@2a.conf @@ -0,0 +1,3 @@ +LABEL_temp1=SYS_OUTLET_1 +CRITLO_temp1=0 +CRITHI_temp1=100000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@80/tmp421@4e.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@80/tmp421@4e.conf new file mode 100644 index 000000000..3834fc2dd --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@80/tmp421@4e.conf @@ -0,0 +1,3 @@ +LABEL_temp1=SYS_OUTLET_2 +CRITLO_temp1=0 +CRITHI_temp1=100000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/flash-controller@1e631000/spi2@0.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/flash-controller@1e631000/spi2@0.conf new file mode 100644 index 000000000..1311e52bb --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/flash-controller@1e631000/spi2@0.conf @@ -0,0 +1,73 @@ +LABEL_temp1=SOC_TEMP +CRITLO_temp1=0 +CRITHI_temp1=94000 + +LABEL_temp2=PMF2432_TEMP +CRITLO_temp2=0 +CRITHI_temp2=103000 + +LABEL_temp3=PMF2433_TEMP +CRITLO_temp3=0 +CRITHI_temp3=103000 + +LABEL_temp4=CVR_APC_TEMP +CRITLO_temp4=0 +CRITHI_temp4=103000 + +LABEL_temp5=CVR_CBF_TEMP +CRITLO_temp5=0 +CRITHI_temp5=103000 + +LABEL_temp6=DIMM_C0D0_TEMP +CRITLO_temp6=0 +CRITHI_temp6=83000 + +LABEL_temp7=DIMM_C0D1_TEMP +CRITLO_temp7=0 +CRITHI_temp7=83000 + +LABEL_temp8=DIMM_C1D0_TEMP +CRITLO_temp8=0 +CRITHI_temp8=83000 + +LABEL_temp9=DIMM_C1D1_TEMP +CRITLO_temp9=0 +CRITHI_temp9=83000 + +LABEL_temp10=DIMM_C2D0_TEMP +CRITLO_temp10=0 +CRITHI_temp10=83000 + +LABEL_temp11=DIMM_C2D1_TEMP +CRITLO_temp11=0 +CRITHI_temp11=83000 + +LABEL_temp12=DIMM_C3D0_TEMP +CRITLO_temp12=0 +CRITHI_temp12=83000 + +LABEL_temp13=DIMM_C3D1_TEMP +CRITLO_temp13=0 +CRITHI_temp13=83000 + +LABEL_temp14=DIMM_C4D0_TEMP +CRITLO_temp14=0 +CRITHI_temp14=83000 + +LABEL_temp15=DIMM_C4D1_TEMP +CRITLO_temp15=0 +CRITHI_temp15=83000 + +LABEL_temp16=DIMM_C5D0_TEMP +CRITLO_temp16=0 +CRITHI_temp16=83000 + +LABEL_temp17=DIMM_C5D1_TEMP +CRITLO_temp17=0 +CRITHI_temp17=83000 + +LABEL_power1=SOC_PWR +WARNLO_power1=0 +WARNHI_power1=120000 +CRITLO_power1=0 +CRITHI_power1=130000 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon.conf b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon.conf new file mode 100644 index 000000000..86d33962d --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon.conf @@ -0,0 +1,30 @@ +LABEL_in1=SYS_3V3 +GAIN_in1=2.40 +WARNLO_in1=3132 +WARNHI_in1=3463 +CRITLO_in1=2975 +CRITHI_in1=3637 +LABEL_in2=SYS_5V0 +GAIN_in2=3.86 +WARNLO_in2=4744 +WARNHI_in2=5253 +CRITLO_in2=4502 +CRITHI_in2=5494 +LABEL_in3=SYS_12V0 +GAIN_in3=8.82 +WARNLO_in3=11408 +WARNHI_in3=12586 +CRITLO_in3=10850 +CRITHI_in3=13206 +LABEL_in6=SYS_3V3_AUX +GAIN_in6=2.40 +WARNLO_in6=3132 +WARNHI_in6=3463 +CRITLO_in6=2975 +CRITHI_in6=3637 +LABEL_in8=SYS_3V0_Battery +GAIN_in8=1.66 +WARNLO_in8=2849 +WARNHI_in8=3460 +CRITLO_in8=2701 +CRITHI_in8=3629 diff --git a/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend new file mode 100644 index 000000000..5d89e8267 --- /dev/null +++ b/meta-hxt/meta-stardragon4800-rep2/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend @@ -0,0 +1,34 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +NAMES = " apb/i2c@1e78a000/i2c-bus@1c0/tmp421@1d \ + apb/i2c@1e78a000/i2c-bus@1c0/tmp421@1f \ + apb/i2c@1e78a000/i2c-bus@1c0/tmp421@4d \ + apb/i2c@1e78a000/i2c-bus@1c0/tmp421@4f \ + apb/i2c@1e78a000/i2c-bus@1c0/nvt210@4c \ + apb/i2c@1e78a000/i2c-bus@180/ir38163@42 \ + apb/i2c@1e78a000/i2c-bus@180/ir38163@44 \ + apb/i2c@1e78a000/i2c-bus@180/ir38163@46 \ + apb/i2c@1e78a000/i2c-bus@180/ir38163@48 \ + apb/i2c@1e78a000/i2c-bus@180/pxm1310@02 \ + apb/i2c@1e78a000/i2c-bus@180/pxm1310@04 \ + apb/i2c@1e78a000/i2c-bus@80/tmp421@1c \ + apb/i2c@1e78a000/i2c-bus@80/tmp421@1e \ + apb/i2c@1e78a000/i2c-bus@80/tmp421@2a \ + apb/i2c@1e78a000/i2c-bus@80/tmp421@4e \ + apb/i2c@1e78a000/i2c-bus@300/adm1278@10 \ + apb/i2c@1e78a000/i2c-bus@300/adm1278@11 \ + apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/adm1278@12 \ + apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/max31790@20 \ + apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/max31790@23 \ + apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/tmp421@1d \ + apb/i2c@1e78a000/i2c-bus@340/pca9641@70/i2c-arb/ds1100@58 \ + flash-controller@1e631000/spi2@0 \ +" + +ITEMSFMT = "ahb/{0}.conf" + +ITEMS = "${@compose_list(d, 'ITEMSFMT', 'NAMES')}" +ITEMS += "iio-hwmon.conf" + +ENVS = "obmc/hwmon/{0}" +SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ITEMS')}" |