mirror of
https://github.com/torvalds/linux.git
synced 2026-11-23 23:11:40 +00:00
arm64: dts: renesas: r9a08g046l48-smarc: Enable RSPI2
Enable RSPI2 on the RZ/G3L SMARC EVK board by adding pin control configuration and activating the rspi2 node. The RSPI2 pins are shared with the DPI display interface and the two cannot be used simultaneously. This is controlled by switch SW_DPI_EN. Signed-off-by: Biju Das <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
This commit is contained in:
committed by
Geert Uytterhoeven
parent
ba82a7f75e
commit
db60b8a615
@@ -162,6 +162,14 @@
|
||||
power-source = <1800>;
|
||||
};
|
||||
|
||||
rspi2_pins: rspi2 {
|
||||
pinmux = <RZG3L_PORT_PINMUX(6, 0, 2)>, /* RSPI2_MISO */
|
||||
<RZG3L_PORT_PINMUX(6, 1, 2)>, /* RSPI2_MOSI */
|
||||
<RZG3L_PORT_PINMUX(6, 2, 2)>, /* RSPI2_SCK */
|
||||
<RZG3L_PORT_PINMUX(6, 3, 2)>; /* RSPI2_SSLA */
|
||||
power-source = <1800>;
|
||||
};
|
||||
|
||||
scif0_pins: scif0 {
|
||||
pins = "SCIF0_TXD", "SCIF0_RXD";
|
||||
power-source = <1800>;
|
||||
@@ -206,6 +214,17 @@
|
||||
};
|
||||
#endif
|
||||
|
||||
#if !SW_DPI_EN
|
||||
&rspi2 {
|
||||
pinctrl-0 = <&rspi2_pins>;
|
||||
pinctrl-names = "default";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
#endif
|
||||
|
||||
&scif0 {
|
||||
pinctrl-0 = <&scif0_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
Reference in New Issue
Block a user