diff options
author | Dong Aisheng <b29396@freescale.com> | 2015-03-10 19:58:04 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@nxp.com> | 2016-01-14 11:02:00 -0600 |
commit | 002d453f97da507525d73ae61a2ad0b7007611f2 (patch) | |
tree | f83083a798d7e3c062f1472e92796fd1b8ce5f03 /arch/arm/boot/dts/imx7d-sdb.dts | |
parent | cc6a20e0e5990594c8d173980440f58d3c5df1c3 (diff) |
MLK-10392-3 dts: imx7d-sdb: add flexcan support
Add flexcan support.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
(cherry picked from commit 22f6dd8e62b3a1f0557201b046b8491eedb8a97f)
Conflicts:
arch/arm/boot/dts/imx7d-sdb.dts
Diffstat (limited to 'arch/arm/boot/dts/imx7d-sdb.dts')
-rw-r--r-- | arch/arm/boot/dts/imx7d-sdb.dts | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts index a8b80cb5efe3..bb90b191f1dc 100644 --- a/arch/arm/boot/dts/imx7d-sdb.dts +++ b/arch/arm/boot/dts/imx7d-sdb.dts @@ -132,6 +132,15 @@ enable-active-high; }; + reg_can2_3v3: regulator@4 { + compatible = "regulator-fixed"; + reg = <2>; + regulator-name = "can2-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio1 7 GPIO_ACTIVE_LOW>; + }; + wlreg_on: fixedregulator@100 { compatible = "regulator-fixed"; regulator-min-microvolt = <5000000>; @@ -236,6 +245,13 @@ }; }; +&flexcan2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan2>; + xceiver-supply = <®_can2_3v3>; + status = "okay"; +}; + &i2c1 { clock-frequency = <100000>; pinctrl-names = "default"; @@ -578,6 +594,13 @@ >; }; + pinctrl_flexcan2: flexcan2grp { + fsl,pins = < + MX7D_PAD_GPIO1_IO14__FLEXCAN2_RX 0x59 + MX7D_PAD_GPIO1_IO15__FLEXCAN2_TX 0x59 + >; + }; + pinctrl_gpmi_nand_1: gpmi-nand-1 { fsl,pins = < MX7D_PAD_SD3_CLK__NAND_CLE 0x71 @@ -596,7 +619,6 @@ MX7D_PAD_SD3_DATA5__NAND_DATA05 0x71 MX7D_PAD_SD3_DATA6__NAND_DATA06 0x71 MX7D_PAD_SD3_DATA7__NAND_DATA07 0x71 - >; }; |