diff options
author | David Wu <david.wu@rock-chips.com> | 2017-05-12 14:15:51 +0800 |
---|---|---|
committer | Huang, Tao <huangtao@rock-chips.com> | 2017-05-12 14:23:23 +0800 |
commit | c6c5035f57dddee70f9274f91de7af1e682ea7f8 (patch) | |
tree | 0557563faa961ad41c49098956b548e11f0a75b5 /arch/arm | |
parent | 0e45b77f43f4a9a593412c1464561e43e0e54d27 (diff) |
arm: dts: rk322x: Add io-domain support for rk3229-evb and rk3229-echo-v10
The power domain of VCCIO3 is selected from maskrom,
so we don't need to configure it.
Change-Id: I11f87fe6f178943daa5ec9dcc22f4f505fe58163
Signed-off-by: David Wu <david.wu@rock-chips.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/rk3229-echo-v10.dts | 8 | ||||
-rw-r--r-- | arch/arm/boot/dts/rk3229-evb.dts | 30 |
2 files changed, 38 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3229-echo-v10.dts b/arch/arm/boot/dts/rk3229-echo-v10.dts index 74fe7a7b865e..204f28a6373f 100644 --- a/arch/arm/boot/dts/rk3229-echo-v10.dts +++ b/arch/arm/boot/dts/rk3229-echo-v10.dts @@ -227,6 +227,14 @@ cpu-supply = <&vdd_arm>; }; +&io_domains { + status = "okay"; + + vccio1-supply = <&vcc_io>; + vccio2-supply = <&vcc_io>; + vccio4-supply = <&vcc_io>; +}; + &pinctrl { pmic { pmic_int_l: pmic-int-l { diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts/rk3229-evb.dts index 3776e4935947..fadc2274d52e 100644 --- a/arch/arm/boot/dts/rk3229-evb.dts +++ b/arch/arm/boot/dts/rk3229-evb.dts @@ -106,6 +106,28 @@ regulator-always-on; regulator-boot-on; }; + + regulators { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + + vccio_1v8_reg: regulator@0 { + compatible = "regulator-fixed"; + regulator-name = "vccio_1v8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + vccio_3v3_reg: regulator@1 { + compatible = "regulator-fixed"; + regulator-name = "vccio_3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + }; }; &cpu0 { @@ -133,6 +155,14 @@ mali-supply = <&vdd_log>; }; +&io_domains { + status = "okay"; + + vccio1-supply = <&vccio_3v3_reg>; + vccio2-supply = <&vccio_1v8_reg>; + vccio4-supply = <&vccio_3v3_reg>; +}; + &pinctrl { usb { host_vbus_drv: host-vbus-drv { |