MLK-13748: ARM: dts: imx6ull-9x9-evk-ldo: add ldo enable dts
authorRobin Gong <yibin.gong@nxp.com>
Fri, 6 Jan 2017 03:05:48 +0000 (11:05 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:58:21 +0000 (14:58 -0500)
Add ldo enable dts

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx6ull-9x9-evk-ldo.dts [new file with mode: 0644]

index 11835d6..5d90679 100644 (file)
@@ -527,7 +527,8 @@ dtb-$(CONFIG_SOC_IMX6ULL) += \
        imx6ull-14x14-evk-gpmi-weim.dtb \
        imx6ull-14x14-evk-usb-certi.dtb \
        imx6ull-9x9-evk.dtb \
-       imx6ull-9x9-evk-btwifi.dtb
+       imx6ull-9x9-evk-btwifi.dtb \
+       imx6ull-9x9-evk-ldo.dtb
 dtb-$(CONFIG_SOC_IMX6SLL) += \
        imx6sll-lpddr2-arm2.dtb \
        imx6sll-lpddr3-arm2.dtb \
diff --git a/arch/arm/boot/dts/imx6ull-9x9-evk-ldo.dts b/arch/arm/boot/dts/imx6ull-9x9-evk-ldo.dts
new file mode 100644 (file)
index 0000000..817f48a
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2017 NXP.
+ *
+ * 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-9x9-evk.dts"
+&cpu0 {
+       operating-points = <
+               /* kHz  uV */
+               528000  1175000
+               396000  1025000
+               198000  950000
+       >;
+       fsl,soc-operating-points = <
+               /* KHz  uV */
+               528000  1175000
+               396000  1175000
+               198000  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 */
+};