MLK-11526-2 ARM: dts: add imx6qp sabresd board ldo enable support
authorAnson Huang <b20788@freescale.com>
Wed, 9 Sep 2015 14:19:06 +0000 (22:19 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:31:07 +0000 (02:31 +0300)
Add LDO enable mode support for i.MX6QP SabreSD board.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Robin Gong <b38343@freescale.com>
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx6qp-sabresd-ldo.dts [new file with mode: 0644]

index 5baad9b..b0a422e 100644 (file)
@@ -548,6 +548,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
        imx6qp-wandboard-revd1.dtb \
        imx6qp-sabresd-btwifi.dtb \
        imx6qp-sabresd-hdcp.dtb \
+       imx6qp-sabresd-ldo.dtb \
        imx6qp-zii-rdu2.dtb
 dtb-$(CONFIG_SOC_IMX6SL) += \
        imx6sl-evk.dtb \
diff --git a/arch/arm/boot/dts/imx6qp-sabresd-ldo.dts b/arch/arm/boot/dts/imx6qp-sabresd-ldo.dts
new file mode 100644 (file)
index 0000000..f33eb65
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ * Copyright (C) 2015 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx6qp-sabresd.dts"
+
+&wdog1 {
+       status = "okay";
+};
+
+&wdog2 {
+       status = "disabled";
+};
+
+&gpc {
+       /* use ldo-enable, u-boot will check it and configure */
+       fsl,ldo-bypass = <0>;
+};
+
+&reg_arm {
+       /delete-property/ vin-supply;
+};
+
+&reg_pu {
+       /delete-property/ vin-supply;
+};
+
+&reg_soc {
+       /delete-property/ vin-supply;
+};
+
+&wdog1 {
+       status = "okay";
+};
+
+&wdog2 {
+       status = "disabled";
+};