1*4882a593Smuzhiyun# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*4882a593Smuzhiyun%YAML 1.2 3*4882a593Smuzhiyun--- 4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/regulator/rk860x-regulator.yaml# 5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml# 6*4882a593Smuzhiyun 7*4882a593Smuzhiyuntitle: Rockchip Rk860x voltage regulator 8*4882a593Smuzhiyun 9*4882a593Smuzhiyunmaintainers: 10*4882a593Smuzhiyun - Elaine Zhang <zhangqing@rock-chips.com> 11*4882a593Smuzhiyun 12*4882a593Smuzhiyundescription: | 13*4882a593Smuzhiyun Rockchip RK860X Digitally Programmable Buck Regulator. 14*4882a593Smuzhiyun The RK860X is a step-down switching voltage regulator that 15*4882a593Smuzhiyun delivers a digitally programmable output from an input voltage supply 16*4882a593Smuzhiyun of 2.5V to 5.5V. The output voltage is programmed through an I2C interface. 17*4882a593Smuzhiyun 18*4882a593SmuzhiyunallOf: 19*4882a593Smuzhiyun - $ref: regulator.yaml# 20*4882a593Smuzhiyun 21*4882a593Smuzhiyunproperties: 22*4882a593Smuzhiyun $nodename: 23*4882a593Smuzhiyun pattern: "^rk860[0-3]@[0-9a-f]" 24*4882a593Smuzhiyun compatible: 25*4882a593Smuzhiyun const: rockchip,rk860x 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun reg: 28*4882a593Smuzhiyun maxItems: 1 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun vin-supply: 31*4882a593Smuzhiyun description: Input supply phandle 32*4882a593Smuzhiyun 33*4882a593Smuzhiyun vsel: 34*4882a593Smuzhiyun minItems: 1 35*4882a593Smuzhiyun maxItems: 1 36*4882a593Smuzhiyun description: | 37*4882a593Smuzhiyun GPIO pin used for DVS voltage selection or used to control enable status of regulator. 38*4882a593Smuzhiyun 39*4882a593Smuzhiyun rockchip,suspend-voltage-selector: 40*4882a593Smuzhiyun maxItems: 1 41*4882a593Smuzhiyun description: | 42*4882a593Smuzhiyun The polarity of vsel pin. 43*4882a593Smuzhiyun 44*4882a593Smuzhiyun limit-microvolt: 45*4882a593Smuzhiyun description: | 46*4882a593Smuzhiyun The limit of voltage setting. 47*4882a593Smuzhiyun 48*4882a593Smuzhiyunrequired: 49*4882a593Smuzhiyun - compatible 50*4882a593Smuzhiyun - reg 51*4882a593Smuzhiyun 52*4882a593SmuzhiyununevaluatedProperties: false 53*4882a593Smuzhiyun 54*4882a593Smuzhiyunexamples: 55*4882a593Smuzhiyun - | 56*4882a593Smuzhiyun i2c { 57*4882a593Smuzhiyun #address-cells = <1>; 58*4882a593Smuzhiyun #size-cells = <0>; 59*4882a593Smuzhiyun 60*4882a593Smuzhiyun vdd_cpu: rk8600@40{ 61*4882a593Smuzhiyun compatible = "rockchip,rk860x"; 62*4882a593Smuzhiyun reg = <0x40>; 63*4882a593Smuzhiyun vin-supply = <&vcc5v0_sys>; 64*4882a593Smuzhiyun regulator-compatible = "rk860x-reg"; 65*4882a593Smuzhiyun regulator-name = "vdd_cpu"; 66*4882a593Smuzhiyun regulator-min-microvolt = <712500>; 67*4882a593Smuzhiyun regulator-max-microvolt = <1390000>; 68*4882a593Smuzhiyun regulator-init-microvolt = <900000>; 69*4882a593Smuzhiyun regulator-ramp-delay = <2300>; 70*4882a593Smuzhiyun rockchip,suspend-voltage-selector = <1>; 71*4882a593Smuzhiyun regulator-boot-on; 72*4882a593Smuzhiyun regulator-always-on; 73*4882a593Smuzhiyun regulator-state-mem { 74*4882a593Smuzhiyun regulator-off-in-suspend; 75*4882a593Smuzhiyun }; 76*4882a593Smuzhiyun }; 77*4882a593Smuzhiyun }; 78