ARM: dts: imx6: add *ldo dtb file
authorRobin Gong <yibin.gong@nxp.com>
Tue, 12 Nov 2019 17:55:11 +0000 (01:55 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:20:54 +0000 (11:20 +0800)
Add *ldo dtb board file to support board work in ldo-enable mode.

Signed-off-by: Robin Gong <yibin.gong@nxp.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 [new file with mode: 0644]
arch/arm/boot/dts/imx6qp-sabresd-ldo.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6sl-evk-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]
arch/arm/boot/dts/imx6ul-9x9-evk-ldo.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6ull-9x9-evk-ldo.dts [new file with mode: 0644]

index 81c254f..0b84b07 100644 (file)
@@ -470,6 +470,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
        imx6dl-sabreauto-gpmi-weim.dtb \
        imx6dl-sabrelite.dtb \
        imx6dl-sabresd.dtb \
+       imx6dl-sabresd-ldo.dtb \
        imx6dl-sabresd-btwifi.dtb \
        imx6dl-sabresd-hdcp.dtb \
        imx6dl-sabresd-enetirq.dtb \
@@ -568,6 +569,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
        imx6q-sabreauto-gpmi-weim.dtb \
        imx6q-sabrelite.dtb \
        imx6q-sabresd.dtb \
+       imx6q-sabresd-ldo.dtb \
        imx6q-sabresd-btwifi.dtb \
        imx6q-sabresd-hdcp.dtb \
        imx6q-sabresd-uart.dtb \
@@ -601,6 +603,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
        imx6qp-sabreauto-ecspi.dtb \
        imx6qp-sabreauto-gpmi-weim.dtb \
        imx6qp-sabresd.dtb \
+       imx6qp-sabresd-ldo.dtb \
        imx6qp-sabresd-btwifi.dtb \
        imx6qp-sabresd-hdcp.dtb \
        imx6qp-tx6qp-8037.dtb \
@@ -611,6 +614,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
        imx6qp-zii-rdu2.dtb
 dtb-$(CONFIG_SOC_IMX6SL) += \
        imx6sl-evk.dtb \
+       imx6sl-evk-ldo.dtb \
        imx6sl-evk-csi.dtb \
        imx6sl-evk-uart.dtb \
        imx6sl-evk-btwifi.dtb \
@@ -626,8 +630,10 @@ dtb-$(CONFIG_SOC_IMX6SX) += \
        imx6sx-nitrogen6sx.dtb \
        imx6sx-sabreauto.dtb \
        imx6sx-sdb-reva.dtb \
+       imx6sx-sdb-reva-ldo.dtb \
        imx6sx-sdb-sai.dtb \
        imx6sx-sdb.dtb \
+       imx6sx-sdb-ldo.dtb \
        imx6sx-sdb-emmc.dtb \
        imx6sx-sdb-lcdif1.dtb \
        imx6sx-sdb-m4.dtb \
@@ -647,6 +653,7 @@ dtb-$(CONFIG_SOC_IMX6UL) += \
        imx6ul-14x14-evk-ecspi.dtb \
        imx6ul-14x14-evk-gpmi-weim.dtb \
        imx6ul-9x9-evk.dtb \
+       imx6ul-9x9-evk-ldo.dtb \
        imx6ul-9x9-evk-btwifi.dtb \
        imx6ul-9x9-evk-btwifi-oob.dtb \
        imx6ul-ccimx6ulsbcexpress.dtb \
@@ -671,6 +678,7 @@ dtb-$(CONFIG_SOC_IMX6UL) += \
        imx6ull-14x14-evk-btwifi-oob.dtb \
        imx6ull-14x14-evk-gpmi-weim.dtb \
        imx6ull-9x9-evk.dtb \
+       imx6ull-9x9-evk-ldo.dtb \
        imx6ull-9x9-evk-btwifi.dtb \
        imx6ull-9x9-evk-btwifi-oob.dtb \
        imx6ull-colibri-eval-v3.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..e5c623d
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ * 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"
+
+&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";
+};
diff --git a/arch/arm/boot/dts/imx6q-sabresd-ldo.dts b/arch/arm/boot/dts/imx6q-sabresd-ldo.dts
new file mode 100644 (file)
index 0000000..8363302
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ * 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 "imx6q-sabresd.dts"
+
+&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";
+};
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";
+};
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..5ca3a09
--- /dev/null
@@ -0,0 +1,26 @@
+/*
+ * 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"
+
+&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;
+};
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..3a8c194
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ * 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
+               198000  975000
+               >;
+       fsl,soc-operating-points = <
+               /* ARM kHz      SOC uV */
+               996000  1175000
+               792000  1175000
+               396000  1175000
+               198000  1175000
+       >;
+       fsl,arm-soc-shared = <0>;
+};
+
+&gpc {
+       fsl,ldo-bypass = <0>; /* use ldo-enable, u-boot will check it and configure */
+};
+
+&reg_arm {
+       /delete-property/ vin-supply;
+};
+
+&reg_soc {
+       /delete-property/ vin-supply;
+};
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..8671999
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * 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"
+
+&gpc {
+       fsl,ldo-bypass = <0>; /* use ldo-enable, u-boot will check it and configure */
+};
+
+&reg_arm {
+       /delete-property/ vin-supply;
+};
+
+&reg_soc {
+       /delete-property/ vin-supply;
+};
diff --git a/arch/arm/boot/dts/imx6ul-9x9-evk-ldo.dts b/arch/arm/boot/dts/imx6ul-9x9-evk-ldo.dts
new file mode 100644 (file)
index 0000000..715efcb
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ * 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 "imx6ul-9x9-evk.dts"
+
+&cpu0 {
+       operating-points = <
+               /* kHz  uV */
+               696000  1275000
+               528000  1175000
+               396000  1025000
+               198000  950000
+       >;
+       fsl,soc-operating-points = <
+               /* KHz  uV */
+               696000  1275000
+               528000  1175000
+               396000  1175000
+               198000  1175000
+       >;
+       fsl,arm-soc-shared = <0>;
+};
+
+&gpc {
+       fsl,ldo-bypass = <0>; /* use ldo-enable, u-boot will check it and configure */
+};
+
+&reg_arm {
+       /delete-property/ vin-supply;
+};
+
+&reg_soc {
+       /delete-property/ vin-supply;
+};
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..a878fe5
--- /dev/null
@@ -0,0 +1,36 @@
+/*
+ * 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
+       >;
+       fsl,arm-soc-shared = <0>;
+};
+
+&gpc {
+       fsl,ldo-bypass = <0>; /* use ldo-enable, u-boot will check it and configure */
+};
+
+&reg_arm {
+       /delete-property/ vin-supply;
+};
+
+&reg_soc {
+       /delete-property/ vin-supply;
+};