MLK-12807 ARM: dts: imx: Add ldo enable support on imx6ull
authorBai Ping <ping.bai@nxp.com>
Tue, 17 May 2016 05:01:24 +0000 (13:01 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:51:58 +0000 (14:51 -0500)
Add LDO enable dts support on i.MX6ULL ARM2 board.

Signed-off-by: Bai Ping <ping.bai@nxp.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx6ull-14x14-ddr3-arm2-ldo.dts [new file with mode: 0644]

index 6323c8e..2243dc4 100644 (file)
@@ -489,6 +489,7 @@ dtb-$(CONFIG_SOC_IMX6ULL) += \
        imx6ull-14x14-ddr3-arm2-flexcan2.dtb \
        imx6ull-14x14-ddr3-arm2-gpmi-weim.dtb \
        imx6ull-14x14-ddr3-arm2-lcdif.dtb \
+       imx6ull-14x14-ddr3-arm2-ldo.dtb \
        imx6ull-14x14-ddr3-arm2-qspi.dtb \
        imx6ull-14x14-ddr3-arm2-uart2.dtb \
        imx6ull-14x14-ddr3-arm2-usb.dtb \
diff --git a/arch/arm/boot/dts/imx6ull-14x14-ddr3-arm2-ldo.dts b/arch/arm/boot/dts/imx6ull-14x14-ddr3-arm2-ldo.dts
new file mode 100644 (file)
index 0000000..c0fa279
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2016 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 "imx6ull-14x14-ddr3-arm2.dts"
+
+&cpu0 {
+       operating-points = <
+               /* kHz  uV */
+               528000  1175000
+               99000   950000
+       >;
+       fsl,soc-operating-points = <
+               /* KHz  uV */
+               528000  1175000
+               99000   1175000
+       >;
+       arm-supply = <&reg_arm>;
+       soc-supply = <&reg_soc>;
+       fsl,arm-soc-shared = <0>;
+};
+
+&gpc {
+       fsl,ldo-bypass = <0>; /* use ldo-enable, u-boot will check it and configure */
+};