drivers: pinctrl: Add support for Renesas RZ/G2UL
Add pinctrl support for Renesas RZ/G2UL Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com> Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
This commit is contained in:
parent
82b4a05946
commit
da26dbd08a
3 changed files with 23 additions and 1 deletions
16
boards/renesas/rzg2ul_smarc/rzg2ul_smarc-pinctrl.dtsi
Normal file
16
boards/renesas/rzg2ul_smarc/rzg2ul_smarc-pinctrl.dtsi
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* Copyright (c) 2025 Renesas Electronics Corporation
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr/dt-bindings/gpio/gpio.h>
|
||||
#include <zephyr/dt-bindings/pinctrl/renesas/pinctrl-rzg2-common.h>
|
||||
|
||||
&pinctrl {
|
||||
/omit-if-no-ref/ scif0_pins: scif0 {
|
||||
scif0-pinmux {
|
||||
pinmux = <RZG_PINMUX(PORT_06, 3, 6)>, /* RXD */
|
||||
<RZG_PINMUX(PORT_06, 4, 6)>; /* TXD */
|
||||
};
|
||||
};
|
||||
};
|
|
@ -32,6 +32,12 @@
|
|||
};
|
||||
|
||||
soc {
|
||||
pinctrl: pin-controller@41030000 {
|
||||
compatible = "renesas,rzg-pinctrl";
|
||||
reg = <0x41030000 DT_SIZE_K(64)>;
|
||||
reg-names = "pinctrl";
|
||||
};
|
||||
|
||||
scif0: serial@4004b800 {
|
||||
compatible = "renesas,rz-scif-uart";
|
||||
channel = <0>;
|
||||
|
|
|
@ -10,7 +10,7 @@ description: |
|
|||
|
||||
The pre-defined combinations for the RZ/G variants are defined in the below headers
|
||||
- pinctrl-rzg-common.h for RZ/G3S
|
||||
- pinctrl-rzg2-common.h for RZ/G2L, RZ/G2LC
|
||||
- pinctrl-rzg2-common.h for RZ/G2L, RZ/G2LC, RZ/G2UL
|
||||
|
||||
#include <zephyr/dt-bindings/pinctrl/renesas/pinctrl-rzg(2)-common.h>
|
||||
example_pins: device_pin {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue