blob: 73577e8cfd3730b9300e736f64686306770c2cf4 [file] [log] [blame]
Dave Gerlach278e7ac2021-04-23 11:27:46 -05001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/
4 */
5
Neha Malcom Francis9a1b2712023-07-22 00:14:34 +05306#include "k3-am64x-binman.dtsi"
7
Dave Gerlach278e7ac2021-04-23 11:27:46 -05008/ {
9 chosen {
10 stdout-path = "serial2:115200n8";
11 tick-timer = &timer1;
12 };
Georgi Vlaevd4d0db12022-05-20 15:30:26 +030013
14 memory@80000000 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070015 bootph-pre-ram;
Georgi Vlaevd4d0db12022-05-20 15:30:26 +030016 };
Dave Gerlach278e7ac2021-04-23 11:27:46 -050017};
18
19&cbass_main{
Simon Glassd3a98cb2023-02-13 08:56:33 -070020 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -050021 timer1: timer@2400000 {
22 compatible = "ti,omap5430-timer";
23 reg = <0x0 0x2400000 0x0 0x80>;
24 ti,timer-alwon;
Vignesh Raghavendraf113fce2022-03-11 21:23:22 +053025 clock-frequency = <200000000>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070026 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -050027 };
28};
29
Lokesh Vutla882c7dd2021-05-06 16:44:56 +053030&main_conf {
Simon Glassd3a98cb2023-02-13 08:56:33 -070031 bootph-pre-ram;
Lokesh Vutla882c7dd2021-05-06 16:44:56 +053032 chipid@14 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070033 bootph-pre-ram;
Lokesh Vutla882c7dd2021-05-06 16:44:56 +053034 };
35};
36
Lokesh Vutla11ba7c22021-05-06 16:44:58 +053037&main_pmx0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070038 bootph-pre-ram;
Lokesh Vutla11ba7c22021-05-06 16:44:58 +053039 main_i2c0_pins_default: main-i2c0-pins-default {
Simon Glassd3a98cb2023-02-13 08:56:33 -070040 bootph-pre-ram;
Lokesh Vutla11ba7c22021-05-06 16:44:58 +053041 pinctrl-single,pins = <
42 AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */
43 AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */
44 >;
45 };
46};
47
48&main_i2c0 {
Roger Quadrosef0371c2023-01-24 11:43:26 +020049 status = "okay";
Simon Glassd3a98cb2023-02-13 08:56:33 -070050 bootph-pre-ram;
Lokesh Vutla11ba7c22021-05-06 16:44:58 +053051 pinctrl-names = "default";
52 pinctrl-0 = <&main_i2c0_pins_default>;
53 clock-frequency = <400000>;
54};
55
Dave Gerlach278e7ac2021-04-23 11:27:46 -050056&main_uart0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070057 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -050058};
59
Aswath Govindraju79087742021-06-04 22:00:37 +053060&usb0 {
61 dr_mode="peripheral";
Simon Glassd3a98cb2023-02-13 08:56:33 -070062 bootph-pre-ram;
Aswath Govindraju79087742021-06-04 22:00:37 +053063};
64
65&usbss0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070066 bootph-pre-ram;
Aswath Govindraju79087742021-06-04 22:00:37 +053067};
68
Aswath Govindraju1786a7f2021-08-09 22:32:23 +053069&main_mmc1_pins_default {
Simon Glassd3a98cb2023-02-13 08:56:33 -070070 bootph-pre-ram;
Aswath Govindraju1786a7f2021-08-09 22:32:23 +053071};
72
Aswath Govindraju79087742021-06-04 22:00:37 +053073&main_usb0_pins_default {
Simon Glassd3a98cb2023-02-13 08:56:33 -070074 bootph-pre-ram;
Aswath Govindraju79087742021-06-04 22:00:37 +053075};
76
Dave Gerlach278e7ac2021-04-23 11:27:46 -050077&dmss {
Simon Glassd3a98cb2023-02-13 08:56:33 -070078 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -050079};
80
81&secure_proxy_main {
Simon Glassd3a98cb2023-02-13 08:56:33 -070082 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -050083};
84
85&dmsc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070086 bootph-pre-ram;
Suman Annace4e5662021-05-13 20:10:56 -050087 k3_sysreset: sysreset-controller {
88 compatible = "ti,sci-sysreset";
Simon Glassd3a98cb2023-02-13 08:56:33 -070089 bootph-pre-ram;
Suman Annace4e5662021-05-13 20:10:56 -050090 };
Dave Gerlach278e7ac2021-04-23 11:27:46 -050091};
92
93&k3_pds {
Simon Glassd3a98cb2023-02-13 08:56:33 -070094 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -050095};
96
97&k3_clks {
Simon Glassd3a98cb2023-02-13 08:56:33 -070098 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -050099};
100
101&k3_reset {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700102 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -0500103};
104
105&sdhci0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700106 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -0500107};
108
109&sdhci1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700110 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -0500111};
Vignesh Raghavendra759316f2021-05-10 20:06:12 +0530112
113&cpsw3g {
114 reg = <0x0 0x8000000 0x0 0x200000>,
115 <0x0 0x43000200 0x0 0x8>;
116 reg-names = "cpsw_nuss", "mac_efuse";
117 /delete-property/ ranges;
Roger Quadros7350eb22023-01-24 11:43:27 +0200118 pinctrl-0 = <&mdio1_pins_default /* HACK: as MDIO driver is not DM enabled */
119 &rgmii1_pins_default
120 &rgmii2_pins_default>;
Vignesh Raghavendra759316f2021-05-10 20:06:12 +0530121
122 cpsw-phy-sel@04044 {
123 compatible = "ti,am64-phy-gmii-sel";
124 reg = <0x0 0x43004044 0x0 0x8>;
125 };
126};
127
128&cpsw_port2 {
129 status = "disabled";
130};