Skip to content
Permalink
Browse files

Disable i2c2 pin mux, enable DCAN0 and DCAN1

  • Loading branch information...
jazdw
jazdw committed Mar 30, 2014
1 parent 5c92e95 commit 9e6a5ecaa1ce5cecdea5a87622d292e53e3d1680
Showing with 32 additions and 1 deletion.
  1. +32 −1 DTSource3.8.13/am335x-bone-common.dtsi
@@ -47,6 +47,18 @@
0x17c 0x73 /* uart1_rtsn.i2c2_scl, SLEWCTRL_SLOW | INPUT_PULLUP | MODE3 */
>;
};
dcan0_pins: pinmux_dcan0_pins {
pinctrl-single,pins = <
0x178 0x12 /* d_can0_tx, SLEWCTRL_FAST | INPUT_PULLUP | MODE2 */
0x17C 0x32 /* d_can0_rx, SLEWCTRL_FAST | RECV_ENABLE | INPUT_PULLUP | MODE2 */
>;
};
dcan1_pins: pinmux_dcan1_pins {
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 */
>;
};
};

ocp: ocp {
@@ -401,7 +413,7 @@
&i2c2 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&i2c2_pins>;
// pinctrl-0 = <&i2c2_pins>;

clock-frequency = <100000>;

@@ -510,3 +522,22 @@
power = <250>;
status = "okay";
};

&dcan0 {
#address-cells = <1>;
#size-cells = <0>;

status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&dcan0_pins>;
};

&dcan1 {
#address-cells = <1>;
#size-cells = <0>;

status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&dcan1_pins>;
};

0 comments on commit 9e6a5ec

Please sign in to comment.
You can’t perform that action at this time.