blob: 5a1c7bc9fe3bd3ffeffca7ab3c8936e711abe7f5 [file] [log] [blame]
Lokesh Vutla954b07e2017-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 Kristo803e9a12020-06-16 11:03:10 +030010#ifdef CONFIG_DRA7XX
Lokesh Vutla954b07e2017-02-10 20:37:18 +053011/{
Lokesh Vutlab63b9952017-08-21 12:51:00 +053012 chosen {
13 tick-timer = &timer2;
14 };
15
Jean-Jacques Hiblotb975a522018-12-15 17:43:28 +010016 aliases {
17 usb0 = &usb1;
18 usb1 = &usb2;
19 };
20
Lokesh Vutla954b07e2017-02-10 20:37:18 +053021 ocp {
Lokesh Vutla964a34e2017-06-16 14:12:58 +053022 u-boot,dm-spl;
Jean-Jacques Hiblot33a5e2c2017-04-24 11:51:30 +020023
Jean-Jacques Hiblotd0af9eb2018-11-29 10:57:43 +010024 ocp2scp@4a080000 {
25 compatible = "ti,omap-ocp2scp", "simple-bus";
Faiz Abbas6b23f532019-10-09 12:35:18 +020026 u-boot,dm-spl;
Jean-Jacques Hiblotd0af9eb2018-11-29 10:57:43 +010027 };
28
Jean-Jacques Hiblot33a5e2c2017-04-24 11:51:30 +020029 ocp2scp@4a090000 {
30 compatible = "ti,omap-ocp2scp", "simple-bus";
31 };
Faiz Abbas12dd1e52017-11-14 16:12:32 +053032
33 bandgap@4a0021e0 {
34 u-boot,dm-spl;
35 };
Lokesh Vutla954b07e2017-02-10 20:37:18 +053036 };
37};
38
39&uart1 {
Lokesh Vutla964a34e2017-06-16 14:12:58 +053040 u-boot,dm-spl;
Lokesh Vutlab63b9952017-08-21 12:51:00 +053041 reg-shift = <2>;
Lokesh Vutla954b07e2017-02-10 20:37:18 +053042};
43
44&uart3 {
Lokesh Vutla964a34e2017-06-16 14:12:58 +053045 u-boot,dm-spl;
Lokesh Vutlab63b9952017-08-21 12:51:00 +053046 reg-shift = <2>;
Lokesh Vutla954b07e2017-02-10 20:37:18 +053047};
48
49&mmc1 {
Lokesh Vutla964a34e2017-06-16 14:12:58 +053050 u-boot,dm-spl;
Lokesh Vutla954b07e2017-02-10 20:37:18 +053051};
52
53&mmc2 {
Lokesh Vutla964a34e2017-06-16 14:12:58 +053054 u-boot,dm-spl;
Lokesh Vutla954b07e2017-02-10 20:37:18 +053055};
56
57&l4_cfg {
Lokesh Vutla964a34e2017-06-16 14:12:58 +053058 u-boot,dm-spl;
Lokesh Vutla954b07e2017-02-10 20:37:18 +053059};
60
61&scm {
Lokesh Vutla964a34e2017-06-16 14:12:58 +053062 u-boot,dm-spl;
Lokesh Vutla954b07e2017-02-10 20:37:18 +053063};
64
65&scm_conf {
Lokesh Vutla964a34e2017-06-16 14:12:58 +053066 u-boot,dm-spl;
Lokesh Vutla954b07e2017-02-10 20:37:18 +053067};
68
69&qspi {
Lokesh Vutla964a34e2017-06-16 14:12:58 +053070 u-boot,dm-spl;
Lokesh Vutla954b07e2017-02-10 20:37:18 +053071
72 m25p80@0 {
Neil Armstrongffd4c7c2019-02-10 10:16:20 +000073 compatible = "jedec,spi-nor";
Lokesh Vutla964a34e2017-06-16 14:12:58 +053074 u-boot,dm-spl;
Lokesh Vutla954b07e2017-02-10 20:37:18 +053075 };
76};
Lokesh Vutla7bdc6942017-06-27 13:50:58 +053077
Lokesh Vutladf518f82017-09-21 08:22:35 +053078&gpio1 {
79 u-boot,dm-spl;
80};
81
Lokesh Vutla7bdc6942017-06-27 13:50:58 +053082&gpio2 {
83 u-boot,dm-spl;
84};
85
Lokesh Vutladf518f82017-09-21 08:22:35 +053086&gpio3 {
87 u-boot,dm-spl;
88};
89
90&gpio4 {
91 u-boot,dm-spl;
92};
93
94&gpio5 {
95 u-boot,dm-spl;
96};
97
98&gpio6 {
99 u-boot,dm-spl;
100};
101
Lokesh Vutla7bdc6942017-06-27 13:50:58 +0530102&gpio7 {
103 u-boot,dm-spl;
104};
Jean-Jacques Hiblot69dab2b2018-12-07 14:50:44 +0100105
106&i2c1 {
107 u-boot,dm-spl;
108};
Tero Kristo803e9a12020-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