From 54764cd892a2a347c54abc9dbecab0509d739762 Mon Sep 17 00:00:00 2001 From: Anson Huang Date: Wed, 9 Sep 2015 22:19:06 +0800 Subject: [PATCH] MLK-11526-2 ARM: dts: add imx6qp sabresd board ldo enable support Add LDO enable mode support for i.MX6QP SabreSD board. Signed-off-by: Anson Huang Signed-off-by: Robin Gong (cherry picked from commit 4107e9c4f3d8f654e75770da0a8ed7f158c3e468) --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6qp-sabresd-ldo.dts | 29 ++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 arch/arm/boot/dts/imx6qp-sabresd-ldo.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 19346686ced4..22a9f735daf5 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -425,6 +425,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ imx6qp-sabreauto-flexcan1.dtb \ imx6qp-sabreauto-gpmi-weim.dtb \ imx6qp-sabresd-hdcp.dtb \ + imx6qp-sabresd-ldo.dtb \ imx6qp-sabresd.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 index 000000000000..05d88084295b --- /dev/null +++ b/arch/arm/boot/dts/imx6qp-sabresd-ldo.dts @@ -0,0 +1,29 @@ +/* + * 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" + +&cpu0 { + arm-supply = <®_arm>; + soc-supply = <®_soc>; +}; + +&gpc { + /* use ldo-enable, u-boot will check it and configure */ + fsl,ldo-bypass = <0>; + /* watchdog select of reset source */ + fsl,wdog-reset = <1>; +}; + +&wdog1 { + status = "okay"; +}; + +&wdog2 { + status = "disabled"; +}; -- 2.17.1