summaryrefslogtreecommitdiffstats
path: root/configs
Commit message (Collapse)AuthorAgeFilesLines
* Add missing fan FRU entries to Talos configuration fileRaptor Engineering Development Team2019-04-191-0/+3
|
* Adjust for Talos™ IIRaptor Engineering Development Team2019-04-199-2201/+1
|
* configs: Remove PowerSupplyDeratingSensorAdriana Kobylak2018-08-221-1/+0
| | | | | | | | | | | | The PowerSupplyDerating Sensor is being added to the ipmi sensor.yaml file since the /org/openbmc/sensors path is being deprecated. Remove this sensor from the config. Tested: Powered on a Witherspoon to the Host OS without sensor errors. Change-Id: I08ca374b131c1ca62f632f4a5ae1475b7090bcfe Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* configs: Remove PowerSupplyRedundancySensorAdriana Kobylak2018-08-221-1/+0
| | | | | | | | | | | | The PowerSupplyRedundancy Sensor is being added to the ipmi sensor.yaml file since the /org/openbmc/sensors path is being deprecated. Remove this sensor from the config. Tested: Powered on a Witherspoon to the Host OS without sensor errors. Change-Id: I4f5bfc4c754d8b1a9e3ebbf7e71106563fbcf3d0 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* configs: Remove TurboAllowedSensorAdriana Kobylak2018-08-221-1/+0
| | | | | | | | | | | | The TurboAllowed sensor is already mapped to /xyz/openbmc_project/control/host0/turbo_allowed (Reference: the phosphor-ipmi-sensor-inventory-mrw-config/config.yaml file). Remove it from the deprecated /org/openbmc/sensors path. Tested: Powered on a Witherspoon to the Host OS without errors. Change-Id: I3232f66e338f986a21df8aae5401c97b565cbdd6 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* configs: Remove BootCountSensorAdriana Kobylak2018-08-228-8/+0
| | | | | | | | | | | | | | | | The BootCountSensor has moved from the /org/openbmc/sensors path to /xyz/openbmc_project/state/host0. Remove it as it's deprecated. Tested: Verified that the "AttemptsLeft" host property where the BootSensor value now resides had the default value of 3 and was decremented when the Host didn't boot. Then on a successful boot this value was set back to 3. As a confirmation note that the BootCount sensor was no longer used, it never changed values. Change-Id: I4627c73774c42bec0046eb4d229a001cef32291b Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* configs: Remove the OperatingSystemStatus sensorAdriana Kobylak2018-08-228-8/+0
| | | | | | | | | | | The Operating System Status sensor has moved from /org/openbmc/sensors to /xyz/openbmc_project/state/host0. Remove the sensor from the org path. Tested: Powered on a witherspoon to the Host OS. Change-Id: I02d50d0a38485833fd73579c5aec41fd157141d0 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* configs: Remove BootProgressSensorAdriana Kobylak2018-08-228-8/+0
| | | | | | | | | | | | | | | | The boot progress sensor has moved from the /org/openbmc/sensors path to /xyz/openbmc_project/state/host0. (Reference: the phosphor-ipmi-sensor-inventory%/config.yaml files under the openbmc/openbmc repository). Remove the deprecated sensor from the configs. Tested: Verified Witherspoon powered on to the Host OS and that the BootProgress property in the state manager path got updated to xyz.openbmc_project.State.Boot.Progress.ProgressStages.OSStart. Change-Id: Ibe1393899135c7877d731afe27689ca707068a21 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Remove the GPIOs from S2600wf.pyMatt Spinler2018-08-141-32/+0
| | | | | | | They are now obtained from a JSON file. Change-Id: If579b73b5affbdce14e4fd59547aca6104c310d6 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Remove the GPIOs from Romulus.pyMatt Spinler2018-08-141-60/+0
| | | | | | | They are now obtained from a JSON file. Change-Id: I976368b923945719aecaf632168bedba5664921d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Remove the GPIOs from Palmetto.pyMatt Spinler2018-08-141-48/+0
| | | | | | | They are now obtained from a JSON file. Change-Id: Id8ab8c33c6d6f83f2e1dcb865c9479b35b7e0ef9 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Remove the GPIOs from Lanyang.pyMatt Spinler2018-08-141-51/+0
| | | | | | | They are now obtained from a JSON file. Change-Id: I37ef1b6a4bb39a9f06bb29e15083a8d94b2f1eda Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Remove the GPIOs from Zaius.pyMatt Spinler2018-08-141-53/+0
| | | | | | | They are now obtained from a JSON file. Change-Id: Ia0dc47b0472cc39d1301bdb0ab9178139cc066ff Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Remove the GPIOs from Witherspoon.pyMatt Spinler2018-08-141-69/+0
| | | | | | | They are now obtained from a JSON file. Change-Id: I8ca4ac94e2907fadc9a444e42b20df576bd1e95b Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Rename board configuration fileJames Feist2017-12-121-0/+0
| | | | | | | The device tree file is s2600wf.dts, update to match. Change-Id: Iefcfefd8b6329aa9afb4b831882e2861a0f6a30a Signed-off-by: James Feist <james.feist@linux.intel.com>
* Updating PS redundancy object path.Dhruvaraj Subhashchandran2017-12-091-1/+1
| | | | | | | | | | | Changing the PS redundancy object path from /org/openbmc/sensors/host/PowerSupplyRedundancy to /xyz/openbmc_project/sensors/chassis/PowerSupplyRedundancy since All Witherspoon REST API URIs should being with xyz/openbmc_project or org/open_power Change-Id: Ic1360cef2b4939835d47b995a8542aee598bb939 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* Add initial Wfp config to be able to build platform.James Feist2017-11-281-0/+42
| | | | | | | Wfp is an Intel platform. Change-Id: I0991d404f6c5fb8d35d7b524caff0d194d75ee90 Signed-off-by: James Feist <james.feist@linux.intel.com>
* Remove pci_reset from Romulus configLei YU2017-11-231-2/+1
| | | | | | | | The pci_reset GPIOs are not connected on PASS2 Romulus. There is no need to toggle the GPIOs. Change-Id: I78afa4358e2540d72517d5f2ae953f0e6319db1e Signed-off-by: Lei YU <mine260309@gmail.com>
* Remove pci_reset from witherspoon configAndrew Geissler2017-09-121-5/+1
| | | | | | | | | | | This pci_reset config causes intermittent network drop issues on witherspoon. openbmc/openbmc#2288 tracks getting to root cause of this network issue. Resolves openbmc/openbmc#2228 Change-Id: I3275f9b231c125cea45e3fa0cd302469343bd654 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Correct the PS Derating & PS redundancy sensor numbers.Tom Joseph2017-09-011-4/+4
| | | | | Change-Id: I5db50fc156005aa901714e370cf75a4d5455d4cb Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* configs: Remove all HWMON_CONFIGs and sensorsBrad Bishop2017-07-068-714/+0
| | | | | | | | The xyz sensor namespace is fully functional. Remove legacy HWMON_CONFIGs and association sensor references. Change-Id: I71ce7627e72d23f3729690260103e925e4d11329 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Create Lanyang configKen Chen2017-05-021-0/+400
| | | | | Change-Id: Ie5ef0cfea6edf4242f9962be8a752b7a0f2c2ba7 Signed-off-by: Ken Chen <chen.kenyy@inventec.com>
* Fix Romulus power and reset buttonLei YU2017-04-061-2/+2
| | | | | | | | | | | | The POWER_BUTTON and RESET_BUTTON direction needs to be set to `both`, otherwise there is no interrupt generated and thus the buttons do not work. Change the direction to `both` fix the issue. Fixes openbmc/openbmc#1437 Change-Id: If586dd2e44aa2a8790f045d1e37f4d8f3ea210c8 Signed-off-by: Lei YU <mine260309@gmail.com>
* Add IPMI Sensor support for Power Supply Derating.Jayanth Othayoth2017-03-291-1/+3
| | | | | Change-Id: I099198a74fc84024eb24e84985df67f0738a0627 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Add IPMI sensor for Turbo Allowed.Jayanth Othayoth2017-03-281-0/+2
| | | | | Change-Id: I2b84147e4dae5bb0ef1ea4b58b80e3bd152f5389 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Added Power Supply Redundancy Sensor support for WitherspoonDhruvaraj S2017-03-271-0/+3
| | | | | Change-Id: Ie007597516d9da00b6bbe6be56084bf4ac790a19 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* Romulus.py: Fix some sensor numbersLei YU2017-03-091-82/+133
| | | | | | | | | | | Sync sensor numbers with hostboot. Note: * Some sensors are not avaialbe yet so commented; * OCC is not enabled yet so they are unchanged. Change-Id: I51373f73e5e399dbfe2c3fbdcd1abadd84b669d3 Signed-off-by: Lei YU <mine260309@gmail.com>
* configs: don't use old sysfs path for i2c devicesJoel Stanley2017-03-066-11/+11
| | | | | | | | | | | | | | | | | | | | | The Machine.py files in skeleton hard code the sysfs path to the devices. The hardcoded paths use the old i2c-adapter directory which is only around for old userspace. From the Kconfig help text: Say Y here if you intend to run lm-sensors 3.1.1 or older, or any other user-space package which expects i2c adapters to be class devices. If you don't know, say Y. Symbol: I2C_COMPAT [=y] Type : boolean Prompt: Enable compatibility bits for old user-space Instead use /sys/bus/i2c/devices. Fixes openbmc/openbmc#1252 Change-Id: Iaa9ef96e150084d9a605d5cab8053ddc910cfeaf Signed-off-by: Joel Stanley <joel@jms.id.au>
* Witherspoon.py: Fix some sensor numbersMatt Spinler2017-02-211-23/+24
| | | | | | | | Fixed a few sensor numbers to match reality. Didn't fix them all, as this is all being refactored anyway. Change-Id: Ic01fd7493aa77292401b1daf175019556b0431fc Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Zaius.py: Fix sensor numbersMatt Spinler2017-02-071-71/+119
| | | | | | | | | | | | | Change the sensor numbers to match what hostboot is using. The correct BootProgressSensor is required for the checkstop reboot monitor to work. This also involved adding some new inventory objects for the additional cores on P9 so that all cores can have their presence property correctly set on their corresponding inventory objects. Change-Id: I509b14abcf6bf28ffb5b3d96b342394e159f3090 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Define the checkstop GPIO for ZaiusMatt Spinler2017-02-071-1/+2
| | | | | | | Required so the BMC can detect a checkstop and reboot the host. Change-Id: I39dfc46b5173bd581b857851f41f388d2bd5ea79 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* zaius-config: Update GPIOs for EVT2Xo Wang2017-01-121-5/+1
| | | | | | | | | | | Remove unused (and now incorrect) FSI data and clock pins. Update reset pushbutton pin. Reset button will not work on the new pin as interrupts on GPIO port AA are pending a kernel fix. We're retiring EVT1 boards in favor of EVT2. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Ib34a7ff81d9ad3013d128c827e4e8b4e9e030946
* GPIO abstraction for power and host controlLei YU2017-01-127-91/+169
| | | | | | | | | | | | | | | | | | | | In libopenbmc_intf/power_gpio.c there are GPIO abstractions for power related GPIOs. Host control related GPIOs need to do the same abstraction. The changes include: 1. Add host control related GPIOs in gpio_configs and update system_manager.py 2. Update control_host_obj.c to use the abstracted GPIOs 3. Update GPIO_CONFIGS for all machines and add host control related GPIOs power_gpio will be renamed to gpio_configs in next commit; Resolves openbmc/openbmc#814 Change-Id: I7832065d495d7d64c5df2f5b177005b97e68900a Signed-off-by: Lei YU <mine260309@gmail.com>
* Remove host0 from BMC_STARTING dependencyMatt Spinler2016-12-153-3/+0
| | | | | | | | /org/openbmc/control/host0 doesn't exist on p9 systems Change-Id: I4d7ea3ab97ae58f258851e1accc1e46c28f0e80a Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* configs/Zaius: Add HWMON_CONFIG stub for UCD monitor, remove other devicesXo Wang2016-12-071-88/+4
| | | | | | | | | Add UCD I2C name to remove these warnings from the hwmon poller: "WARNING - hwmon: Unhandled hwmon: /sys/class/hwmon/hwmon0/" Remove other devices copied and pasted from another config. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Id964535f17c278d9b3d8a7a540394b2d751ee610
* Cleanup Witherspoon GPIO configureYi Li2016-12-011-43/+24
| | | | | | | | | | | * remove GPIO configures not used by any code * add SOFTWARE_PGOOD * add net-name as comments Partially resolves openbmc/openbmc#648 Change-Id: I61f317abde182acb52841aab5b628b122c2f5546 Signed-off-by: Yi Li <adamliyi@msn.com>
* op-pwrctl: Hold PCI resets until BootProgress passes BASE_INITIALIZATION stateYi Li2016-11-186-21/+35
| | | | | | | | | | | | When powering on host, hold PCI resets until hostboot passes stage "BASE_INITIALIZATION"(0x14). This fix applies to Firestone and Garrison. Partially resolves openbmc/openbmc#315 Change-Id: Ic71c81406ac188b34df89569e2264ea0b94406f3 Signed-off-by: Yi Li <adamliyi@msn.com>
* Fix GPIO and remove unused ones from Romulus.pyLei YU2016-11-161-34/+10
| | | | | | | | | | | | | | | 1. Remove unused GPIO configs; 2. Add comments of GPIO names in schematic for CRONUS_SEL, POWER_BUTTON, RESET_BUTTON; 3. Fix the GPIO configs for BMC_THROTTLE, IDBTN; The GPIO names are hard-coded for now and some of them conflict with P8. A future task will abstract the GPIO names so we can use names in schematic. Once the task is done, this file will be updated to use GPIO names in schematic. Change-Id: Id14b64c2546ae0538bb5a04c535f310f6933c97b Signed-off-by: Lei YU <mine260309@gmail.com>
* Add Romulus configJoel Stanley2016-10-311-0/+375
| | | | | | | | This is a dual socket Power9 OpenPower machine manufactured by IBM. Change-Id: I4e20f3c90880a08b5adb35775ee6e3ca6944814f Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Lei YU <mine260309@gmail.com>
* config: Zaius: Add FSI mux selector GPIOXo Wang2016-10-311-0/+2
| | | | | | | | Add CRONUS_SEL to Zaius.py so it can be driven high (selects the BMC for FSI). Signed-off-by: Xo Wang <xow@google.com> Change-Id: I13da51f63872e37ccc963967f3bfb8135c0a6b38
* Add hwmon0 config in Palmetto.py and Barreleye.pyLei YU2016-10-202-0/+10
| | | | | | | | | | | | Both Palmetto.py and Barreleye are missing hwmon0 in HWMON_CONFIG, which results in `Unhandled hwmon` warning log flood. Add hwmon0's config (i2c 0-0068 for RTC ds3231's temperature) to fix the issue. Resolves openbmc/openbmc#608 Change-Id: Ief6a13e2cec64fbc25348c715d81bf1e2f1f5564 Signed-off-by: Lei YU <mine260309@gmail.com>
* configs: Zaius: Fix GPIO for RESET_BUTTONXo Wang2016-10-121-1/+1
| | | | | | | Incorrectly set to ball name rather than GPIO designator. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Ibf246a4b7523c60e61386a9e5e95ab6de8255acd
* Add fanctl to skeletonYi Li2016-10-071-0/+12
| | | | | | | | | | | | | | | | | fanctl replaces pyfanctl. It provides fan control service with dbus object "/org/openbmc/control/fans". Currently there are two methods: setMax() to set all fans' speed to maximum, and updatePresent() to update the "Present" status of inventory objects: "/org/openbmc/inventory/system/chassis/fan*". In future, more methods will be added, like setting fan speed based on temperature sensor reading. Fixes openbmc/openbmc#93 Change-Id: Ic65089f5d0538cd5e17cfcd9f27e652ae6080ec5 Signed-off-by: Yi Li <adamliyi@msn.com>
* Add Zaius board configurationXo Wang2016-10-051-0/+412
| | | | | | | | | | | Zaius is a POWER9 machine announced at the 2016 OpenPOWER summit. Notable differences from Witherspoon in this initial board configuration include Zaius's lack of I2C connections to OCC, lack of external memory buffers, and lack of power capping support. Change-Id: Iadf582b185d3128022659b33b9b0cecc8492f82c Signed-off-by: Xo Wang <xow@google.com>
* configs: Add POWER_CONFIG for machinesXo Wang2016-10-045-0/+66
| | | | | | | | | | Add configs that address differences in naming, polarity, and number of GPIOs used to control power sequencing and standby reset holds. These are based on existing per-machine patches to op-pwrctl. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I9b1b076cda58899bec466f94ae8a9c87f9ed4124
* configs: Remove gpio code from config filesBrad Bishop2016-09-235-65/+0
| | | | | | | Move to a new obmc.system module. Change-Id: Ie02a4b2c14cfcf272d8823d44fb9d7c03b796c87 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* inventory: Move INVENTORY_ROOT to inventory moduleBrad Bishop2016-09-235-10/+0
| | | | | Change-Id: Ic68d4a48ff46002858934e0b9c9b1694a2a17a08 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* configs: Remove unused variablesBrad Bishop2016-09-235-33/+0
| | | | | Change-Id: I95992741e5b2da4678bc0a12f8afcbe88e318a03 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* python: add vim modelinesBrad Bishop2016-09-235-0/+10
| | | | | Change-Id: Ic13d79892e3efe6f7bad357ad747e6fd25299d02 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* palmetto: remove frusBrad Bishop2016-09-231-45/+0
| | | | | | | These are now provided in a json file. Change-Id: Ib0491399df797a728c7a71118f7d54a07eb3a466 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud