diff options
author | Robin Gong <b38343@freescale.com> | 2014-10-29 16:51:11 +0800 |
---|---|---|
committer | Robin Gong <b38343@freescale.com> | 2014-10-30 09:44:08 +0800 |
commit | 91f7c4c621d63580e1a735bbd85026466c16c3b5 (patch) | |
tree | bdb97bb6777f96b8b1e04bfe397250d1855a018d | |
parent | 97fc1eb51c1f7b786f478365fb4d2e191f734ad6 (diff) |
MLK-9766-3: ARM: dts: imx6sx-sdb: add ldo-bypass on imx6sx-sdb Revb board
Add ldo-bypass support on imx6sx-sdb Revb board whose VDDARM_IN connected with
VDDSOC_IN.
Signed-off-by: Robin Gong <b38343@freescale.com>
-rw-r--r-- | arch/arm/boot/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb-reva-ldo.dts | 18 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb-reva.dts | 19 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb.dts | 15 |
4 files changed, 52 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index fc7d3b0dd81d..fe31332ab5f6 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -156,6 +156,7 @@ dtb-$(CONFIG_ARCH_MXC) += \ imx6sx-sdb.dtb \ imx6sx-sdb-ldo.dtb \ imx6sx-sdb-reva.dtb \ + imx6sx-sdb-reva-ldo.dtb \ imx6sx-sdb-lcdif1.dtb \ imx6sx-sdb-sai.dtb \ imx6sx-sdb-emmc.dtb \ 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 index 000000000000..a248e05e5343 --- /dev/null +++ b/arch/arm/boot/dts/imx6sx-sdb-reva-ldo.dts @@ -0,0 +1,18 @@ +/* + * 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 "imx6sx-sdb-reva.dts" + +&cpu0 { + arm-supply = <®_arm>; + soc-supply = <®_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-reva.dts b/arch/arm/boot/dts/imx6sx-sdb-reva.dts index 398a747c52e2..36041f10464e 100644 --- a/arch/arm/boot/dts/imx6sx-sdb-reva.dts +++ b/arch/arm/boot/dts/imx6sx-sdb-reva.dts @@ -13,6 +13,25 @@ * This dts is used for support the old CAN transceiver on RevA board */ +&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 = <&sw1a_reg>; + soc-supply = <&sw1c_reg>; + pu-supply = <&pu_dummy>; + fsl,arm-soc-shared = <0>; +}; + &flexcan1 { trx-en-gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>; trx-stby-gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>; diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts index e5e7145c69ce..4663a3cab255 100644 --- a/arch/arm/boot/dts/imx6sx-sdb.dts +++ b/arch/arm/boot/dts/imx6sx-sdb.dts @@ -159,9 +159,22 @@ }; &cpu0 { + operating-points = < + /* kHz uV */ + 996000 1250000 + 792000 1175000 + 396000 1175000 + >; + fsl,soc-operating-points = < + /* ARM kHz SOC uV */ + 996000 1250000 + 792000 1175000 + 396000 1175000 + >; arm-supply = <&sw1a_reg>; - soc-supply = <&sw1c_reg>; + soc-supply = <&sw1a_reg>; pu-supply = <&pu_dummy>; + fsl,arm-soc-shared = <1>; }; &csi1 { |