blob: 720e79b3a55805d3849cbd19be22553e5bd878d7 [file] [log] [blame]
Lokesh Vutla3f332182017-02-10 20:37:18 +05301/*
2 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 * Based on "dra7.dtsi"
8 */
9
Tero Kristof6c7fda2020-06-16 11:03:10 +030010#ifdef CONFIG_DRA7XX
Lokesh Vutla3f332182017-02-10 20:37:18 +053011/{
Lokesh Vutlae6734ae2017-08-21 12:51:00 +053012 chosen {
13 tick-timer = &timer2;
14 };
15
Jean-Jacques Hiblot195df5f2018-12-15 17:43:28 +010016 aliases {
17 usb0 = &usb1;
18 usb1 = &usb2;
19 };
20
Lokesh Vutla3f332182017-02-10 20:37:18 +053021 ocp {
Simon Glassd3a98cb2023-02-13 08:56:33 -070022 bootph-pre-ram;
Jean-Jacques Hiblot97f038d2017-04-24 11:51:30 +020023
Jean-Jacques Hiblot0faa1f12018-11-29 10:57:43 +010024 ocp2scp@4a080000 {
25 compatible = "ti,omap-ocp2scp", "simple-bus";
Simon Glassd3a98cb2023-02-13 08:56:33 -070026 bootph-pre-ram;
Jean-Jacques Hiblot0faa1f12018-11-29 10:57:43 +010027 };
28
Jean-Jacques Hiblot97f038d2017-04-24 11:51:30 +020029 ocp2scp@4a090000 {
30 compatible = "ti,omap-ocp2scp", "simple-bus";
31 };
Faiz Abbasddbda7a2017-11-14 16:12:32 +053032
33 bandgap@4a0021e0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070034 bootph-pre-ram;
Faiz Abbasddbda7a2017-11-14 16:12:32 +053035 };
Lokesh Vutla3f332182017-02-10 20:37:18 +053036 };
37};
38
39&uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070040 bootph-pre-ram;
Lokesh Vutlae6734ae2017-08-21 12:51:00 +053041 reg-shift = <2>;
Lokesh Vutla3f332182017-02-10 20:37:18 +053042};
43
44&uart3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070045 bootph-pre-ram;
Lokesh Vutlae6734ae2017-08-21 12:51:00 +053046 reg-shift = <2>;
Lokesh Vutla3f332182017-02-10 20:37:18 +053047};
48
49&mmc1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070050 bootph-pre-ram;
Lokesh Vutla3f332182017-02-10 20:37:18 +053051};
52
53&mmc2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070054 bootph-pre-ram;
Lokesh Vutla3f332182017-02-10 20:37:18 +053055};
56
57&l4_cfg {
Simon Glassd3a98cb2023-02-13 08:56:33 -070058 bootph-pre-ram;
Lokesh Vutla3f332182017-02-10 20:37:18 +053059};
60
61&scm {
Simon Glassd3a98cb2023-02-13 08:56:33 -070062 bootph-pre-ram;
Lokesh Vutla3f332182017-02-10 20:37:18 +053063};
64
65&scm_conf {
Simon Glassd3a98cb2023-02-13 08:56:33 -070066 bootph-pre-ram;
Lokesh Vutla3f332182017-02-10 20:37:18 +053067};
68
69&qspi {
Simon Glassd3a98cb2023-02-13 08:56:33 -070070 bootph-pre-ram;
Lokesh Vutla3f332182017-02-10 20:37:18 +053071
72 m25p80@0 {
Neil Armstronga009fa72019-02-10 10:16:20 +000073 compatible = "jedec,spi-nor";
Simon Glassd3a98cb2023-02-13 08:56:33 -070074 bootph-pre-ram;
Lokesh Vutla3f332182017-02-10 20:37:18 +053075 };
76};
Lokesh Vutlae6731892017-06-27 13:50:58 +053077
Lokesh Vutla7707fa02017-09-21 08:22:35 +053078&gpio1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070079 bootph-pre-ram;
Lokesh Vutla7707fa02017-09-21 08:22:35 +053080};
81
Lokesh Vutlae6731892017-06-27 13:50:58 +053082&gpio2 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070083 bootph-pre-ram;
Lokesh Vutlae6731892017-06-27 13:50:58 +053084};
85
Lokesh Vutla7707fa02017-09-21 08:22:35 +053086&gpio3 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070087 bootph-pre-ram;
Lokesh Vutla7707fa02017-09-21 08:22:35 +053088};
89
90&gpio4 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070091 bootph-pre-ram;
Lokesh Vutla7707fa02017-09-21 08:22:35 +053092};
93
94&gpio5 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070095 bootph-pre-ram;
Lokesh Vutla7707fa02017-09-21 08:22:35 +053096};
97
98&gpio6 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070099 bootph-pre-ram;
Lokesh Vutla7707fa02017-09-21 08:22:35 +0530100};
101
Lokesh Vutlae6731892017-06-27 13:50:58 +0530102&gpio7 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700103 bootph-pre-ram;
Lokesh Vutlae6731892017-06-27 13:50:58 +0530104};
Jean-Jacques Hiblot424d6aa2018-12-07 14:50:44 +0100105
106&i2c1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -0700107 bootph-pre-ram;
Jean-Jacques Hiblot424d6aa2018-12-07 14:50:44 +0100108};
Tero Kristof6c7fda2020-06-16 11:03:10 +0300109
110#else /* OMAP54XX */
111&l4_cfg {
112 segment@0 {
113 /* SCM Core */
114 target-module@2000 {
115 compatible = "simple-bus";
116 };
117
118 /* USB HS */
119 target-module@64000 {
120 compatible = "simple-bus";
121 };
122 };
123};
124
125&l4_per {
126 segment@0 {
127 /* UART3 */
128 target-module@20000 {
129 compatible = "simple-bus";
130 };
131
132 /* I2C1 */
133 target-module@70000 {
134 compatible = "simple-bus";
135 };
136
137 /* MMC1 */
138 target-module@9c000 {
139 compatible = "simple-bus";
140 };
141
142 /* MMC2 */
143 target-module@b4000 {
144 compatible = "simple-bus";
145 };
146 };
147};
148
149#endif