Skip to content

Instantly share code, notes, and snippets.

@matt448 matt448/BB-DCAN1-00A0.dts
Last active Aug 29, 2015

Embed
What would you like to do?
Device tree overlay to enable dcan1 on a Beagle Bone Black
/dts-v1/;
/plugin/;
/ {
compatible = "ti,beaglebone", "ti,beaglebone-black";
/* identification */
part-number = "dcan1pinmux";
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
dcan1_pins_s0: dcan1_pins_s0 {
pinctrl-single,pins = <
0x180 0x12 /* d_can1_tx, SLEWCTRL_FAST | INPUT_PULLUP | MODE2 */
0x184 0x32 /* d_can1_rx, SLEWCTRL_FAST | RECV_ENABLE | INPUT_PULLUP | MODE2 */
>;
};
};
};
fragment@1 {
target = <&dcan1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&dcan1_pins_s0>;
};
};
};
@matt448

This comment has been minimized.

Copy link
Owner Author

commented Oct 19, 2014

This came from http://www.embedded-things.com/bbb/enable-canbus-on-the-beaglebone-black/

I'm putting it in this Gist to make it available for download.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.