* [PATCH] arm64: dts: ti: k3-j722s-evm: Describe main_uart5
@ 2024-08-22 5:35 Bhavya Kapoor
2024-08-24 18:14 ` Nishanth Menon
0 siblings, 1 reply; 3+ messages in thread
From: Bhavya Kapoor @ 2024-08-22 5:35 UTC (permalink / raw)
To: devicetree, linux-kernel
Cc: nm, vigneshr, kristo, robh, krzk+dt, conor+dt, linux-arm-kernel,
b-kapoor
main_uart5 in J722S platform is used by the firmware. Thus,
describe it for completeness, adding the pinmux and mark
it as reserved.
Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com>
---
arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
index 24e9f2ea509b..5addf1c0afc2 100644
--- a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
+++ b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
@@ -20,6 +20,7 @@ / {
aliases {
serial0 = &wkup_uart0;
serial2 = &main_uart0;
+ serial3 = &main_uart5;
mmc0 = &sdhci0;
mmc1 = &sdhci1;
};
@@ -211,6 +212,13 @@ J722S_IOPAD(0x01cc, PIN_OUTPUT, 0) /* (B22) UART0_TXD */
bootph-all;
};
+ main_uart5_pins_default: main-uart5-default-pins {
+ pinctrl-single,pins = <
+ J722S_IOPAD(0x0108, PIN_INPUT, 3) /* (J27) UART5_RXD */
+ J722S_IOPAD(0x010c, PIN_OUTPUT, 3) /* (H27) UART5_TXD */
+ >;
+ };
+
vdd_sd_dv_pins_default: vdd-sd-dv-default-pins {
pinctrl-single,pins = <
J722S_IOPAD(0x0120, PIN_INPUT, 7) /* (F27) MMC2_CMD.GPIO0_70 */
@@ -330,6 +338,12 @@ &main_uart0 {
bootph-all;
};
+&main_uart5 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&main_uart5_pins_default>;
+ status = "reserved";
+};
+
&mcu_pmx0 {
mcu_mcan0_pins_default: mcu-mcan0-default-pins {
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] arm64: dts: ti: k3-j722s-evm: Describe main_uart5
2024-08-22 5:35 [PATCH] arm64: dts: ti: k3-j722s-evm: Describe main_uart5 Bhavya Kapoor
@ 2024-08-24 18:14 ` Nishanth Menon
2024-08-27 8:48 ` Bhavya Kapoor
0 siblings, 1 reply; 3+ messages in thread
From: Nishanth Menon @ 2024-08-24 18:14 UTC (permalink / raw)
To: Bhavya Kapoor
Cc: devicetree, linux-kernel, vigneshr, kristo, robh, krzk+dt,
conor+dt, linux-arm-kernel
On 11:05-20240822, Bhavya Kapoor wrote:
> main_uart5 in J722S platform is used by the firmware. Thus,
what platform? what firmware?
> describe it for completeness, adding the pinmux and mark
> it as reserved.
>
> Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com>
> ---
> arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
> index 24e9f2ea509b..5addf1c0afc2 100644
> --- a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
> +++ b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
> @@ -20,6 +20,7 @@ / {
> aliases {
> serial0 = &wkup_uart0;
> serial2 = &main_uart0;
> + serial3 = &main_uart5;
> mmc0 = &sdhci0;
> mmc1 = &sdhci1;
> };
> @@ -211,6 +212,13 @@ J722S_IOPAD(0x01cc, PIN_OUTPUT, 0) /* (B22) UART0_TXD */
> bootph-all;
> };
>
> + main_uart5_pins_default: main-uart5-default-pins {
> + pinctrl-single,pins = <
> + J722S_IOPAD(0x0108, PIN_INPUT, 3) /* (J27) UART5_RXD */
> + J722S_IOPAD(0x010c, PIN_OUTPUT, 3) /* (H27) UART5_TXD */
> + >;
> + };
> +
> vdd_sd_dv_pins_default: vdd-sd-dv-default-pins {
> pinctrl-single,pins = <
> J722S_IOPAD(0x0120, PIN_INPUT, 7) /* (F27) MMC2_CMD.GPIO0_70 */
> @@ -330,6 +338,12 @@ &main_uart0 {
> bootph-all;
> };
>
> +&main_uart5 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&main_uart5_pins_default>;
Document specifically why reserved.
> + status = "reserved";
> +};
> +
> &mcu_pmx0 {
>
> mcu_mcan0_pins_default: mcu-mcan0-default-pins {
> --
> 2.34.1
>
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] arm64: dts: ti: k3-j722s-evm: Describe main_uart5
2024-08-24 18:14 ` Nishanth Menon
@ 2024-08-27 8:48 ` Bhavya Kapoor
0 siblings, 0 replies; 3+ messages in thread
From: Bhavya Kapoor @ 2024-08-27 8:48 UTC (permalink / raw)
To: Nishanth Menon
Cc: devicetree, linux-kernel, vigneshr, kristo, robh, krzk+dt,
conor+dt, linux-arm-kernel
On 24/08/24 11:44 pm, Nishanth Menon wrote:
> On 11:05-20240822, Bhavya Kapoor wrote:
>> main_uart5 in J722S platform is used by the firmware. Thus,
> what platform? what firmware?
Hey Nishanth, it is used by system firmware for its logs
in J722S-EVM.
>
>> describe it for completeness, adding the pinmux and mark
>> it as reserved.
>>
>> Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com>
>> ---
>> arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 14 ++++++++++++++
>> 1 file changed, 14 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
>> index 24e9f2ea509b..5addf1c0afc2 100644
>> --- a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
>> +++ b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
>> @@ -20,6 +20,7 @@ / {
>> aliases {
>> serial0 = &wkup_uart0;
>> serial2 = &main_uart0;
>> + serial3 = &main_uart5;
>> mmc0 = &sdhci0;
>> mmc1 = &sdhci1;
>> };
>> @@ -211,6 +212,13 @@ J722S_IOPAD(0x01cc, PIN_OUTPUT, 0) /* (B22) UART0_TXD */
>> bootph-all;
>> };
>>
>> + main_uart5_pins_default: main-uart5-default-pins {
>> + pinctrl-single,pins = <
>> + J722S_IOPAD(0x0108, PIN_INPUT, 3) /* (J27) UART5_RXD */
>> + J722S_IOPAD(0x010c, PIN_OUTPUT, 3) /* (H27) UART5_TXD */
>> + >;
>> + };
>> +
>> vdd_sd_dv_pins_default: vdd-sd-dv-default-pins {
>> pinctrl-single,pins = <
>> J722S_IOPAD(0x0120, PIN_INPUT, 7) /* (F27) MMC2_CMD.GPIO0_70 */
>> @@ -330,6 +338,12 @@ &main_uart0 {
>> bootph-all;
>> };
>>
>> +&main_uart5 {
>> + pinctrl-names = "default";
>> + pinctrl-0 = <&main_uart5_pins_default>;
> Document specifically why reserved.
Will send out v2 for this.
>
>> + status = "reserved";
>> +};
>> +
>> &mcu_pmx0 {
>>
>> mcu_mcan0_pins_default: mcu-mcan0-default-pins {
>> --
>> 2.34.1
>>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-27 8:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-22 5:35 [PATCH] arm64: dts: ti: k3-j722s-evm: Describe main_uart5 Bhavya Kapoor
2024-08-24 18:14 ` Nishanth Menon
2024-08-27 8:48 ` Bhavya Kapoor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox