mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 06:39:05 +00:00

Enable sci0 node using dt overlay and disable can{0,1}-stb-hog nodes in DT overlay as its pins are shared with sci0 pins. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20230321114753.75038-6-biju.das.jz@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
46 lines
772 B
Plaintext
46 lines
772 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Device Tree Source for the RZ/{G2UL, Five} SMARC EVK PMOD parts
|
|
*
|
|
* Copyright (C) 2023 Renesas Electronics Corp.
|
|
*
|
|
*
|
|
* [Connection]
|
|
*
|
|
* SMARC EVK
|
|
* +----------------------------+
|
|
* |CN7 (PMOD1 PIN HEADER) |
|
|
* | SCI0_TXD pin7 |
|
|
* | SCI0_RXD pin8 |
|
|
* | Gnd pin11 |
|
|
* | Vcc pin12 |
|
|
* +----------------------------+
|
|
*
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/plugin/;
|
|
|
|
#include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
|
|
|
|
&pinctrl {
|
|
can0-stb-hog {
|
|
status = "disabled";
|
|
};
|
|
|
|
can1-stb-hog {
|
|
status = "disabled";
|
|
};
|
|
|
|
sci0_pins: sci0-pins {
|
|
pinmux = <RZG2L_PORT_PINMUX(2, 2, 5)>, /* TxD */
|
|
<RZG2L_PORT_PINMUX(2, 3, 5)>; /* RxD */
|
|
};
|
|
};
|
|
|
|
&sci0 {
|
|
pinctrl-0 = <&sci0_pins>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
};
|