summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-02-22 21:16:54 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-02-24 16:51:28 +0000
commit5063b65486964912510085b3e8d9da395dd2b42d (patch)
tree9539e87b1c507b7df88c67607463fc0439cdb9f9 /meta-openbmc-machines/meta-openpower
parent3217b271500e887b01241da3f4f43f27b9c6ac5d (diff)
downloadtalos-openbmc-5063b65486964912510085b3e8d9da395dd2b42d.tar.gz
talos-openbmc-5063b65486964912510085b3e8d9da395dd2b42d.zip
Add phosphor-hwmon config for Barreleye
Change-Id: I038e8fac517f76a82e516dac4bc53fe59666d30c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower')
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%.bbappend15
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/nct7904@2d.conf20
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/nct7904@2e.conf20
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@40/lm75@4a.conf1
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@40/rtc@68.conf1
5 files changed, 57 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%.bbappend b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%.bbappend
new file mode 100644
index 000000000..46972bd4b
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%.bbappend
@@ -0,0 +1,15 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+CHIPS = " \
+ i2c@1e78a000/i2c-bus@40/lm75@4a \
+ i2c@1e78a000/i2c-bus@40/rtc@68 \
+ i2c@1e78a000/i2c-bus@1c0/nct7904@2e \
+ i2c@1e78a000/i2c-bus@1c0/nct7904@2d \
+ "
+
+ITEMSFMT = "ahb/apb/{0}.conf"
+
+ITEMS = "${@compose_list(d, 'ITEMSFMT', 'CHIPS')}"
+
+ENVS = "obmc/hwmon/{0}"
+SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ITEMS')}"
diff --git a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/nct7904@2d.conf b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/nct7904@2d.conf
new file mode 100644
index 000000000..eae24018b
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/nct7904@2d.conf
@@ -0,0 +1,20 @@
+LABEL_fan1=fan5L
+LABEL_fan2=fan5H
+LABEL_fan3=fan4L
+LABEL_fan4=fan4H
+LABEL_fan5=fan3L
+LABEL_fan6=fan3H
+LABEL_in1=p1v35_cpu0_buf4
+LABEL_in2=p0v9_cpu0_buf1
+LABEL_in3=p0v9_cpu0_buf2
+LABEL_in4=p0v9_cpu0_buf3
+LABEL_in5=p0v9_cpu0_buf4
+LABEL_in6=p1v09_cpu0_buf1
+LABEL_in7=p1v09_cpu0_buf2
+LABEL_in8=p1v09_cpu0_buf3
+LABEL_in9=p1v09_cpu0_buf4
+LABEL_in10=p0v97_cpu0
+LABEL_in11=p1v1_mem0
+LABEL_in12=p1v35_cpu0_buf1
+LABEL_in13=p1v35_cpu0_buf2
+LABEL_in14=p1v35_cpu0_buf3
diff --git a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/nct7904@2e.conf b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/nct7904@2e.conf
new file mode 100644
index 000000000..394cf21bd
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@1c0/nct7904@2e.conf
@@ -0,0 +1,20 @@
+LABEL_fan1=fan2L
+LABEL_fan2=fan2H
+LABEL_fan3=fan1L
+LABEL_fan4=fan1H
+LABEL_fan5=fan0L
+LABEL_fan6=fan0H
+LABEL_in1=p1v35_cpu1_buf4
+LABEL_in2=p0v9_cpu1_buf1
+LABEL_in3=p0v9_cpu1_buf2
+LABEL_in4=p0v9_cpu1_buf3
+LABEL_in5=p0v9_cpu1_buf4
+LABEL_in6=p1v09_cpu1_buf1
+LABEL_in7=p1v09_cpu1_buf2
+LABEL_in8=p1v09_cpu1_buf3
+LABEL_in9=p1v09_cpu1_buf4
+LABEL_in10=p0v97_cpu1
+LABEL_in11=p1v1_mem1
+LABEL_in12=p1v35_cpu1_buf1
+LABEL_in13=p1v35_cpu1_buf2
+LABEL_in14=p1v35_cpu1_buf3
diff --git a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@40/lm75@4a.conf b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@40/lm75@4a.conf
new file mode 100644
index 000000000..a9c9ab8ae
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@40/lm75@4a.conf
@@ -0,0 +1 @@
+LABEL_temp1=ambient
diff --git a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@40/rtc@68.conf b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@40/rtc@68.conf
new file mode 100644
index 000000000..6a9442c17
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@40/rtc@68.conf
@@ -0,0 +1 @@
+LABEL_temp1=rtc
OpenPOWER on IntegriCloud