diff options
author | Dong Aisheng <aisheng.dong@freescale.com> | 2015-12-15 20:10:15 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:24:01 +0800 |
commit | 6fa94d069390c2bd17801c794132eac15daa41c0 (patch) | |
tree | ba2b243646060f65788f51db1e474a502b97e62c /arch/arm/boot/dts/imx6sx-sdb-reva.dts | |
parent | 733923afaa0dd50f5afb561da13d7704eb5abead (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.dts | 14 |
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 5a49d95d772d..b5cabf97fcaf 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 = <®_can_en>; + }; + }; }; &cpu0 { |