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: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com> Link: https://lore.kernel.org/r/20200907155541.2011-3-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
committed by
Geert Uytterhoeven
parent
8368ca1540
commit
68ee7720a0
@@ -131,10 +131,26 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&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 @@
|
|||||||
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";
|
||||||
|
|||||||
Reference in New Issue
Block a user