]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00331450-10 ARM: dts: imx6sl-evk: add ldo-bypass support
authorRobin Gong <b38343@freescale.com>
Mon, 15 Sep 2014 07:28:42 +0000 (15:28 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:46 +0000 (21:17 -0600)
Add ldo-bypass support for imx6sl-evk board. Meanwhile, add ldo dts
to support ldo-enable mode.

Signed-off-by: Robin Gong <b38343@freescale.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx6sl-evk-ldo.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6sl-evk.dts
arch/arm/boot/dts/imx6sl.dtsi

index 1de36298f44645582d468ea8fc0eb91a422453b3..6f3e5d2913e6a7653608d189d08d275da1498e3a 100644 (file)
@@ -179,6 +179,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
        imx6q-udoo.dtb \
        imx6q-wandboard.dtb \
        imx6sl-evk.dtb \
+       imx6sl-evk-ldo.dtb \
        imx6sl-evk-uart.dtb \
        imx6sx-sdb.dtb \
        imx6sx-sdb-lcdif1.dtb \
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..1d25c03
--- /dev/null
@@ -0,0 +1,20 @@
+
+/*
+ * Copyright (C) 2014 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>;
+};
index 28430f21922e242d6c8a6cd5125447aeecbafafb..9123d1b141c7a19d56b1b3cf8813c7a976c703f4 100644 (file)
        };
 };
 
+&cpu0 {
+       arm-supply = <&sw1a_reg>;
+       soc-supply = <&sw1c_reg>;
+};
+
 &ecspi1 {
        fsl,spi-num-chipselects = <1>;
        cs-gpios = <&gpio4 11 0>;
        status = "okay";
 };
 
+&gpc {
+       /* use ldo-bypass, u-boot will check it and configure */
+       fsl,ldo-bypass = <1>;
+};
+
 &i2c1 {
        clock-frequency = <100000>;
        pinctrl-names = "default";
index 252d6bf2558a013a9878a66dcdee008cbb10c5dd..3edae9a2c5b3c56c2961adbc4fb321ab76b0302c 100644 (file)
@@ -40,7 +40,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               cpu@0 {
+               cpu0: cpu@0 {
                        compatible = "arm,cortex-a9";
                        device_type = "cpu";
                        reg = <0x0>;