MLK-11407-9: ARM: dts: imx6: add ldo-enable dts files
authorRobin Gong <b38343@freescale.com>
Tue, 22 Sep 2015 08:24:13 +0000 (16:24 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:38 +0000 (14:48 -0500)
add ldo-enable dts files.

Signed-off-by: Robin Gong <b38343@freescale.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx6dl-sabresd-ldo.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6q-sabresd-ldo.dts
arch/arm/boot/dts/imx6sl-evk-ldo.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6sx-19x19-arm2-ldo.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6sx-sdb-ldo.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6sx-sdb-reva-ldo.dts [new file with mode: 0644]

index 701ad8b..532500d 100644 (file)
@@ -348,6 +348,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
        imx6dl-sabreauto.dtb \
        imx6dl-sabrelite.dtb \
        imx6dl-sabresd.dtb \
+       imx6dl-sabresd-ldo.dtb \
        imx6dl-ts4900.dtb \
        imx6dl-tx6dl-comtft.dtb \
        imx6dl-tx6s-8034.dtb \
@@ -393,6 +394,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
        imx6qp-sabreauto.dtb \
        imx6q-sabrelite.dtb \
        imx6q-sabresd.dtb \
+       imx6q-sabresd-ldo.dtb \
        imx6q-sabresd-uart.dtb \
        imx6q-sabresd-enetirq.dtb \
        imx6q-sbc6x.dtb \
@@ -414,6 +416,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
        imx6qp-sabresd.dtb
 dtb-$(CONFIG_SOC_IMX6SL) += \
        imx6sl-evk.dtb \
+       imx6sl-evk-ldo.dtb \
        imx6sl-evk-uart.dtb \
        imx6sl-warp.dtb
 dtb-$(CONFIG_SOC_IMX6SX) += \
@@ -422,9 +425,12 @@ dtb-$(CONFIG_SOC_IMX6SX) += \
        imx6sx-sabreauto.dtb \
        imx6sx-sdb-reva.dtb \
        imx6sx-sdb-sai.dtb \
+       imx6sx-sdb-reva-ldo.dtb \
        imx6sx-sdb.dtb  \
+       imx6sx-sdb-ldo.dtb      \
        imx6sx-sdb-sai.dtb \
-       imx6sx-19x19-arm2.dtb
+       imx6sx-19x19-arm2.dtb \
+       imx6sx-19x19-arm2-ldo.dtb
 dtb-$(CONFIG_SOC_IMX6UL) += \
        imx6ul-14x14-evk.dtb \
        imx6ul-geam-kit.dtb \
diff --git a/arch/arm/boot/dts/imx6dl-sabresd-ldo.dts b/arch/arm/boot/dts/imx6dl-sabresd-ldo.dts
new file mode 100644 (file)
index 0000000..20af5a9
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ * 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 "imx6dl-sabresd.dts"
+
+&cpu0 {
+       arm-supply = <&reg_arm>;
+       soc-supply = <&reg_soc>;
+};
+
+&gpc {
+       /* use ldo-enable, u-boot will check it and configure */
+       fsl,ldo-bypass = <0>;
+};
+
+&wdog1 {
+       status = "okay";
+};
+
+&wdog2 {
+       status = "disabled";
+};
index 6dda35c..55635bf 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Freescale Semiconductor, Inc.
+ * 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
@@ -7,3 +7,21 @@
  */
 
 #include "imx6q-sabresd.dts"
+
+&cpu0 {
+       arm-supply = <&reg_arm>;
+       soc-supply = <&reg_soc>;
+};
+
+&gpc {
+       /* use ldo-enable, u-boot will check it and configure */
+       fsl,ldo-bypass = <0>;
+};
+
+&wdog1 {
+       status = "okay";
+};
+
+&wdog2 {
+       status = "disabled";
+};
diff --git a/arch/arm/boot/dts/imx6sl-evk-ldo.dts b/arch/arm/boot/dts/imx6sl-evk-ldo.dts
new file mode 100644 (file)
index 0000000..6422e85
--- /dev/null
@@ -0,0 +1,20 @@
+
+/*
+ * 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 "imx6sl-evk.dts"
+
+&cpu0 {
+       arm-supply = <&reg_arm>;
+       soc-supply = <&reg_soc>;
+};
+
+&gpc {
+       /* use ldo-enable, u-boot will check it and configure */
+       fsl,ldo-bypass = <0>;
+};
diff --git a/arch/arm/boot/dts/imx6sx-19x19-arm2-ldo.dts b/arch/arm/boot/dts/imx6sx-19x19-arm2-ldo.dts
new file mode 100644 (file)
index 0000000..86818a4
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * 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 "imx6sx-19x19-arm2.dts"
+
+&cpu0 {
+       arm-supply = <&reg_arm>;
+       soc-supply = <&reg_soc>;
+};
+
+&gpc {
+       fsl,ldo-bypass = <0>; /* use ldo-enable, u-boot will check it and configure */
+};
diff --git a/arch/arm/boot/dts/imx6sx-sdb-ldo.dts b/arch/arm/boot/dts/imx6sx-sdb-ldo.dts
new file mode 100644 (file)
index 0000000..6128ec2
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * 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 "imx6sx-sdb.dts"
+
+&cpu0 {
+       operating-points = <
+               /* kHz    uV */
+               996000  1250000
+               792000  1175000
+               396000  1075000
+               >;
+       fsl,soc-operating-points = <
+               /* ARM kHz      SOC uV */
+               996000  1175000
+               792000  1175000
+               396000  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 */
+};
diff --git a/arch/arm/boot/dts/imx6sx-sdb-reva-ldo.dts b/arch/arm/boot/dts/imx6sx-sdb-reva-ldo.dts
new file mode 100644 (file)
index 0000000..c6581f5
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * 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 "imx6sx-sdb-reva.dts"
+
+&cpu0 {
+       arm-supply = <&reg_arm>;
+       soc-supply = <&reg_soc>;
+};
+
+&gpc {
+       fsl,ldo-bypass = <0>; /* use ldo-enable, u-boot will check it and configure */
+};