There are 10 gpio instances inside SoC with 3 groups as below: - Group1: main_gpio0, main_gpio2, main_gpio4, main_gpio6 - Group2: main_gpio1, main_gpio3, main_gpio5, main_gpio7 - Group3: wkup_gpio0, wkup_gpio1 Only one instance can be used in each group at a time. So use main_gpio0, main_gpio1 and wkup_gpio0 for the current linux context and mark other gpio nodes as disabled. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Tero Kristo <t-kristo@ti.com>
83 lines
1.1 KiB
Plaintext
83 lines
1.1 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "k3-j721e-som-p0.dtsi"
|
|
|
|
/ {
|
|
chosen {
|
|
stdout-path = "serial2:115200n8";
|
|
bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000";
|
|
};
|
|
};
|
|
|
|
&wkup_uart0 {
|
|
/* Wakeup UART is used by System firmware */
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_uart0 {
|
|
power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
|
|
};
|
|
|
|
&main_uart3 {
|
|
/* UART not brought out */
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_uart5 {
|
|
/* UART not brought out */
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_uart6 {
|
|
/* UART not brought out */
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_uart7 {
|
|
/* UART not brought out */
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_uart8 {
|
|
/* UART not brought out */
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_uart9 {
|
|
/* UART not brought out */
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_gpio2 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_gpio3 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_gpio4 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_gpio5 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_gpio6 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&main_gpio7 {
|
|
status = "disabled";
|
|
};
|
|
|
|
&wkup_gpio1 {
|
|
status = "disabled";
|
|
};
|