blob: 64857b09099da9142a658c659a2ba65293f1f4b8 [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
6/ {
7 chosen {
8 stdout-path = "serial2:115200n8";
9 tick-timer = &timer1;
10 };
Georgi Vlaevd4d0db12022-05-20 15:30:26 +030011
12 memory@80000000 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070013 bootph-pre-ram;
Georgi Vlaevd4d0db12022-05-20 15:30:26 +030014 };
Dave Gerlach278e7ac2021-04-23 11:27:46 -050015};
16
17&cbass_main{
Simon Glassd3a98cb2023-02-13 08:56:33 -070018 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -050019 timer1: timer@2400000 {
20 compatible = "ti,omap5430-timer";
21 reg = <0x0 0x2400000 0x0 0x80>;
22 ti,timer-alwon;
Vignesh Raghavendraf113fce2022-03-11 21:23:22 +053023 clock-frequency = <200000000>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070024 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -050025 };
26};
27
Lokesh Vutla882c7dd2021-05-06 16:44:56 +053028&main_conf {
Simon Glassd3a98cb2023-02-13 08:56:33 -070029 bootph-pre-ram;
Lokesh Vutla882c7dd2021-05-06 16:44:56 +053030 chipid@14 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070031 bootph-pre-ram;
Lokesh Vutla882c7dd2021-05-06 16:44:56 +053032 };
33};
34
Lokesh Vutla11ba7c22021-05-06 16:44:58 +053035&main_pmx0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070036 bootph-pre-ram;
Lokesh Vutla11ba7c22021-05-06 16:44:58 +053037 main_i2c0_pins_default: main-i2c0-pins-default {
Simon Glassd3a98cb2023-02-13 08:56:33 -070038 bootph-pre-ram;
Lokesh Vutla11ba7c22021-05-06 16:44:58 +053039 pinctrl-single,pins = <
40 AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */
41 AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */
42 >;
43 };
44};
45
46&main_i2c0 {
Roger Quadrosef0371c2023-01-24 11:43:26 +020047 status = "okay";
Simon Glassd3a98cb2023-02-13 08:56:33 -070048 bootph-pre-ram;
Lokesh Vutla11ba7c22021-05-06 16:44:58 +053049 pinctrl-names = "default";
50 pinctrl-0 = <&main_i2c0_pins_default>;
51 clock-frequency = <400000>;
52};
53
Dave Gerlach278e7ac2021-04-23 11:27:46 -050054&main_uart0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070055 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -050056};
57
Aswath Govindraju79087742021-06-04 22:00:37 +053058&usb0 {
59 dr_mode="peripheral";
Simon Glassd3a98cb2023-02-13 08:56:33 -070060 bootph-pre-ram;
Aswath Govindraju79087742021-06-04 22:00:37 +053061};
62
63&usbss0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070064 bootph-pre-ram;
Aswath Govindraju79087742021-06-04 22:00:37 +053065};
66
Aswath Govindraju1786a7f2021-08-09 22:32:23 +053067&main_mmc1_pins_default {
Simon Glassd3a98cb2023-02-13 08:56:33 -070068 bootph-pre-ram;
Aswath Govindraju1786a7f2021-08-09 22:32:23 +053069};
70
Aswath Govindraju79087742021-06-04 22:00:37 +053071&main_usb0_pins_default {
Simon Glassd3a98cb2023-02-13 08:56:33 -070072 bootph-pre-ram;
Aswath Govindraju79087742021-06-04 22:00:37 +053073};
74
Dave Gerlach278e7ac2021-04-23 11:27:46 -050075&dmss {
Simon Glassd3a98cb2023-02-13 08:56:33 -070076 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -050077};
78
79&secure_proxy_main {
Simon Glassd3a98cb2023-02-13 08:56:33 -070080 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -050081};
82
83&dmsc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070084 bootph-pre-ram;
Suman Annace4e5662021-05-13 20:10:56 -050085 k3_sysreset: sysreset-controller {
86 compatible = "ti,sci-sysreset";
Simon Glassd3a98cb2023-02-13 08:56:33 -070087 bootph-pre-ram;
Suman Annace4e5662021-05-13 20:10:56 -050088 };
Dave Gerlach278e7ac2021-04-23 11:27:46 -050089};
90
91&k3_pds {
Simon Glassd3a98cb2023-02-13 08:56:33 -070092 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -050093};
94
95&k3_clks {
Simon Glassd3a98cb2023-02-13 08:56:33 -070096 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -050097};
98
99&k3_reset {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700100 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -0500101};
102
103&sdhci0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700104 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -0500105};
106
107&sdhci1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700108 bootph-pre-ram;
Dave Gerlach278e7ac2021-04-23 11:27:46 -0500109};
Vignesh Raghavendra759316f2021-05-10 20:06:12 +0530110
111&cpsw3g {
112 reg = <0x0 0x8000000 0x0 0x200000>,
113 <0x0 0x43000200 0x0 0x8>;
114 reg-names = "cpsw_nuss", "mac_efuse";
115 /delete-property/ ranges;
Roger Quadros7350eb22023-01-24 11:43:27 +0200116 pinctrl-0 = <&mdio1_pins_default /* HACK: as MDIO driver is not DM enabled */
117 &rgmii1_pins_default
118 &rgmii2_pins_default>;
Vignesh Raghavendra759316f2021-05-10 20:06:12 +0530119
120 cpsw-phy-sel@04044 {
121 compatible = "ti,am64-phy-gmii-sel";
122 reg = <0x0 0x43004044 0x0 0x8>;
123 };
124};
125
126&cpsw_port2 {
127 status = "disabled";
128};