diff options
author | Aisheng Dong <aisheng.dong@nxp.com> | 2018-11-28 14:03:48 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-12-10 05:03:03 +0300 |
commit | 88dddae62eefb309391e2b442c3dd077a12aa35a (patch) | |
tree | 93c0877bd719da023670143c4f7f6215655010d2 /arch/arm/boot/dts/imx6sx-sdb-reva.dts | |
parent | f820ca29bfde05be286c346fdea69bd2a7b592c3 (diff) | |
download | linux-88dddae62eefb309391e2b442c3dd077a12aa35a.tar.xz |
ARM: 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: Aisheng Dong <aisheng.dong@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6sx-sdb-reva.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb-reva.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sdb-reva.dts b/arch/arm/boot/dts/imx6sx-sdb-reva.dts index 9db930694c0e..53241ae09ee9 100644 --- a/arch/arm/boot/dts/imx6sx-sdb-reva.dts +++ b/arch/arm/boot/dts/imx6sx-sdb-reva.dts @@ -138,3 +138,15 @@ spi-max-frequency = <66000000>; }; }; + +®_can_en { + /* Transceiver EN/STBY is active high on RevA board */ + gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>; + enable-active-high; +}; + +®_can_stby { + gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>; + enable-active-high; + vin-supply = <®_can_en>; +}; |