To build the latest kernel I followed the instructions on this github page. Further I disabled my i2c2 pinmux by commenting out in am335x-bone-common.dtsi
//pinctrl-0 = <&i2c2_pins>;
And enabled dcan0
&dcan0 {
status = "okay"; // Switch on DCAN0
pinctrl-names = "default"; // Apply default pinmuxing
pinctrl-0 = <&dcan0_pins>;
};
I want to use dcan0 and followed this lead: http://www.embedded-things.com/bbb/enable-canbus-on-the-beaglebone-black/#comment-152
To build the latest kernel I followed the instructions on this github page. Further I disabled my i2c2 pinmux by commenting out in am335x-bone-common.dtsi //pinctrl-0 = <&i2c2_pins>;
And enabled dcan0 &dcan0 { status = "okay"; // Switch on DCAN0 pinctrl-names = "default"; // Apply default pinmuxing pinctrl-0 = <&dcan0_pins>; };
And added pinmux to the am33xx-pinmux dcan0_pins: pinmux_dcan0_pins { pinctrl-single,pins = < 0x178 0x12 /* dcan0_tx, SLEWCTRLFAST | PULLUP | MODE2 / 0x17C 0x32 /_ dcan0_rx, SLEWCTRL_FAST | INPUT_PULLUP | MODE2 */
Unfortunately I get the following message: platform 481cc000.d_can: alias fck already exists
Is this due to having I2C2 and dcan0 enabled?