2021-04-23 16:27:46 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/
|
|
|
|
*/
|
|
|
|
|
2023-07-21 18:44:34 +00:00
|
|
|
#include "k3-am64x-binman.dtsi"
|
|
|
|
|
2021-04-23 16:27:46 +00:00
|
|
|
/ {
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial2:115200n8";
|
|
|
|
tick-timer = &timer1;
|
|
|
|
};
|
2022-05-20 12:30:26 +00:00
|
|
|
|
|
|
|
memory@80000000 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2022-05-20 12:30:26 +00:00
|
|
|
};
|
2021-04-23 16:27:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&cbass_main{
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-04-23 16:27:46 +00:00
|
|
|
timer1: timer@2400000 {
|
|
|
|
compatible = "ti,omap5430-timer";
|
|
|
|
reg = <0x0 0x2400000 0x0 0x80>;
|
|
|
|
ti,timer-alwon;
|
2022-03-11 15:53:22 +00:00
|
|
|
clock-frequency = <200000000>;
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-04-23 16:27:46 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-05-06 11:14:56 +00:00
|
|
|
&main_conf {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-05-06 11:14:56 +00:00
|
|
|
chipid@14 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-05-06 11:14:56 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-05-06 11:14:58 +00:00
|
|
|
&main_pmx0 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-05-06 11:14:58 +00:00
|
|
|
main_i2c0_pins_default: main-i2c0-pins-default {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-05-06 11:14:58 +00:00
|
|
|
pinctrl-single,pins = <
|
|
|
|
AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */
|
|
|
|
AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&main_i2c0 {
|
2023-01-24 09:43:26 +00:00
|
|
|
status = "okay";
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-05-06 11:14:58 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&main_i2c0_pins_default>;
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
};
|
|
|
|
|
2021-04-23 16:27:46 +00:00
|
|
|
&main_uart0 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-04-23 16:27:46 +00:00
|
|
|
};
|
|
|
|
|
2021-06-04 16:30:37 +00:00
|
|
|
&usb0 {
|
|
|
|
dr_mode="peripheral";
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-06-04 16:30:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&usbss0 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-06-04 16:30:37 +00:00
|
|
|
};
|
|
|
|
|
2021-08-09 17:02:23 +00:00
|
|
|
&main_mmc1_pins_default {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-08-09 17:02:23 +00:00
|
|
|
};
|
|
|
|
|
2021-06-04 16:30:37 +00:00
|
|
|
&main_usb0_pins_default {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-06-04 16:30:37 +00:00
|
|
|
};
|
|
|
|
|
2021-04-23 16:27:46 +00:00
|
|
|
&dmss {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-04-23 16:27:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&secure_proxy_main {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-04-23 16:27:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&dmsc {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-05-14 01:10:56 +00:00
|
|
|
k3_sysreset: sysreset-controller {
|
|
|
|
compatible = "ti,sci-sysreset";
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-05-14 01:10:56 +00:00
|
|
|
};
|
2021-04-23 16:27:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&k3_pds {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-04-23 16:27:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&k3_clks {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-04-23 16:27:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&k3_reset {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-04-23 16:27:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&sdhci0 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-04-23 16:27:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&sdhci1 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-04-23 16:27:46 +00:00
|
|
|
};
|
2021-05-10 14:36:12 +00:00
|
|
|
|
|
|
|
&cpsw3g {
|
|
|
|
reg = <0x0 0x8000000 0x0 0x200000>,
|
|
|
|
<0x0 0x43000200 0x0 0x8>;
|
|
|
|
reg-names = "cpsw_nuss", "mac_efuse";
|
|
|
|
/delete-property/ ranges;
|
2023-01-24 09:43:27 +00:00
|
|
|
pinctrl-0 = <&mdio1_pins_default /* HACK: as MDIO driver is not DM enabled */
|
|
|
|
&rgmii1_pins_default
|
|
|
|
&rgmii2_pins_default>;
|
2021-05-10 14:36:12 +00:00
|
|
|
|
|
|
|
cpsw-phy-sel@04044 {
|
|
|
|
compatible = "ti,am64-phy-gmii-sel";
|
|
|
|
reg = <0x0 0x43004044 0x0 0x8>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&cpsw_port2 {
|
|
|
|
status = "disabled";
|
|
|
|
};
|