2023-08-04 10:08:08 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
/*
|
|
|
|
* Copyright 2023 Toradex
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "k3-am625-verdin-wifi-dev-binman.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
aliases {
|
|
|
|
eeprom0 = &eeprom_module;
|
|
|
|
eeprom1 = &eeprom_carrier_board;
|
|
|
|
eeprom2 = &eeprom_display_adapter;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
tick-timer = &main_timer0;
|
|
|
|
};
|
|
|
|
|
|
|
|
memory@80000000 {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-11-15 03:28:55 +00:00
|
|
|
&main_timer0 {
|
|
|
|
clock-frequency = <25000000>;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
2023-10-28 17:36:02 +00:00
|
|
|
&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";
|
2023-11-14 20:28:56 +00:00
|
|
|
bootph-all;
|
2023-10-28 17:36:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&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;
|
|
|
|
};
|
|
|
|
|
2023-08-04 10:08:08 +00:00
|
|
|
&cpsw3g {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&cpsw3g_phy0 {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&cpsw3g_phy1 {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&cpsw_port1 {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&cpsw_port2 {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* MDIO, shared by Verdin ETH_1 (On-module PHY) and Verdin ETH_2_RGMII */
|
|
|
|
&cpsw3g_mdio {
|
|
|
|
/delete-property/ assigned-clocks;
|
|
|
|
/delete-property/ assigned-clock-parents;
|
|
|
|
/delete-property/ assigned-clock-rates;
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&dmsc {
|
|
|
|
k3_sysreset: sysreset-controller {
|
|
|
|
compatible = "ti,sci-sysreset";
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&fss {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&main_gpio0 {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* On-module I2C - PMIC_I2C */
|
|
|
|
&main_i2c0 {
|
|
|
|
eeprom_module: eeprom@50 {
|
|
|
|
compatible = "i2c-eeprom";
|
|
|
|
pagesize = <16>;
|
|
|
|
reg = <0x50>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Verdin I2C_1 */
|
|
|
|
&main_i2c1 {
|
|
|
|
/* EEPROM on display adapter (MIPI DSI Display Adapter) */
|
|
|
|
eeprom_display_adapter: eeprom@50 {
|
|
|
|
compatible = "i2c-eeprom";
|
|
|
|
reg = <0x50>;
|
|
|
|
pagesize = <16>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* EEPROM on carrier board */
|
|
|
|
eeprom_carrier_board: eeprom@57 {
|
|
|
|
compatible = "i2c-eeprom";
|
|
|
|
reg = <0x57>;
|
|
|
|
pagesize = <16>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Verdin UART_3, used as the Linux console */
|
|
|
|
&main_uart0 {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* Verdin UART_1 */
|
|
|
|
&main_uart1 {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_ctrl_sleep_moci {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_i2c0 {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_i2c1 {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_sdhci0 {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_uart0 {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_uart1 {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl_wkup_uart0 {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&sdhci0 {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&sdhci2 {
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&verdin_ctrl_sleep_moci {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* Verdin UART_2 */
|
|
|
|
&wkup_uart0 {
|
2023-10-10 11:13:04 +00:00
|
|
|
bootph-all;
|
2023-08-04 10:08:08 +00:00
|
|
|
};
|