2018-08-27 10:29:09 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
|
|
|
|
*/
|
|
|
|
|
2019-04-29 17:56:44 +00:00
|
|
|
#include <dt-bindings/pinctrl/k3.h>
|
2019-07-09 05:00:36 +00:00
|
|
|
#include <dt-bindings/net/ti-dp83867.h>
|
2018-08-27 10:29:09 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial2:115200n8";
|
|
|
|
};
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
serial2 = &main_uart0;
|
2019-07-09 05:00:35 +00:00
|
|
|
ethernet0 = &cpsw_port1;
|
2020-11-20 15:48:55 +00:00
|
|
|
usb0 = &usb0;
|
|
|
|
usb1 = &usb1;
|
2021-02-01 05:56:39 +00:00
|
|
|
spi0 = &ospi0;
|
|
|
|
spi1 = &ospi1;
|
2018-08-27 10:29:09 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&cbass_main{
|
|
|
|
u-boot,dm-spl;
|
2021-02-01 05:56:39 +00:00
|
|
|
main-navss {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
2018-08-27 10:29:09 +00:00
|
|
|
};
|
|
|
|
|
2018-11-02 14:21:08 +00:00
|
|
|
&cbass_mcu {
|
|
|
|
u-boot,dm-spl;
|
2019-02-05 12:01:26 +00:00
|
|
|
|
2021-02-01 05:56:39 +00:00
|
|
|
mcu-navss {
|
2020-02-04 05:39:51 +00:00
|
|
|
u-boot,dm-spl;
|
2019-02-05 12:01:26 +00:00
|
|
|
|
2020-07-07 08:13:35 +00:00
|
|
|
ringacc@2b800000 {
|
2020-02-04 05:39:51 +00:00
|
|
|
u-boot,dm-spl;
|
2021-02-01 05:56:39 +00:00
|
|
|
ti,dma-ring-reset-quirk;
|
2019-02-05 12:01:26 +00:00
|
|
|
};
|
|
|
|
|
2020-07-07 08:13:35 +00:00
|
|
|
dma-controller@285c0000 {
|
2020-02-04 05:39:51 +00:00
|
|
|
u-boot,dm-spl;
|
2019-02-05 12:01:26 +00:00
|
|
|
};
|
|
|
|
};
|
2018-11-02 14:21:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&cbass_wakeup {
|
|
|
|
u-boot,dm-spl;
|
2021-02-01 05:56:39 +00:00
|
|
|
|
|
|
|
chipid@43000014 {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
2018-11-02 14:21:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&secure_proxy_main {
|
2018-08-27 10:29:09 +00:00
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
|
|
|
&dmsc {
|
|
|
|
u-boot,dm-spl;
|
2018-11-02 14:21:08 +00:00
|
|
|
k3_sysreset: sysreset-controller {
|
|
|
|
compatible = "ti,sci-sysreset";
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
2018-08-27 10:29:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&k3_pds {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
|
|
|
&k3_clks {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
|
|
|
&k3_reset {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
2019-06-04 23:08:15 +00:00
|
|
|
&wkup_pmx0 {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
|
|
|
|
wkup_i2c0_pins_default {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-08-27 10:29:09 +00:00
|
|
|
&main_pmx0 {
|
|
|
|
u-boot,dm-spl;
|
2020-08-03 06:05:12 +00:00
|
|
|
usb0_pins_default: usb0_pins_default {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
AM65X_IOPAD(0x02bc, PIN_OUTPUT, 0) /* (AD9) USB0_DRVVBUS */
|
|
|
|
>;
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
2018-08-27 10:29:09 +00:00
|
|
|
};
|
|
|
|
|
2021-02-01 05:56:39 +00:00
|
|
|
&main_uart0_pins_default {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
2018-08-27 10:29:09 +00:00
|
|
|
&main_pmx1 {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
2019-07-09 05:00:36 +00:00
|
|
|
&wkup_pmx0 {
|
2020-02-04 05:39:51 +00:00
|
|
|
mcu-fss0-ospi0-pins-default {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
2019-07-09 05:00:36 +00:00
|
|
|
};
|
|
|
|
|
2018-08-27 10:29:09 +00:00
|
|
|
&main_uart0 {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
2021-02-04 09:40:56 +00:00
|
|
|
&main_mmc0_pins_default {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
|
|
|
&main_mmc1_pins_default {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
2018-08-27 10:29:09 +00:00
|
|
|
&sdhci0 {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdhci1 {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
2019-07-09 05:00:36 +00:00
|
|
|
|
|
|
|
&davinci_mdio {
|
|
|
|
phy0: ethernet-phy@0 {
|
|
|
|
reg = <0>;
|
|
|
|
/* TODO: phy reset: TCA9555RTWR(i2c:0x21)[p04].GPIO_MCU_RGMII_RSTN */
|
|
|
|
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
|
|
|
|
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&mcu_cpsw {
|
|
|
|
reg = <0x0 0x46000000 0x0 0x200000>,
|
|
|
|
<0x0 0x40f00200 0x0 0x2>;
|
|
|
|
reg-names = "cpsw_nuss", "mac_efuse";
|
2020-07-06 08:06:56 +00:00
|
|
|
/delete-property/ ranges;
|
2019-07-09 05:00:36 +00:00
|
|
|
|
|
|
|
cpsw-phy-sel@40f04040 {
|
|
|
|
compatible = "ti,am654-cpsw-phy-sel";
|
|
|
|
reg= <0x0 0x40f04040 0x0 0x4>;
|
|
|
|
reg-names = "gmii-sel";
|
|
|
|
};
|
|
|
|
};
|
2019-06-04 23:08:15 +00:00
|
|
|
|
|
|
|
&wkup_i2c0 {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
2019-12-09 05:07:33 +00:00
|
|
|
|
|
|
|
&usb1 {
|
|
|
|
dr_mode = "peripheral";
|
|
|
|
};
|
2020-02-04 05:39:51 +00:00
|
|
|
|
|
|
|
&fss {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
|
|
|
&ospi0 {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
|
|
|
|
flash@0{
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
};
|
2020-07-16 04:40:00 +00:00
|
|
|
|
2020-08-03 06:05:12 +00:00
|
|
|
&dwc3_0 {
|
|
|
|
status = "okay";
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb0_phy {
|
|
|
|
status = "okay";
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb0 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&usb0_pins_default>;
|
2020-11-20 15:48:54 +00:00
|
|
|
dr_mode = "host";
|
2020-08-03 06:05:12 +00:00
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
|
|
|
&scm_conf {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|