Commit 68ee7720 authored by Lad Prabhakar's avatar Lad Prabhakar Committed by Geert Uytterhoeven

ARM: dts: r8a7742-iwg21d-q7: Add can1 support to carrier board

This patch enables CAN1 interface exposed through connector J20 on the
carrier board.
Signed-off-by: default avatarLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: default avatarChris Paterson <Chris.Paterson2@renesas.com>
Link: https://lore.kernel.org/r/20200907155541.2011-3-prabhakar.mahadev-lad.rj@bp.renesas.comSigned-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent 8368ca15
...@@ -131,10 +131,26 @@ sgtl5000: codec@a { ...@@ -131,10 +131,26 @@ sgtl5000: codec@a {
}; };
}; };
&can1 {
pinctrl-0 = <&can1_pins>;
pinctrl-names = "default";
status = "okay";
};
&cmt0 { &cmt0 {
status = "okay"; status = "okay";
}; };
&gpio1 {
can-trx-en-gpio{
gpio-hog;
gpios = <28 GPIO_ACTIVE_HIGH>;
output-low;
line-name = "can-trx-en-gpio";
};
};
&hsusb { &hsusb {
pinctrl-0 = <&usb0_pins>; pinctrl-0 = <&usb0_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -203,6 +219,11 @@ avb_pins: avb { ...@@ -203,6 +219,11 @@ avb_pins: avb {
function = "avb"; function = "avb";
}; };
can1_pins: can1 {
groups = "can1_data_b";
function = "can1";
};
i2c2_pins: i2c2 { i2c2_pins: i2c2 {
groups = "i2c2_b"; groups = "i2c2_b";
function = "i2c2"; function = "i2c2";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment