summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6sx-sdb-canfd-reva.dts
blob: 8e8766d98f8c4f9603e367a8d8c74f8354ccc576 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 * 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"

/*
 * flexcan and canfd are sharing the same pads, so disable flexcan to
 * enable canfd.
 * There's a trick here that the tranceiver configuration gpios are still
 * got from the flexcan node since they're using the same tranceiver.
 */
&flexcan1 {
	status = "disabled";
};

&flexcan2 {
	status = "disabled";
};

&canfd1 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_canfd1_1>;
	status = "okay";
};

&canfd2 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_canfd2_1>;
	status = "okay";
};