summaryrefslogtreecommitdiffstats
path: root/configs/Romulus.py
Commit message (Collapse)AuthorAgeFilesLines
* 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-061-2/+2
| | | | | | | | | | | | | | | | | | | | | 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>
* GPIO abstraction for power and host controlLei YU2017-01-121-10/+20
| | | | | | | | | | | | | | | | | | | | 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-151-1/+0
| | | | | | | | /org/openbmc/control/host0 doesn't exist on p9 systems Change-Id: I4d7ea3ab97ae58f258851e1accc1e46c28f0e80a Signed-off-by: Matt Spinler <spinler@us.ibm.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>
OpenPOWER on IntegriCloud