blob: 22f4675996f6cf220fbd8f0d9aaec0ba8dd0ad5b (
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
36
37
38
39
|
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 02dc1ae..ec0acfe 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -166,6 +166,20 @@
DRA7XX_CORE_IOPAD(0x3818, MUX_MODE15 | PULL_UP) /* wakeup0.off */
>;
};
+ dcan2_pins_default: dcan2_pins_default {
+ pinctrl-single,pins = <
+ DRA7XX_CORE_IOPAD(0x3688, PIN_OUTPUT_PULLUP | MUX_MODE2) /* gpio6_14.dcan2_tx */
+ DRA7XX_CORE_IOPAD(0x368C, PIN_INPUT_PULLUP | MUX_MODE2) /* gpio6_15.dcan2_rx */
+ >;
+ };
+
+ dcan2_pins_sleep: dcan2_pins_sleep {
+ pinctrl-single,pins = <
+ DRA7XX_CORE_IOPAD(0x3688, MUX_MODE15 | PULL_UP) /* gpio6_14.dcan2_tx.off */
+ DRA7XX_CORE_IOPAD(0x368C, MUX_MODE15 | PULL_UP) /* gpio6_15.dcan2_rx.off */
+ >;
+ };
+
};
&i2c1 {
@@ -652,6 +666,13 @@
pinctrl-2 = <&dcan1_pins_default>;
};
+&dcan2 {
+ status = "ok";
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&dcan2_pins_default>;
+ pinctrl-1 = <&dcan2_pins_sleep>;
+};
+
&dsp1 {
status = "okay";
memory-region = <&dsp1_cma_pool>;
|