aboutsummaryrefslogtreecommitdiffstats
path: root/environments/major-upgrade-composable-steps.yaml
blob: 5a695171c8db42c7b9cd5ea06679670452f6a1b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
resource_registry:
  OS::TripleO::PostDeploySteps: ../puppet/major_upgrade_steps.yaml
parameter_defaults:
  EnableConfigPurge: true
  StackUpdateType: UPGRADE
  UpgradeLevelNovaCompute: auto
  UpgradeInitCommonCommand: |
    #!/bin/bash
    # Newton to Ocata, we need to remove old hiera hook data and
    # install ansible heat agents and ansible-pacemaker
    set -eu
    yum install -y python-heat-agent-*
    yum install -y ansible-pacemaker
    rm -f /usr/libexec/os-apply-config/templates/etc/puppet/hiera.yaml
    rm -f /usr/libexec/os-refresh-config/configure.d/40-hiera-datafiles
    rm -f /etc/puppet/hieradata/*.yaml
-cells: Should be 1, is the local IRQ number for da9055. Sub-nodes: - regulators : Contain the regulator nodes. The DA9055 regulators are bound using their names as listed below: buck1 : regulator BUCK1 buck2 : regulator BUCK2 ldo1 : regulator LDO1 ldo2 : regulator LDO2 ldo3 : regulator LDO3 ldo4 : regulator LDO4 ldo5 : regulator LDO5 ldo6 : regulator LDO6 The bindings details of individual regulator device can be found in: Documentation/devicetree/bindings/regulator/regulator.txt Example: pmic: da9055-pmic@5a { compatible = "dlg,da9055-pmic"; reg = <0x5a>; interrupt-parent = <&intc>; interrupts = <5 IRQ_TYPE_LEVEL_LOW>; interrupt-controller; #interrupt-cells = <1>; regulators { buck1: BUCK1 { regulator-min-microvolt = <725000>; regulator-max-microvolt = <2075000>; }; buck2: BUCK2 { regulator-min-microvolt = <925000>; regulator-max-microvolt = <2500000>; }; ldo1: LDO1 { regulator-min-microvolt = <900000>; regulator-max-microvolt = <3300000>; }; }; };