summaryrefslogtreecommitdiff
path: root/arch/arm/dts/imx7d-sdb.dts
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2017-04-13 06:09:52 (GMT)
committerStefano Babic <sbabic@denx.de>2017-05-18 09:24:34 (GMT)
commit63f3401d23902e0b953f832d5af2636f91d75d84 (patch)
treedfcf78978215a876f77ffe42c8e5f87b9b4e9dd2 /arch/arm/dts/imx7d-sdb.dts
parent9880eed8bd51207ffab44411106ed5cfd235f7c8 (diff)
downloadu-boot-63f3401d23902e0b953f832d5af2636f91d75d84.tar.xz
arm: dts: imx7d-sdb: add regulator node for usb and mmc
Add regulator node for usb and mmc. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/dts/imx7d-sdb.dts')
-rw-r--r--arch/arm/dts/imx7d-sdb.dts36
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/dts/imx7d-sdb.dts b/arch/arm/dts/imx7d-sdb.dts
index 3b8f1cb..df9dfb9 100644
--- a/arch/arm/dts/imx7d-sdb.dts
+++ b/arch/arm/dts/imx7d-sdb.dts
@@ -38,6 +38,42 @@
spi-max-frequency = <100000>;
};
};
+
+ regulators {
+ compatible = "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ reg_usb_otg1_vbus: regulator@0 {
+ compatible = "regulator-fixed";
+ reg = <0>;
+ regulator-name = "usb_otg1_vbus";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&gpio1 5 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
+
+ reg_usb_otg2_vbus: regulator@1 {
+ compatible = "regulator-fixed";
+ reg = <1>;
+ regulator-name = "usb_otg2_vbus";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
+
+ reg_sd1_vmmc: regulator@3 {
+ compatible = "regulator-fixed";
+ regulator-name = "VDD_SD1";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>;
+ startup-delay-us = <200000>;
+ enable-active-high;
+ };
+ };
};
&iomuxc {