beagleboard / kernel

Kernel for the beagleboard.org boards
172 stars 159 forks source link

dcan0 alias fck already exist #63

Open kkwekkeboom opened 10 years ago

kkwekkeboom commented 10 years ago

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?