summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6sx-sdb-reva.dts
diff options
context:
space:
mode:
authorDong Aisheng <aisheng.dong@freescale.com>2015-12-15 20:10:15 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:20:42 +0300
commitf4c218d847ed2dab94d3645b25f137b816d85310 (patch)
treec2c2dd7da3a434fce76e84c88dcfc5f8d459c8ff /arch/arm/boot/dts/imx6sx-sdb-reva.dts
parentc45cfccf6ee72f24a7792fdbede58e651575002c (diff)
MLK-12016-1 dts: imx6sx-sdb: add flexcan support
CAN transceiver is different on RevA and RevB board. It's active high on RevA while active low on Rev B. Signed-off-by: Dong Aisheng <aisheng.dong@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6sx-sdb-reva.dts')
-rw-r--r--arch/arm/boot/dts/imx6sx-sdb-reva.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sdb-reva.dts b/arch/arm/boot/dts/imx6sx-sdb-reva.dts
index 245465d403d8..bd41ff31b154 100644
--- a/arch/arm/boot/dts/imx6sx-sdb-reva.dts
+++ b/arch/arm/boot/dts/imx6sx-sdb-reva.dts
@@ -10,6 +10,20 @@
/ {
model = "Freescale i.MX6 SoloX SDB RevA Board";
+
+ regulators {
+ /* Transceiver EN/STBY is active high on RevA board */
+ reg_can_en: regulator@9 {
+ gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
+
+ reg_can_stby: regulator@10 {
+ gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ vin-supply = <&reg_can_en>;
+ };
+ };
};
&cpu0 {