From c6c5035f57dddee70f9274f91de7af1e682ea7f8 Mon Sep 17 00:00:00 2001 From: David Wu Date: Fri, 12 May 2017 14:15:51 +0800 Subject: [PATCH] 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 --- arch/arm/boot/dts/rk3229-echo-v10.dts | 8 +++++++ arch/arm/boot/dts/rk3229-evb.dts | 30 +++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) 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 { -- 2.34.1