Skip to content

Commit

Permalink
ARM: dts: imx28-evk: add flexan devices
Browse files Browse the repository at this point in the history
Add flexan devices for imx28-evk board.

Signed-off-by: Shawn Guo <[email protected]>
  • Loading branch information
shawnguo2 committed Jul 6, 2012
1 parent b9df449 commit 6ca44ac
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/arm/boot/dts/imx28-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,18 @@
panel-enable-gpios = <&gpio3 30 0>;
status = "okay";
};

can0: can@80032000 {
pinctrl-names = "default";
pinctrl-0 = <&can0_pins_a>;
status = "okay";
};

can1: can@80034000 {
pinctrl-names = "default";
pinctrl-0 = <&can1_pins_a>;
status = "okay";
};
};

apbx@80040000 {
Expand Down
24 changes: 24 additions & 0 deletions arch/arm/boot/dts/imx28.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,28 @@
fsl,voltage = <1>;
fsl,pull-up = <0>;
};

can0_pins_a: can0@0 {
reg = <0>;
fsl,pinmux-ids = <
0x0161 /* MX28_PAD_GPMI_RDY2__CAN0_TX */
0x0171 /* MX28_PAD_GPMI_RDY3__CAN0_RX */
>;
fsl,drive-strength = <0>;
fsl,voltage = <1>;
fsl,pull-up = <0>;
};

can1_pins_a: can1@0 {
reg = <0>;
fsl,pinmux-ids = <
0x0121 /* MX28_PAD_GPMI_CE2N__CAN1_TX */
0x0131 /* MX28_PAD_GPMI_CE3N__CAN1_RX */
>;
fsl,drive-strength = <0>;
fsl,voltage = <1>;
fsl,pull-up = <0>;
};
};

digctl@8001c000 {
Expand Down Expand Up @@ -459,12 +481,14 @@
};

can0: can@80032000 {
compatible = "fsl,imx28-flexcan", "fsl,p1010-flexcan";
reg = <0x80032000 2000>;
interrupts = <8>;
status = "disabled";
};

can1: can@80034000 {
compatible = "fsl,imx28-flexcan", "fsl,p1010-flexcan";
reg = <0x80034000 2000>;
interrupts = <9>;
status = "disabled";
Expand Down

0 comments on commit 6ca44ac

Please sign in to comment.