RE: Getting the Splash Screen to Appear Earlier » reichert-uboot-splash-20260709.patch
| arch/arm/dts/k3-am62a-mitysom-reichert-clearchart-binman.dtsi | ||
|---|---|---|
|
// SPDX-License-Identifier: GPL-2.0
|
||
|
/*
|
||
|
* Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
|
||
|
*/
|
||
|
#include "k3-binman.dtsi"
|
||
|
#ifdef CONFIG_TARGET_MITYSOM_AM62AX_R5_DEVKIT
|
||
|
&rcfg_yaml_tifs {
|
||
|
config = "tifs-rm-cfg.yaml";
|
||
|
};
|
||
|
&binman {
|
||
|
tiboot3-am62ax-hs-evm.bin {
|
||
|
filename = "tiboot3-am62ax-hs-evm.bin";
|
||
|
ti-secure-rom {
|
||
|
content = <&u_boot_spl>, <&ti_fs_enc>, <&combined_tifs_cfg>,
|
||
|
<&combined_dm_cfg>, <&sysfw_inner_cert>;
|
||
|
combined;
|
||
|
dm-data;
|
||
|
sysfw-inner-cert;
|
||
|
keyfile = "custMpk.pem";
|
||
|
sw-rev = <1>;
|
||
|
content-sbl = <&u_boot_spl>;
|
||
|
content-sysfw = <&ti_fs_enc>;
|
||
|
content-sysfw-data = <&combined_tifs_cfg>;
|
||
|
content-sysfw-inner-cert = <&sysfw_inner_cert>;
|
||
|
content-dm-data = <&combined_dm_cfg>;
|
||
|
load = <0x43c00000>;
|
||
|
load-sysfw = <0x40000>;
|
||
|
load-sysfw-data = <0x67000>;
|
||
|
load-dm-data = <0x43c3a800>;
|
||
|
};
|
||
|
u_boot_spl: u-boot-spl {
|
||
|
no-expanded;
|
||
|
};
|
||
|
ti_fs_enc: ti-fs-enc.bin {
|
||
|
filename = "ti-sysfw/ti-fs-firmware-am62ax-hs-enc.bin";
|
||
|
type = "blob-ext";
|
||
|
optional;
|
||
|
};
|
||
|
combined_tifs_cfg: combined-tifs-cfg.bin {
|
||
|
filename = "combined-tifs-cfg.bin";
|
||
|
type = "blob-ext";
|
||
|
};
|
||
|
sysfw_inner_cert: sysfw-inner-cert {
|
||
|
filename = "ti-sysfw/ti-fs-firmware-am62ax-hs-cert.bin";
|
||
|
type = "blob-ext";
|
||
|
optional;
|
||
|
};
|
||
|
combined_dm_cfg: combined-dm-cfg.bin {
|
||
|
filename = "combined-dm-cfg.bin";
|
||
|
type = "blob-ext";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
&binman {
|
||
|
tiboot3-am62ax-hs-fs-evm.bin {
|
||
|
filename = "tiboot3-am62ax-hs-fs-evm.bin";
|
||
|
symlink = "tiboot3.bin";
|
||
|
ti-secure-rom {
|
||
|
content = <&u_boot_spl_fs>, <&ti_fs_enc_fs>, <&combined_tifs_cfg_fs>,
|
||
|
<&combined_dm_cfg_fs>, <&sysfw_inner_cert_fs>;
|
||
|
combined;
|
||
|
dm-data;
|
||
|
sysfw-inner-cert;
|
||
|
keyfile = "custMpk.pem";
|
||
|
sw-rev = <1>;
|
||
|
content-sbl = <&u_boot_spl_fs>;
|
||
|
content-sysfw = <&ti_fs_enc_fs>;
|
||
|
content-sysfw-data = <&combined_tifs_cfg_fs>;
|
||
|
content-sysfw-inner-cert = <&sysfw_inner_cert_fs>;
|
||
|
content-dm-data = <&combined_dm_cfg_fs>;
|
||
|
load = <0x43c00000>;
|
||
|
load-sysfw = <0x40000>;
|
||
|
load-sysfw-data = <0x67000>;
|
||
|
load-dm-data = <0x43c3a800>;
|
||
|
};
|
||
|
u_boot_spl_fs: u-boot-spl {
|
||
|
no-expanded;
|
||
|
};
|
||
|
ti_fs_enc_fs: ti-fs-enc.bin {
|
||
|
filename = "ti-sysfw/ti-fs-firmware-am62ax-hs-fs-enc.bin";
|
||
|
type = "blob-ext";
|
||
|
optional;
|
||
|
};
|
||
|
combined_tifs_cfg_fs: combined-tifs-cfg.bin {
|
||
|
filename = "combined-tifs-cfg.bin";
|
||
|
type = "blob-ext";
|
||
|
};
|
||
|
sysfw_inner_cert_fs: sysfw-inner-cert {
|
||
|
filename = "ti-sysfw/ti-fs-firmware-am62ax-hs-fs-cert.bin";
|
||
|
type = "blob-ext";
|
||
|
optional;
|
||
|
};
|
||
|
combined_dm_cfg_fs: combined-dm-cfg.bin {
|
||
|
filename = "combined-dm-cfg.bin";
|
||
|
type = "blob-ext";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
&binman {
|
||
|
tiboot3-am62ax-gp-evm.bin {
|
||
|
filename = "tiboot3-am62ax-gp-evm.bin";
|
||
|
ti-secure-rom {
|
||
|
content = <&u_boot_spl_unsigned>, <&ti_fs_gp>,
|
||
|
<&combined_tifs_cfg_gp>, <&combined_dm_cfg_gp>;
|
||
|
combined;
|
||
|
dm-data;
|
||
|
content-sbl = <&u_boot_spl_unsigned>;
|
||
|
load = <0x43c00000>;
|
||
|
content-sysfw = <&ti_fs_gp>;
|
||
|
load-sysfw = <0x40000>;
|
||
|
content-sysfw-data = <&combined_tifs_cfg_gp>;
|
||
|
load-sysfw-data = <0x67000>;
|
||
|
content-dm-data = <&combined_dm_cfg_gp>;
|
||
|
load-dm-data = <0x43c3a800>;
|
||
|
sw-rev = <1>;
|
||
|
keyfile = "ti-degenerate-key.pem";
|
||
|
};
|
||
|
u_boot_spl_unsigned: u-boot-spl {
|
||
|
no-expanded;
|
||
|
};
|
||
|
ti_fs_gp: ti-fs-gp.bin {
|
||
|
filename = "ti-sysfw/ti-fs-firmware-am62ax-gp.bin";
|
||
|
type = "blob-ext";
|
||
|
optional;
|
||
|
};
|
||
|
combined_tifs_cfg_gp: combined-tifs-cfg-gp.bin {
|
||
|
filename = "combined-tifs-cfg.bin";
|
||
|
type = "blob-ext";
|
||
|
};
|
||
|
combined_dm_cfg_gp: combined-dm-cfg-gp.bin {
|
||
|
filename = "combined-dm-cfg.bin";
|
||
|
type = "blob-ext";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
#endif
|
||
|
#ifdef CONFIG_TARGET_MITYSOM_AM62AX_A53_DEVKIT
|
||
|
#define SPL_AM62A7_MITYSOM_DEVKIT_DTB "spl/dts/k3-am62a7-mitysom-devkit.dtb"
|
||
|
#define AM62A7_MITYSOM_DEVKIT_DTB "u-boot.dtb"
|
||
|
&binman {
|
||
|
tifsstub-hs {
|
||
|
filename = "tifsstub.bin_hs";
|
||
|
ti-secure-rom {
|
||
|
content = <&tifsstub_hs_cert>;
|
||
|
core = "secure";
|
||
|
load = <0x60000>;
|
||
|
sw-rev = <CONFIG_K3_X509_SWRV>;
|
||
|
keyfile = "custMpk.pem";
|
||
|
countersign;
|
||
|
tifsstub;
|
||
|
};
|
||
|
tifsstub_hs_cert: tifsstub-hs-cert.bin {
|
||
|
filename = "ti-sysfw/ti-fs-stub-firmware-am62ax-hs-cert.bin";
|
||
|
type = "blob-ext";
|
||
|
optional;
|
||
|
};
|
||
|
tifsstub_hs_enc: tifsstub-hs-enc.bin {
|
||
|
filename = "ti-sysfw/ti-fs-stub-firmware-am62ax-hs-enc.bin";
|
||
|
type = "blob-ext";
|
||
|
optional;
|
||
|
};
|
||
|
};
|
||
|
tifsstub-fs {
|
||
|
filename = "tifsstub.bin_fs";
|
||
|
tifsstub_fs_cert: tifsstub-fs-cert.bin {
|
||
|
filename = "ti-sysfw/ti-fs-stub-firmware-am62ax-hs-cert.bin";
|
||
|
type = "blob-ext";
|
||
|
optional;
|
||
|
};
|
||
|
tifsstub_fs_enc: tifsstub-fs-enc.bin {
|
||
|
filename = "ti-sysfw/ti-fs-stub-firmware-am62ax-hs-enc.bin";
|
||
|
type = "blob-ext";
|
||
|
optional;
|
||
|
};
|
||
|
};
|
||
|
tifsstub-gp {
|
||
|
filename = "tifsstub.bin_gp";
|
||
|
ti-secure-rom {
|
||
|
content = <&tifsstub_gp>;
|
||
|
core = "secure";
|
||
|
load = <0x60000>;
|
||
|
sw-rev = <CONFIG_K3_X509_SWRV>;
|
||
|
keyfile = "ti-degenerate-key.pem";
|
||
|
tifsstub;
|
||
|
};
|
||
|
tifsstub_gp: tifsstub-gp.bin {
|
||
|
filename = "ti-sysfw/ti-fs-stub-firmware-am62ax-gp.bin";
|
||
|
type = "blob-ext";
|
||
|
optional;
|
||
|
};
|
||
|
};
|
||
|
ti-falcon {
|
||
|
insert-template = <&ti_falcon_template>;
|
||
|
fit {
|
||
|
images {
|
||
|
tifsstub-hs {
|
||
|
description = "TIFSSTUB";
|
||
|
type = "firmware";
|
||
|
arch = "arm32";
|
||
|
compression = "none";
|
||
|
os = "tifsstub-hs";
|
||
|
load = <0x9ca00000>;
|
||
|
entry = <0x9ca00000>;
|
||
|
blob-ext {
|
||
|
filename = "tifsstub.bin_hs";
|
||
|
};
|
||
|
};
|
||
|
tifsstub-fs {
|
||
|
description = "TIFSSTUB";
|
||
|
type = "firmware";
|
||
|
arch = "arm32";
|
||
|
compression = "none";
|
||
|
os = "tifsstub-fs";
|
||
|
load = <0x9ca00000>;
|
||
|
entry = <0x9ca00000>;
|
||
|
blob-ext {
|
||
|
filename = "tifsstub.bin_fs";
|
||
|
};
|
||
|
};
|
||
|
tifsstub-gp {
|
||
|
description = "TIFSSTUB";
|
||
|
type = "firmware";
|
||
|
arch = "arm32";
|
||
|
compression = "none";
|
||
|
os = "tifsstub-gp";
|
||
|
load = <0x9ca00000>;
|
||
|
entry = <0x9ca00000>;
|
||
|
blob-ext {
|
||
|
filename = "tifsstub.bin_gp";
|
||
|
};
|
||
|
};
|
||
|
dm {
|
||
|
ti-secure {
|
||
|
content = <&dm_falcon>;
|
||
|
keyfile = "custMpk.pem";
|
||
|
};
|
||
|
dm_falcon: ti-dm {
|
||
|
filename = "ti-dm/am62axx/ipc_echo_testb_mcu1_0_release_strip.xer5f";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
configurations {
|
||
|
default = "conf-0";
|
||
|
conf-0 {
|
||
|
description = "k3-am62a7-sk-falcon";
|
||
|
firmware = "atf";
|
||
|
loadables = "tee", "dm", "tifsstub-hs", "tifsstub-fs",
|
||
|
"tifsstub-gp";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
ti-spl {
|
||
|
insert-template = <&ti_spl_template>;
|
||
|
fit {
|
||
|
images {
|
||
|
tifsstub-hs {
|
||
|
description = "TIFSSTUB";
|
||
|
type = "firmware";
|
||
|
arch = "arm32";
|
||
|
compression = "none";
|
||
|
os = "tifsstub-hs";
|
||
|
load = <0x9ca00000>;
|
||
|
entry = <0x9ca00000>;
|
||
|
blob-ext {
|
||
|
filename = "tifsstub.bin_hs";
|
||
|
};
|
||
|
};
|
||
|
tifsstub-fs {
|
||
|
description = "TIFSSTUB";
|
||
|
type = "firmware";
|
||
|
arch = "arm32";
|
||
|
compression = "none";
|
||
|
os = "tifsstub-fs";
|
||
|
load = <0x9ca00000>;
|
||
|
entry = <0x9ca00000>;
|
||
|
blob-ext {
|
||
|
filename = "tifsstub.bin_fs";
|
||
|
};
|
||
|
};
|
||
|
tifsstub-gp {
|
||
|
description = "TIFSSTUB";
|
||
|
type = "firmware";
|
||
|
arch = "arm32";
|
||
|
compression = "none";
|
||
|
os = "tifsstub-gp";
|
||
|
load = <0x9ca00000>;
|
||
|
entry = <0x9ca00000>;
|
||
|
blob-ext {
|
||
|
filename = "tifsstub.bin_gp";
|
||
|
};
|
||
|
};
|
||
|
dm {
|
||
|
ti-secure {
|
||
|
content = <&dm>;
|
||
|
keyfile = "custMpk.pem";
|
||
|
};
|
||
|
dm: ti-dm {
|
||
|
filename = "ti-dm/am62axx/ipc_echo_testb_mcu1_0_release_strip.xer5f";
|
||
|
optional;
|
||
|
};
|
||
|
};
|
||
|
fdt-0 {
|
||
|
description = "k3-am62a7-sk";
|
||
|
type = "flat_dt";
|
||
|
arch = "arm";
|
||
|
compression = "none";
|
||
|
ti-secure {
|
||
|
content = <&spl_am62a7_sk_dtb>;
|
||
|
keyfile = "custMpk.pem";
|
||
|
};
|
||
|
spl_am62a7_sk_dtb: blob-ext {
|
||
|
filename = SPL_AM62A7_MITYSOM_DEVKIT_DTB;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
configurations {
|
||
|
default = "conf-0";
|
||
|
conf-0 {
|
||
|
description = "k3-am62a7-sk";
|
||
|
firmware = "atf";
|
||
|
loadables = "tee", "dm", "spl",
|
||
|
"tifsstub-hs", "tifsstub-fs", "tifsstub-gp";
|
||
|
fdt = "fdt-0";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
&binman {
|
||
|
u-boot {
|
||
|
insert-template = <&u_boot_template>;
|
||
|
fit {
|
||
|
images {
|
||
|
uboot {
|
||
|
description = "U-Boot for AM62Ax Board";
|
||
|
};
|
||
|
fdt-0 {
|
||
|
description = "k3-am62a7-sk";
|
||
|
type = "flat_dt";
|
||
|
arch = "arm";
|
||
|
compression = "none";
|
||
|
ti-secure {
|
||
|
content = <&am62a7_sk_dtb>;
|
||
|
keyfile = "custMpk.pem";
|
||
|
};
|
||
|
am62a7_sk_dtb: blob-ext {
|
||
|
filename = AM62A7_MITYSOM_DEVKIT_DTB;
|
||
|
};
|
||
|
hash {
|
||
|
algo = "crc32";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
configurations {
|
||
|
default = "conf-0";
|
||
|
conf-0 {
|
||
|
description = "k3-am62a7-sk";
|
||
|
firmware = "uboot";
|
||
|
loadables = "uboot";
|
||
|
fdt = "fdt-0";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
&binman {
|
||
|
ti-spl_unsigned {
|
||
|
insert-template = <&ti_spl_unsigned_template>;
|
||
|
fit {
|
||
|
images {
|
||
|
tifsstub-hs {
|
||
|
description = "TIFSSTUB";
|
||
|
type = "firmware";
|
||
|
arch = "arm32";
|
||
|
compression = "none";
|
||
|
os = "tifsstub-hs";
|
||
|
load = <0x9ca00000>;
|
||
|
entry = <0x9ca00000>;
|
||
|
blob-ext {
|
||
|
filename = "tifsstub.bin_hs";
|
||
|
};
|
||
|
};
|
||
|
tifsstub-fs {
|
||
|
description = "TIFSSTUB";
|
||
|
type = "firmware";
|
||
|
arch = "arm32";
|
||
|
compression = "none";
|
||
|
os = "tifsstub-fs";
|
||
|
load = <0x9ca00000>;
|
||
|
entry = <0x9ca00000>;
|
||
|
blob-ext {
|
||
|
filename = "tifsstub.bin_fs";
|
||
|
};
|
||
|
};
|
||
|
tifsstub-gp {
|
||
|
description = "TIFSSTUB";
|
||
|
type = "firmware";
|
||
|
arch = "arm32";
|
||
|
compression = "none";
|
||
|
os = "tifsstub-gp";
|
||
|
load = <0x9ca00000>;
|
||
|
entry = <0x9ca00000>;
|
||
|
blob-ext {
|
||
|
filename = "tifsstub.bin_gp";
|
||
|
};
|
||
|
};
|
||
|
dm {
|
||
|
ti-dm {
|
||
|
filename = "ti-dm/am62axx/ipc_echo_testb_mcu1_0_release_strip.xer5f";
|
||
|
optional;
|
||
|
};
|
||
|
};
|
||
|
fdt-0 {
|
||
|
description = "k3-am62a7-sk";
|
||
|
type = "flat_dt";
|
||
|
arch = "arm";
|
||
|
compression = "none";
|
||
|
blob {
|
||
|
filename = SPL_AM62A7_MITYSOM_DEVKIT_DTB;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
configurations {
|
||
|
default = "conf-0";
|
||
|
conf-0 {
|
||
|
description = "k3-am62a7-sk";
|
||
|
firmware = "atf";
|
||
|
loadables = "tee", "dm", "spl",
|
||
|
"tifsstub-hs", "tifsstub-fs", "tifsstub-gp";
|
||
|
fdt = "fdt-0";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
&binman {
|
||
|
u-boot_unsigned {
|
||
|
insert-template = <&u_boot_unsigned_template>;
|
||
|
fit {
|
||
|
images {
|
||
|
uboot {
|
||
|
description = "U-Boot for AM62Ax Board";
|
||
|
};
|
||
|
fdt-0 {
|
||
|
description = "k3-am62a7-sk";
|
||
|
type = "flat_dt";
|
||
|
arch = "arm";
|
||
|
compression = "none";
|
||
|
blob {
|
||
|
filename = AM62A7_MITYSOM_DEVKIT_DTB;
|
||
|
};
|
||
|
hash {
|
||
|
algo = "crc32";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
configurations {
|
||
|
default = "conf-0";
|
||
|
conf-0 {
|
||
|
description = "k3-am62a7-sk";
|
||
|
firmware = "uboot";
|
||
|
loadables = "uboot";
|
||
|
fdt = "fdt-0";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
#endif
|
||
| arch/arm/dts/k3-am62a7-mitysom-reichert-clearchart-u-boot.dtsi | ||
|---|---|---|
|
// SPDX-License-Identifier: GPL-2.0
|
||
|
/*
|
||
|
* Common AM62A devkit dts file for SPLs
|
||
|
* Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/
|
||
|
*/
|
||
|
#include "k3-am62a-mitysom-devkit-binman.dtsi"
|
||
|
/ {
|
||
|
chosen {
|
||
|
stdout-path = "serial2:115200n8";
|
||
|
tick-timer = &main_timer0;
|
||
|
};
|
||
|
memory@80000000 {
|
||
|
bootph-all;
|
||
|
};
|
||
|
reserved-memory {
|
||
|
bootph-pre-ram;
|
||
|
};
|
||
|
};
|
||
|
&wkup_r5fss0_core0_memory_region {
|
||
|
bootph-pre-ram;
|
||
|
};
|
||
|
&main_timer0 {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&cbass_main {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&dmss {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&secure_proxy_main {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&dmsc {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&k3_pds {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&k3_clks {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&k3_reset {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&wkup_conf {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&chipid {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&ddr_pmctrl {
|
||
|
bootph-pre-ram;
|
||
|
};
|
||
|
&canuart_wake {
|
||
|
bootph-pre-ram;
|
||
|
};
|
||
|
&main_pmx0 {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&main_uart0 {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&main_uart0_pins_default {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&cbass_mcu {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&wkup_r5fss0 {
|
||
|
bootph-pre-ram;
|
||
|
};
|
||
|
&wkup_r5fss0_core0 {
|
||
|
bootph-pre-ram;
|
||
|
};
|
||
|
&cbass_wakeup {
|
||
|
bootph-all;
|
||
|
target-module@2b300050 {
|
||
|
bootph-all;
|
||
|
};
|
||
|
};
|
||
|
&mcu_pmx0 {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&main_gpio0 {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&main_i2c0 {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&main_i2c0_pins_default {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&main_i2c1 {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&main_i2c1_pins_default {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&exp1 {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&sdhci1 {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&main_mmc1_pins_default {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&vdd_sd_dv_pins_default {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&vdd_mmc1 {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&som_vdd_sd_dv {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&k3_reset {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&dmsc {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&vdd_mmc1 {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&main_bcdma {
|
||
|
reg = <0x00 0x485c0100 0x00 0x100>,
|
||
|
<0x00 0x4c000000 0x00 0x20000>,
|
||
|
<0x00 0x4a820000 0x00 0x20000>,
|
||
|
<0x00 0x4aa40000 0x00 0x20000>,
|
||
|
<0x00 0x4bc00000 0x00 0x100000>,
|
||
|
<0x00 0x48600000 0x00 0x8000>,
|
||
|
<0x00 0x484a4000 0x00 0x2000>,
|
||
|
<0x00 0x484c2000 0x00 0x2000>;
|
||
|
reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt",
|
||
|
"ringrt" , "cfg", "tchan", "rchan";
|
||
|
bootph-all;
|
||
|
};
|
||
|
&main_pktdma {
|
||
|
reg = <0x00 0x485c0000 0x00 0x100>,
|
||
|
<0x00 0x4a800000 0x00 0x20000>,
|
||
|
<0x00 0x4aa00000 0x00 0x20000>,
|
||
|
<0x00 0x4b800000 0x00 0x200000>,
|
||
|
<0x00 0x485e0000 0x00 0x10000>,
|
||
|
<0x00 0x484a0000 0x00 0x2000>,
|
||
|
<0x00 0x484c0000 0x00 0x2000>,
|
||
|
<0x00 0x48430000 0x00 0x1000>;
|
||
|
reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt",
|
||
|
"cfg", "tchan", "rchan", "rflow";
|
||
|
bootph-all;
|
||
|
};
|
||
|
&main_mdio1_pins_default {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&cpsw3g_mdio {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&cpsw3g_phy0 {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&main_rgmii1_pins_default {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&phy_gmii_sel {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&cpsw3g {
|
||
|
bootph-all;
|
||
|
ethernet-ports {
|
||
|
bootph-all;
|
||
|
};
|
||
|
};
|
||
|
&cpsw_port1 {
|
||
|
bootph-all;
|
||
|
reset-gpios = <&exp1 5 GPIO_ACTIVE_LOW>;
|
||
|
};
|
||
|
&cpsw_port2 {
|
||
|
bootph-all;
|
||
|
reset-gpios = <&exp1 4 GPIO_ACTIVE_LOW>;
|
||
|
};
|
||
|
&cpsw3g_mdio {
|
||
|
bootph-all;
|
||
|
cpsw3g_ph0 {
|
||
|
bootph-all;
|
||
|
};
|
||
|
cpsw3g_ph1 {
|
||
|
bootph-all;
|
||
|
};
|
||
|
};
|
||
|
/* Required for USB DFU Boot */
|
||
|
&usbss0 {
|
||
|
bootph-all;
|
||
|
};
|
||
|
/* Required for USB DFU Boot */
|
||
|
&usb0 {
|
||
|
dr_mode = "peripheral";
|
||
|
bootph-all;
|
||
|
/* Since role switching is not supported in U-Boot */
|
||
|
/delete-property/ extcon;
|
||
|
};
|
||
|
/* Required for USB DFU Boot */
|
||
|
&usb0_phy_ctrl {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&usb1_phy_ctrl {
|
||
|
bootph-all;
|
||
|
};
|
||
|
&ospi0 {
|
||
|
bootph-all;
|
||
|
spi_nor_flash: flash@0 {
|
||
|
bootph-all;
|
||
|
partitions {
|
||
|
bootph-all;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
| arch/arm/dts/k3-am62a7-mitysom-reichert-clearchart.dts | ||
|---|---|---|
|
// SPDX-License-Identifier: GPL-2.0
|
||
|
/*
|
||
|
* MitySom-AM62Ax Devkit
|
||
|
*/
|
||
|
/dts-v1/;
|
||
|
#include <dt-bindings/net/ti-dp83867.h>
|
||
|
#include <dt-bindings/pwm/pwm.h>
|
||
|
#include "k3-am62a7-mitysom-som.dtsi"
|
||
|
/ {
|
||
|
vcc_12v: vcc_12v {
|
||
|
compatible = "regulator-fixed";
|
||
|
regulator-name = "vcc_12v";
|
||
|
regulator-min-microvolt = <12000000>;
|
||
|
regulator-max-microvolt = <12000000>;
|
||
|
regulator-always-on;
|
||
|
regulator-boot-on;
|
||
|
};
|
||
|
vcc_5v0: vcc_5v0 {
|
||
|
/* MIC24052 */
|
||
|
compatible = "regulator-fixed";
|
||
|
regulator-name = "vcc_5v0";
|
||
|
regulator-min-microvolt = <5000000>;
|
||
|
regulator-max-microvolt = <5000000>;
|
||
|
vin-supply = <&vcc_12v>;
|
||
|
regulator-always-on;
|
||
|
regulator-boot-on;
|
||
|
};
|
||
|
vcc_3v3: vcc_3v3 {
|
||
|
/* MIC24052 */
|
||
|
compatible = "regulator-fixed";
|
||
|
regulator-name = "vcc_3v3";
|
||
|
regulator-min-microvolt = <3300000>;
|
||
|
regulator-max-microvolt = <3300000>;
|
||
|
vin-supply = <&vcc_12v>;
|
||
|
regulator-always-on;
|
||
|
regulator-boot-on;
|
||
|
};
|
||
|
vin_3v3_som: vin_3v3_som {
|
||
|
/* 3.3V SOM VIN */
|
||
|
compatible = "regulator-fixed";
|
||
|
regulator-name = "vin_3v3_som";
|
||
|
regulator-min-microvolt = <3300000>;
|
||
|
regulator-max-microvolt = <3300000>;
|
||
|
vin-supply = <&vcc_3v3>;
|
||
|
regulator-always-on;
|
||
|
regulator-boot-on;
|
||
|
};
|
||
|
vcc_3v3_vio: vcc_3v3_vio {
|
||
|
compatible = "regulator-fixed";
|
||
|
regulator-name = "vcc_3v3_vio";
|
||
|
regulator-min-microvolt = <3300000>;
|
||
|
regulator-max-microvolt = <3300000>;
|
||
|
vin-supply = <&som_vdd_3v3>;
|
||
|
regulator-always-on;
|
||
|
regulator-boot-on;
|
||
|
};
|
||
|
vcc_5v0_can0: vcc_5v0_can0 {
|
||
|
/* VIBLSD1 */
|
||
|
compatible = "regulator-fixed";
|
||
|
regulator-name = "vcc_5v0_can0";
|
||
|
regulator-min-microvolt = <5000000>;
|
||
|
regulator-max-microvolt = <5000000>;
|
||
|
vin-supply = <&vcc_12v>;
|
||
|
regulator-always-on;
|
||
|
regulator-boot-on;
|
||
|
};
|
||
|
vcc_5v0_can1: vcc_5v0_can1 {
|
||
|
/* VIBLSD1 */
|
||
|
compatible = "regulator-fixed";
|
||
|
regulator-name = "vcc_5v0_can1";
|
||
|
regulator-min-microvolt = <5000000>;
|
||
|
regulator-max-microvolt = <5000000>;
|
||
|
vin-supply = <&vcc_12v>;
|
||
|
regulator-always-on;
|
||
|
regulator-boot-on;
|
||
|
};
|
||
|
vcc_1v1_usbhub: vcc_1v1_usbhub {
|
||
|
compatible = "regulator-fixed";
|
||
|
regulator-name = "vcc_1v1_usbhub";
|
||
|
regulator-min-microvolt = <1100000>;
|
||
|
regulator-max-microvolt = <1100000>;
|
||
|
vin-supply = <&vcc_5v0>;
|
||
|
regulator-always-on;
|
||
|
regulator-boot-on;
|
||
|
};
|
||
|
vcc_1v2_eth: vcc_1v2_eth {
|
||
|
/* RT5796 */
|
||
|
compatible = "regulator-fixed";
|
||
|
regulator-name = "vcc_1v2_eth";
|
||
|
regulator-min-microvolt = <1200000>;
|
||
|
regulator-max-microvolt = <1200000>;
|
||
|
vin-supply = <&vcc_5v0>;
|
||
|
regulator-always-on;
|
||
|
regulator-boot-on;
|
||
|
};
|
||
|
vdd_mmc1: vdd_mmc1 {
|
||
|
/* TPS2051 */
|
||
|
compatible = "regulator-fixed";
|
||
|
regulator-name = "vdd_mmc1";
|
||
|
regulator-min-microvolt = <3300000>;
|
||
|
regulator-max-microvolt = <3300000>;
|
||
|
regulator-always-on;
|
||
|
regulator-boot-on;
|
||
|
enable-active-high;
|
||
|
/*vin-supply = <&vcc_3v3_vio>;*/
|
||
|
};
|
||
|
som_vdd_sd_dv: som_vdd_sd_dv {
|
||
|
/* Output of TPS65219. Switches voltage for SD card */
|
||
|
compatible = "regulator-gpio";
|
||
|
regulator-name = "vsel_sd";
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&vdd_sd_dv_pins_default>;
|
||
|
regulator-min-microvolt = <1800000>;
|
||
|
regulator-max-microvolt = <3300000>;
|
||
|
regulator-boot-on;
|
||
|
vin-supply = <&ldo1>;
|
||
|
gpios = <&main_gpio0 31 GPIO_ACTIVE_HIGH>;
|
||
|
states = <1800000 0x0>,
|
||
|
<3300000 0x1>;
|
||
|
};
|
||
|
wlan_en: wlan_en {
|
||
|
/* OUTPUT of SN74AVC2T244DQMR */
|
||
|
compatible = "regulator-fixed";
|
||
|
regulator-name = "wlan_en";
|
||
|
regulator-min-microvolt = <1800000>;
|
||
|
regulator-max-microvolt = <1800000>;
|
||
|
enable-active-high;
|
||
|
vin-supply = <&som_vdd_1v8>;
|
||
|
gpios = <&main_gpio0 71 GPIO_ACTIVE_HIGH>;
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&wlan_en_pins_default>;
|
||
|
};
|
||
|
tlv320_mclk: clk-0 {
|
||
|
#clock-cells = <0>;
|
||
|
compatible = "fixed-clock";
|
||
|
clock-frequency = <24576000>;
|
||
|
};
|
||
|
codec_audio: sound {
|
||
|
compatible = "simple-audio-card";
|
||
|
simple-audio-card,name = "AM62x";
|
||
|
simple-audio-card,widgets =
|
||
|
"Headphone", "Headphone Jack",
|
||
|
"Microphone", "Microphone Jack";
|
||
|
simple-audio-card,routing =
|
||
|
"Headphone Jack", "HPL",
|
||
|
"Headphone Jack", "HPR",
|
||
|
"MICIN", "Microphone Jack";
|
||
|
simple-audio-card,format = "i2s";
|
||
|
simple-audio-card,bitclock-master = <&sound_master>;
|
||
|
simple-audio-card,frame-master = <&sound_master>;
|
||
|
/* simple-audio-card,bitclock-inversion; */
|
||
|
simple-audio-card,cpu {
|
||
|
sound-dai = <&mcasp0>;
|
||
|
};
|
||
|
sound_master: simple-audio-card,codec {
|
||
|
sound-dai = <&tlv320aic26>;
|
||
|
clocks = <&tlv320_mclk>;
|
||
|
};
|
||
|
};
|
||
|
/* D1 DBG_LED on devkit located above the USB hub ports */
|
||
|
leds {
|
||
|
compatible = "pwm-leds";
|
||
|
led-0 {
|
||
|
label = "devkit-d1";
|
||
|
pwms = <&main_pwm7 0 7812500 0>;
|
||
|
max-brightness = <255>;
|
||
|
color = <LED_COLOR_ID_GREEN>;
|
||
|
linux,default-trigger = "heartbeat";
|
||
|
function = LED_FUNCTION_HEARTBEAT;
|
||
|
default-state = "off";
|
||
|
active-low;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
backlight_pwm: pwm-backlight {
|
||
|
status = "okay";
|
||
|
compatible = "pwm-backlight";
|
||
|
pwms = <&epwm0 0 500000 0>;
|
||
|
brightness-levels = <0 32 64 96 128 160 192 224 255>;
|
||
|
default-brightness-level = <8>;
|
||
|
power-supply = <&vcc_12v>;
|
||
|
enable-gpios = <&main_gpio0 87 GPIO_ACTIVE_HIGH>;
|
||
|
};
|
||
|
|
||
|
display_panel: panel {
|
||
|
status = "okay";
|
||
|
compatible = "simple-panel";
|
||
|
power-supply = <&vcc_5v0>;
|
||
|
backlight = <&backlight_pwm>;
|
||
|
|
||
|
width-mm = <527>;
|
||
|
height-mm = <296>;
|
||
|
|
||
|
display-timings {
|
||
|
native-mode = <&timing0>;
|
||
|
timing0: timing0 {
|
||
|
clock-frequency = <120000000>;
|
||
|
hactive = <1920>;
|
||
|
vactive = <1080>;
|
||
|
hfront-porch = <60>;
|
||
|
hback-porch = <232>;
|
||
|
hsync-len = <8>;
|
||
|
vfront-porch = <10>;
|
||
|
vback-porch = <31>;
|
||
|
vsync-len = <4>;
|
||
|
hsync-active = <0>;
|
||
|
vsync-active = <0>;
|
||
|
de-active = <1>;
|
||
|
pixelclk-active = <0>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
port {
|
||
|
panel_in: endpoint {
|
||
|
remote-endpoint = <&display_out>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
|
||
|
};
|
||
|
|
||
|
framebuffer0: framebuffer@0 {
|
||
|
compatible = "simple-framebuffer";
|
||
|
power-domains = <&k3_pds 186 TI_SCI_PD_EXCLUSIVE>;
|
||
|
clocks = <&k3_clks 186 6>,
|
||
|
<&k3_clks 186 0>,
|
||
|
<&k3_clks 186 2>;
|
||
|
display = <&dss>;
|
||
|
reg = <0x00 0xff700000 0x00 0x008ca000>;
|
||
|
width = <1920>;
|
||
|
height = <1200>;
|
||
|
stride = <(1920 * 4)>;
|
||
|
format = "x8r8g8b8";
|
||
|
};
|
||
|
main_pwm7: dmtimer-main-pwm-7 {
|
||
|
pinctrl-0 = <&usr_led_pins_default>;
|
||
|
pinctrl-names = "default";
|
||
|
compatible = "ti,omap-dmtimer-pwm";
|
||
|
#pwm-cells = <3>;
|
||
|
ti,timers = <&main_timer7>;
|
||
|
};
|
||
|
usb_micro_con: usb_microb_connector {
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <0>;
|
||
|
compatible = "gpio-usb-b-connector", "usb-b-connector";
|
||
|
type = "micro";
|
||
|
label = "USB Micro Connector";
|
||
|
id-gpios = <&main_gpio0 37 GPIO_ACTIVE_HIGH>;
|
||
|
port@0 {
|
||
|
reg = <0>;
|
||
|
usb_micro_con_in: endpoint {
|
||
|
remote-endpoint = <µb>;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
&main_pmx0 {
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&main_system_pins_default &main_gpio_p3_pins_default>;
|
||
|
baseboard_ioexp_intr_pins_default: baseboard-ioexp-intr-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_IOPAD(0x00ac, PIN_INPUT, 7) /* (M21) GPMC0_CSn1.GPIO0_42 */
|
||
|
>;
|
||
|
};
|
||
|
main_i2c1_pins_default: main-i2c1-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_IOPAD(0x01e8, PIN_INPUT_PULLUP, 0) /* (C17) I2C1_SCL */
|
||
|
AM62AX_IOPAD(0x01ec, PIN_INPUT_PULLUP, 0) /* (E17) I2C1_SDA */
|
||
|
>;
|
||
|
};
|
||
|
main_mmc1_pins_default: main-mmc1-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_IOPAD(0x023c, PIN_INPUT, 0) /* (C21) MMC1_CMD */
|
||
|
AM62AX_IOPAD(0x0234, PIN_OUTPUT, 0) /* (E22) MMC1_CLK */
|
||
|
AM62AX_IOPAD(0x0230, PIN_INPUT, 0) /* (B22) MMC1_DAT0 */
|
||
|
AM62AX_IOPAD(0x022c, PIN_INPUT, 0) /* (D21) MMC1_DAT1 */
|
||
|
AM62AX_IOPAD(0x0228, PIN_INPUT, 0) /* (C22) MMC1_DAT2 */
|
||
|
AM62AX_IOPAD(0x0224, PIN_INPUT, 0) /* (D22) MMC1_DAT3 */
|
||
|
AM62AX_IOPAD(0x0240, PIN_INPUT, 0) /* (E18) MMC1_SDCD */
|
||
|
>;
|
||
|
};
|
||
|
main_mmc2_pins_default: main-mmc2-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_IOPAD(0x0120, PIN_INPUT, 0) /* (G22) MMC2_CMD */
|
||
|
AM62AX_IOPAD(0x0118, PIN_OUTPUT, 0) /* (H22) MMC2_CLK */
|
||
|
AM62AX_IOPAD(0x011C, PIN_INPUT, 0) /* () MMC2_CLKLB */
|
||
|
AM62AX_IOPAD(0x0114, PIN_INPUT, 0) /* (E20) MMC2_DAT0 */
|
||
|
AM62AX_IOPAD(0x0110, PIN_INPUT, 0) /* (F21) MMC2_DAT1 */
|
||
|
AM62AX_IOPAD(0x010c, PIN_INPUT, 0) /* (F20) MMC2_DAT2 */
|
||
|
AM62AX_IOPAD(0x0108, PIN_INPUT, 0) /* (G21) MMC2_DAT3 */
|
||
|
>;
|
||
|
};
|
||
|
main_mdio1_pins_default: main-mdio1-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_IOPAD(0x0160, PIN_OUTPUT, 0) /* (V12) MDIO0_MDC */
|
||
|
AM62AX_IOPAD(0x015c, PIN_INPUT, 0) /* (V13) MDIO0_MDIO */
|
||
|
>;
|
||
|
};
|
||
|
main_rgmii1_pins_default: main-rgmii1-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_IOPAD(0x014c, PIN_INPUT, 0) /* (AB16) RGMII1_RD0 */
|
||
|
AM62AX_IOPAD(0x0150, PIN_INPUT, 0) /* (V15) RGMII1_RD1 */
|
||
|
AM62AX_IOPAD(0x0154, PIN_INPUT, 0) /* (W15) RGMII1_RD2 */
|
||
|
AM62AX_IOPAD(0x0158, PIN_INPUT, 0) /* (V14) RGMII1_RD3 */
|
||
|
AM62AX_IOPAD(0x0148, PIN_INPUT, 0) /* (AA16) RGMII1_RXC */
|
||
|
AM62AX_IOPAD(0x0144, PIN_INPUT, 0) /* (AA15) RGMII1_RX_CTL */
|
||
|
AM62AX_IOPAD(0x0134, PIN_INPUT, 0) /* (Y17) RGMII1_TD0 */
|
||
|
AM62AX_IOPAD(0x0138, PIN_INPUT, 0) /* (V16) RGMII1_TD1 */
|
||
|
AM62AX_IOPAD(0x013c, PIN_INPUT, 0) /* (Y16) RGMII1_TD2 */
|
||
|
AM62AX_IOPAD(0x0140, PIN_INPUT, 0) /* (AA17) RGMII1_TD3 */
|
||
|
AM62AX_IOPAD(0x0130, PIN_INPUT, 0) /* (AB17) RGMII1_TXC */
|
||
|
AM62AX_IOPAD(0x012c, PIN_INPUT, 0) /* (W16) RGMII1_TX_CTL */
|
||
|
>;
|
||
|
};
|
||
|
main_rgmii2_pins_default: main-rgmii2-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_IOPAD(0x0184, PIN_INPUT, 0) /* (AA21) RGMII2_RD0 */
|
||
|
AM62AX_IOPAD(0x0188, PIN_INPUT, 0) /* (Y20) RGMII2_RD1 */
|
||
|
AM62AX_IOPAD(0x018c, PIN_INPUT, 0) /* (AB21) RGMII2_RD2 */
|
||
|
AM62AX_IOPAD(0x0190, PIN_INPUT, 0) /* (AB20) RGMII2_RD3 */
|
||
|
AM62AX_IOPAD(0x0180, PIN_INPUT, 0) /* (AA20) RGMII2_RXC */
|
||
|
AM62AX_IOPAD(0x017c, PIN_INPUT, 0) /* (W18) RGMII2_RX_CTL */
|
||
|
AM62AX_IOPAD(0x016c, PIN_INPUT, 0) /* (AA19) RGMII2_TD0 */
|
||
|
AM62AX_IOPAD(0x0170, PIN_INPUT, 0) /* (Y18) RGMII2_TD1 */
|
||
|
AM62AX_IOPAD(0x0174, PIN_INPUT, 0) /* (AA18) RGMII2_TD2 */
|
||
|
AM62AX_IOPAD(0x0178, PIN_INPUT, 0) /* (W17) RGMII2_TD3 */
|
||
|
AM62AX_IOPAD(0x0168, PIN_INPUT, 0) /* (AB19) RGMII2_TXC */
|
||
|
AM62AX_IOPAD(0x0164, PIN_INPUT, 0) /* (Y19) RGMII2_TX_CTL */
|
||
|
>;
|
||
|
};
|
||
|
main_dss0_pins_default: main-dss0-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_IOPAD(0x0100, PIN_OUTPUT, 0) /* (V17) VOUT0_VSYNC */
|
||
|
AM62AX_IOPAD(0x00f8, PIN_OUTPUT, 0) /* (T18) VOUT0_HSYNC */
|
||
|
AM62AX_IOPAD(0x0104, PIN_OUTPUT, 0) /* (AA22) VOUT0_PCLK */
|
||
|
AM62AX_IOPAD(0x00fc, PIN_OUTPUT, 0) /* (U17) VOUT0_DE */
|
||
|
AM62AX_IOPAD(0x00b8, PIN_OUTPUT, 0) /* (U22) VOUT0_DATA0 */
|
||
|
AM62AX_IOPAD(0x00bc, PIN_OUTPUT, 0) /* (U21) VOUT0_DATA1 */
|
||
|
AM62AX_IOPAD(0x00c0, PIN_OUTPUT, 0) /* (U20) VOUT0_DATA2 */
|
||
|
AM62AX_IOPAD(0x00c4, PIN_OUTPUT, 0) /* (U19) VOUT0_DATA3 */
|
||
|
AM62AX_IOPAD(0x00c8, PIN_OUTPUT, 0) /* (T19) VOUT0_DATA4 */
|
||
|
AM62AX_IOPAD(0x00cc, PIN_OUTPUT, 0) /* (U18) VOUT0_DATA5 */
|
||
|
AM62AX_IOPAD(0x00d0, PIN_OUTPUT, 0) /* (V22) VOUT0_DATA6 */
|
||
|
AM62AX_IOPAD(0x00d4, PIN_OUTPUT, 0) /* (V21) VOUT0_DATA7 */
|
||
|
AM62AX_IOPAD(0x00d8, PIN_OUTPUT, 0) /* (V19) VOUT0_DATA8 */
|
||
|
AM62AX_IOPAD(0x00dc, PIN_OUTPUT, 0) /* (V18) VOUT0_DATA9 */
|
||
|
AM62AX_IOPAD(0x00e0, PIN_OUTPUT, 0) /* (W22) VOUT0_DATA10 */
|
||
|
AM62AX_IOPAD(0x00e4, PIN_OUTPUT, 0) /* (W21) VOUT0_DATA11 */
|
||
|
AM62AX_IOPAD(0x00e8, PIN_OUTPUT, 0) /* (W20) VOUT0_DATA12 */
|
||
|
AM62AX_IOPAD(0x00ec, PIN_OUTPUT, 0) /* (W19) VOUT0_DATA13 */
|
||
|
AM62AX_IOPAD(0x00f0, PIN_OUTPUT, 0) /* (Y21) VOUT0_DATA14 */
|
||
|
AM62AX_IOPAD(0x00f4, PIN_OUTPUT, 0) /* (Y22) VOUT0_DATA15 */
|
||
|
AM62AX_IOPAD(0x005c, PIN_OUTPUT, 1) /* (P22) GPMC0_AD8.VOUT0_DATA16 */
|
||
|
AM62AX_IOPAD(0x0060, PIN_OUTPUT, 1) /* (R19) GPMC0_AD9.VOUT0_DATA17 */
|
||
|
AM62AX_IOPAD(0x0064, PIN_OUTPUT, 1) /* (R20) GPMC0_AD10.VOUT0_DATA18 */
|
||
|
AM62AX_IOPAD(0x0068, PIN_OUTPUT, 1) /* (R22) GPMC0_AD11.VOUT0_DATA19 */
|
||
|
AM62AX_IOPAD(0x006c, PIN_OUTPUT, 1) /* (T22) GPMC0_AD12.VOUT0_DATA20 */
|
||
|
AM62AX_IOPAD(0x0070, PIN_OUTPUT, 1) /* (R21) GPMC0_AD13.VOUT0_DATA21 */
|
||
|
AM62AX_IOPAD(0x0074, PIN_OUTPUT, 1) /* (T20) GPMC0_AD14.VOUT0_DATA22 */
|
||
|
AM62AX_IOPAD(0x0078, PIN_OUTPUT, 1) /* (T21) GPMC0_AD15.VOUT0_DATA23 */
|
||
|
>;
|
||
|
};
|
||
|
main_spi0_pins_default: spi0-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_IOPAD(0x01bc, PIN_INPUT, 0) /* (A17) SPI0_CLK */
|
||
|
AM62AX_IOPAD(0x01b8, PIN_INPUT, 0) /* (C16) SPI0_CS1 */
|
||
|
AM62AX_IOPAD(0x01c0, PIN_INPUT, 0) /* (B15) SPI0_D0 */
|
||
|
AM62AX_IOPAD(0x01c4, PIN_INPUT, 0) /* (E15) SPI0_D1 */
|
||
|
>;
|
||
|
};
|
||
|
mcasp0_pins_default: mcasp0-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_IOPAD(0x00a0, PIN_OUTPUT, 1) /* (K17) GPMC0_WPn.AUDIO_EXT_REFCLK1 */
|
||
|
/* Devkit J16 controls if the codec or PCM interface is used */
|
||
|
AM62AX_IOPAD(0x01a4, PIN_INPUT, 0) /* (A19) MCASP0_ACLKX */
|
||
|
AM62AX_IOPAD(0x01a8, PIN_INPUT, 0) /* (A20) MCASP0_AFSX */
|
||
|
AM62AX_IOPAD(0x01a0, PIN_INPUT, 0) /* (B20) MCASP0_AXR0 */
|
||
|
AM62AX_IOPAD(0x019c, PIN_INPUT, 0) /* (B18) MCASP0_AXR1 */
|
||
|
>;
|
||
|
};
|
||
|
vdd_sd_dv_pins_default: vdd-sd-dv-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_IOPAD(0x007c, PIN_INPUT, 7) /* (N22) GPMC0_CLK.GPIO0_31 */
|
||
|
>;
|
||
|
};
|
||
|
wlan_irq_pins_default: main-wlirq-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_IOPAD(0x0128, PIN_INPUT, 7) /* (E21) MMC2_SDWP.GPIO0_72 */
|
||
|
>;
|
||
|
};
|
||
|
wlan_en_pins_default: wlan-en-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_IOPAD(0x0124, PIN_INPUT, 7) /* (F22) MMC2_SDCD.GPIO0_71 */
|
||
|
>;
|
||
|
};
|
||
|
usb1_pins_default: usb1-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_IOPAD(0x0098, PIN_INPUT_PULLUP, 7) /* (R18) GPMC0_WAIT0.GPIO0_37 */
|
||
|
AM62AX_IOPAD(0x009c, PIN_INPUT, 7) /* (R17) GPMC0_WAIT1.GPIO0_38 */
|
||
|
>;
|
||
|
};
|
||
|
usr_led_pins_default: usr-led-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_IOPAD(0x0244, PIN_OUTPUT, 2) /* (D18) MMC1_SDWP.TIMER_IO7 */
|
||
|
>;
|
||
|
};
|
||
|
oldi_backlight_pins_default: epwm0-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_IOPAD(0x01b4, PIN_OUTPUT, 2) /* (A13) SPI0_CS0.EHRPWM0_A */
|
||
|
>;
|
||
|
};
|
||
|
main_system_pins_default: main-system-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_IOPAD(0x0250, PIN_OUTPUT, 0) /* (F18) PORz_OUT */
|
||
|
AM62AX_IOPAD(0x024c, PIN_OUTPUT, 0) /* (F19) RESETSTATz */
|
||
|
AM62AX_IOPAD(0x0248, PIN_INPUT_PULLUP, 0) /* (E19) RESET_REQz */
|
||
|
>;
|
||
|
};
|
||
|
main_gpio_p3_pins_default: gpio-p3-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
/* P3 Connector */
|
||
|
AM62AX_IOPAD(0x003c, PIN_INPUT_PULLDOWN, 7) /* (N21) GPMC0_AD0.GPIO0_15 */
|
||
|
AM62AX_IOPAD(0x0040, PIN_INPUT_PULLDOWN, 7) /* (N20) GPMC0_AD1.GPIO0_16 */
|
||
|
AM62AX_IOPAD(0x0044, PIN_INPUT_PULLDOWN, 7) /* (N19) GPMC0_AD2.GPIO0_17 */
|
||
|
AM62AX_IOPAD(0x0048, PIN_INPUT_PULLDOWN, 7) /* (N18) GPMC0_AD3.GPIO0_18 */
|
||
|
AM62AX_IOPAD(0x004c, PIN_INPUT_PULLDOWN, 7) /* (N17) GPMC0_AD4.GPIO0_19 */
|
||
|
AM62AX_IOPAD(0x0050, PIN_INPUT_PULLDOWN, 7) /* (P18) GPMC0_AD5.GPIO0_20 */
|
||
|
AM62AX_IOPAD(0x0054, PIN_INPUT_PULLDOWN, 7) /* (P19) GPMC0_AD6.GPIO0_21 */
|
||
|
AM62AX_IOPAD(0x0058, PIN_INPUT_PULLDOWN, 7) /* (P21) GPMC0_AD7.GPIO0_22 */
|
||
|
AM62AX_IOPAD(0x0084, PIN_INPUT_PULLDOWN, 7) /* (L18) GPMC0_ADVn_ALE.GPIO0_32 */
|
||
|
AM62AX_IOPAD(0x0088, PIN_INPUT_PULLDOWN, 7) /* (L17) GPMC0_OEn_REn.GPIO0_33 */
|
||
|
AM62AX_IOPAD(0x008c, PIN_INPUT_PULLDOWN, 7) /* (K19) GPMC0_WEn.GPIO0_34 */
|
||
|
AM62AX_IOPAD(0x0090, PIN_INPUT_PULLDOWN, 7) /* (L19) GPMC0_BE0n_CLE.GPIO0_35 */
|
||
|
AM62AX_IOPAD(0x0094, PIN_INPUT_PULLDOWN, 7) /* (M18) GPMC0_BE1n.GPIO0_36 */
|
||
|
AM62AX_IOPAD(0x00a4, PIN_INPUT_PULLDOWN, 7) /* (K18) GPMC0_DIR.GPIO0_40 */
|
||
|
AM62AX_IOPAD(0x00a8, PIN_INPUT_PULLDOWN, 7) /* (M19) GPMC0_CSn0.GPIO0_41 */
|
||
|
AM62AX_IOPAD(0x00b0, PIN_INPUT_PULLDOWN, 7) /* (M22) GPMC0_CSn2.GPIO0_43 */
|
||
|
AM62AX_IOPAD(0x00b4, PIN_INPUT_PULLDOWN, 7) /* (M20) GPMC0_CSn3.GPIO0_44 */
|
||
|
AM62AX_IOPAD(0x0194, PIN_INPUT_PULLDOWN, 7) /* (C19) MCASP0_AXR3.GPIO1_7 */
|
||
|
AM62AX_IOPAD(0x0198, PIN_INPUT_PULLDOWN, 7) /* (B19) MCASP0_AXR2.GPIO1_8 */
|
||
|
AM62AX_IOPAD(0x01b4, PIN_INPUT_PULLDOWN, 7) /* (D16) SPI0_CS0.GPIO1_15 */
|
||
|
AM62AX_IOPAD(0x01d0, PIN_INPUT_PULLDOWN, 7) /* (F14) UART0_CTSn.GPIO1_22 */
|
||
|
AM62AX_IOPAD(0x01d4, PIN_INPUT_PULLDOWN, 7) /* (C15) UART0_RTSn.GPIO1_23 */
|
||
|
AM62AX_IOPAD(0x01d8, PIN_INPUT_PULLDOWN, 7) /* (B17) MCAN0_TX.GPIO1_24 */
|
||
|
AM62AX_IOPAD(0x01dc, PIN_INPUT_PULLDOWN, 7) /* (C18) MCAN0_RX.GPIO1_25 */
|
||
|
AM62AX_IOPAD(0x01f0, PIN_INPUT_PULLDOWN, 7) /* (B16) EXT_REFCLK1.GPIO1_30 */
|
||
|
/* (D16) EXTINTn.GPIO1_31 Used on SOM for PMIC interrupt */
|
||
|
>;
|
||
|
};
|
||
|
};
|
||
|
&mcu_pmx0 {
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&som_mcu_system_pins_default &mcu_jtag_pins_default &mcu_uart1_pins_default &mcu_system_pins_default &mcu_gpio_p3_pins_default>;
|
||
|
status = "okay";
|
||
|
mcu_jtag_pins_default: jtag-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_MCU_IOPAD(0x0078, PIN_INPUT_PULLUP, 0) /* (C13) EMU0 */
|
||
|
AM62AX_MCU_IOPAD(0x007c, PIN_INPUT_PULLUP, 0) /* (E10) EMU1 */
|
||
|
AM62AX_MCU_IOPAD(0x0064, PIN_INPUT_PULLUP, 0) /* (A14) TCK */
|
||
|
AM62AX_MCU_IOPAD(0x006c, PIN_INPUT_PULLUP, 0) /* (A16) TDI */
|
||
|
AM62AX_MCU_IOPAD(0x0070, PIN_OUTPUT_PULLUP, 0) /* (C14) TDO */
|
||
|
AM62AX_MCU_IOPAD(0x0074, PIN_INPUT_PULLUP, 0) /* (B14) TMS */
|
||
|
AM62AX_MCU_IOPAD(0x0068, PIN_INPUT_PULLDOWN, 0) /* (F15) TRSTn */
|
||
|
>;
|
||
|
};
|
||
|
mcu_oldi_touch_pins_default: oldi-touch-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_MCU_IOPAD(0x001c, PIN_INPUT_PULLUP, 7) /* (B11) MCU_UART0_CTSn.MCU_GPIO0_7 */
|
||
|
>;
|
||
|
};
|
||
|
mcu_mcan0_pins_default: mcu-mcan0-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_MCU_IOPAD(0x0038, PIN_INPUT, 0) /* (E8) MCU_MCAN0_RX */
|
||
|
AM62AX_MCU_IOPAD(0x0034, PIN_OUTPUT, 0) /* (C7) MCU_MCAN0_TX */
|
||
|
>;
|
||
|
};
|
||
|
mcu_mcan1_pins_default: mcu-mcan1-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_MCU_IOPAD(0x0040, PIN_INPUT, 0) /* (B9) MCU_MCAN1_RX */
|
||
|
AM62AX_MCU_IOPAD(0x003c, PIN_OUTPUT, 0) /* (D7) MCU_MCAN1_TX */
|
||
|
>;
|
||
|
};
|
||
|
bt_uart0_pins_default: wkup-uart0-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_MCU_IOPAD(0x002c, PIN_INPUT, 0) /* (C10) WKUP_UART0_CTSn */
|
||
|
AM62AX_MCU_IOPAD(0x0030, PIN_OUTPUT, 0) /* (C8) WKUP_UART0_RTSn */
|
||
|
AM62AX_MCU_IOPAD(0x0024, PIN_INPUT, 0) /* (C9) WKUP_UART0_RXD */
|
||
|
AM62AX_MCU_IOPAD(0x0028, PIN_OUTPUT, 0) /* (E9) WKUP_UART0_TXD */
|
||
|
>;
|
||
|
};
|
||
|
mcu_uart1_pins_default: mcu-uart1-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_MCU_IOPAD(0x0014, PIN_INPUT, 0) /* (D8) MCU_UART0_RXD */
|
||
|
AM62AX_MCU_IOPAD(0x0018, PIN_OUTPUT, 0) /* (F8) MCU_UART0_TXD */
|
||
|
>;
|
||
|
};
|
||
|
mcu_system_pins_default: mcu-system-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
AM62AX_MCU_IOPAD(0x005c, PIN_OUTPUT, 0) /* (D14) MCU_RESETSTATz */
|
||
|
AM62AX_MCU_IOPAD(0x0054, PIN_INPUT_PULLUP, 0) /* (C12) MCU_RESETz */
|
||
|
>;
|
||
|
};
|
||
|
mcu_gpio_p3_pins_default: mcu-gpio-p3-default-pins {
|
||
|
pinctrl-single,pins = <
|
||
|
/* P3 Connector */
|
||
|
AM62AX_MCU_IOPAD(0x0000, PIN_INPUT_PULLDOWN, 7) /* (E11) MCU_SPI0_CS0.MCU_GPIO0_0 */
|
||
|
AM62AX_MCU_IOPAD(0x0004, PIN_INPUT_PULLDOWN, 7) /* (C11) MCU_SPI0_CS1.MCU_GPIO0_1 */
|
||
|
AM62AX_MCU_IOPAD(0x0008, PIN_INPUT_PULLDOWN, 7) /* (B13) MCU_SPI0_CLK.MCU_GPIO0_2 */
|
||
|
AM62AX_MCU_IOPAD(0x000c, PIN_INPUT_PULLDOWN, 7) /* (A15) MCU_SPI0_D0.MCU_GPIO0_3 */
|
||
|
AM62AX_MCU_IOPAD(0x0010, PIN_INPUT_PULLDOWN, 7) /* (B12) MCU_SPI0_D1.MCU_GPIO0_4 */
|
||
|
AM62AX_MCU_IOPAD(0x0044, PIN_INPUT_PULLDOWN, 7) /* (E12) MCU_I2C0_SCL.MCU_GPIO0_17 */
|
||
|
AM62AX_MCU_IOPAD(0x0048, PIN_INPUT_PULLDOWN, 7) /* (D9) MCU_I2C0_SDA.MCU_GPIO0_18 */
|
||
|
AM62AX_MCU_IOPAD(0x004c, PIN_INPUT_PULLDOWN, 7) /* (D13) WKUP_I2C0_SCL.MCU_GPIO0_19 */
|
||
|
AM62AX_MCU_IOPAD(0x0050, PIN_INPUT_PULLDOWN, 7) /* (E13) WKUP_I2C0_SDA.MCU_GPIO0_20 */
|
||
|
>;
|
||
|
};
|
||
|
};
|
||
|
&mcu_gpio0 {
|
||
|
status = "okay";
|
||
|
};
|
||
|
&main_i2c1 {
|
||
|
status = "okay";
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&main_i2c1_pins_default>;
|
||
|
clock-frequency = <100000>;
|
||
|
/* MIPI Raspberry Pi Camera V2 0x10 */
|
||
|
/* GPIO expander 0x20 */
|
||
|
exp1: gpio@20 {
|
||
|
compatible = "nxp,pcal6408";
|
||
|
reg = <0x20>;
|
||
|
gpio-controller;
|
||
|
#gpio-cells = <2>;
|
||
|
gpio-line-names =
|
||
|
"ETH1_INT_N", "ETH2_INT_N",
|
||
|
"TFP410_RESET_N", "OLDI_RESETN",
|
||
|
"ETH2_RESETN", "ETH1_RESETN",
|
||
|
"WLAN_BT_EN", "AUDIO_RESET_N";
|
||
|
interrupt-parent = <&main_gpio0>;
|
||
|
interrupts = <42 IRQ_TYPE_EDGE_FALLING>;
|
||
|
interrupt-controller;
|
||
|
#interrupt-cells = <2>;
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&baseboard_ioexp_intr_pins_default>;
|
||
|
};
|
||
|
/* Power Monitor 0x6F */
|
||
|
ltc2945@6f {
|
||
|
status = "okay";
|
||
|
compatible = "adi,ltc2945";
|
||
|
reg = <0x6f>;
|
||
|
// 1000 microOhms is the default
|
||
|
shunt-resistor-micro-ohms = <20000>;
|
||
|
};
|
||
|
/* P3 Expansion Header */
|
||
|
};
|
||
|
&main_spi0 {
|
||
|
status = "okay";
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&main_spi0_pins_default>;
|
||
|
ti,spi-num-cs = <2>;
|
||
|
ti,pindir-d0-out-d1-in;
|
||
|
tlv320aic26: audio-codec@1 {
|
||
|
status = "okay";
|
||
|
#sound-dai-cells = <0>;
|
||
|
compatible = "ti,tlv320aic26";
|
||
|
reg = <0x1>;
|
||
|
/* Regulators */
|
||
|
AVDD-supply = <&vcc_3v3_vio>;
|
||
|
IOVDD-supply = <&vcc_3v3_vio>;
|
||
|
DRVDD-supply = <&vcc_3v3_vio>;
|
||
|
DVDD-supply = <&som_vdd_1v8>;
|
||
|
reset-gpios = <&exp1 7 GPIO_ACTIVE_LOW>;
|
||
|
spi-max-frequency = <1000000>;
|
||
|
spi-cpha;
|
||
|
};
|
||
|
};
|
||
|
&sdhci1 {
|
||
|
/* SD/MMC */
|
||
|
status = "okay";
|
||
|
vmmc-supply = <&vdd_mmc1>;
|
||
|
vqmmc-supply = <&som_vdd_sd_dv>;
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&main_mmc1_pins_default>;
|
||
|
disable-wp;
|
||
|
/* Disable 1.8V mode when VSEL_SD is not controllable */
|
||
|
/*no-1-8-v;*/
|
||
|
};
|
||
|
/*
|
||
|
&sdhci2 {
|
||
|
vmmc-supply = <&wlan_en>;
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&main_mmc2_pins_default>;
|
||
|
bus-width = <4>;
|
||
|
non-removable;
|
||
|
ti,fails-without-test-cd;
|
||
|
cap-power-off-card;
|
||
|
keep-power-in-suspend;
|
||
|
assigned-clocks = <&k3_clks 157 158>;
|
||
|
assigned-clock-parents = <&k3_clks 157 160>;
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <0>;
|
||
|
wlcore: wlcore@2 {
|
||
|
compatible = "ti,wl1837";
|
||
|
reg = <2>;
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&wlan_irq_pins_default>;
|
||
|
interrupt-parent = <&main_gpio0>;
|
||
|
interrupts = <72 IRQ_TYPE_EDGE_FALLING>;
|
||
|
};
|
||
|
};
|
||
|
*/
|
||
|
/* Main Timer2 is used by C7x DSP */
|
||
|
&main_timer2 {
|
||
|
status = "reserved";
|
||
|
};
|
||