Merge https://gitlab.denx.de/u-boot/custodians/u-boot-spi into next
[platform/kernel/u-boot.git] / arch / arm / dts / omap5-u-boot.dtsi
1 /*
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
10 #ifdef CONFIG_DRA7XX
11 /{
12         chosen {
13                 tick-timer = &timer2;
14         };
15
16         aliases {
17                 usb0 = &usb1;
18                 usb1 = &usb2;
19         };
20
21         ocp {
22                 u-boot,dm-spl;
23
24                 ocp2scp@4a080000 {
25                         compatible = "ti,omap-ocp2scp", "simple-bus";
26                         u-boot,dm-spl;
27                 };
28
29                 ocp2scp@4a090000 {
30                         compatible = "ti,omap-ocp2scp", "simple-bus";
31                 };
32
33                 bandgap@4a0021e0 {
34                         u-boot,dm-spl;
35                 };
36         };
37 };
38
39 &uart1 {
40         u-boot,dm-spl;
41         reg-shift = <2>;
42 };
43
44 &uart3 {
45         u-boot,dm-spl;
46         reg-shift = <2>;
47 };
48
49 &mmc1 {
50         u-boot,dm-spl;
51 };
52
53 &mmc2 {
54         u-boot,dm-spl;
55 };
56
57 &l4_cfg {
58         u-boot,dm-spl;
59 };
60
61 &scm {
62         u-boot,dm-spl;
63 };
64
65 &scm_conf {
66         u-boot,dm-spl;
67 };
68
69 &qspi {
70         u-boot,dm-spl;
71
72         m25p80@0 {
73                 compatible = "jedec,spi-nor";
74                 u-boot,dm-spl;
75         };
76 };
77
78 &gpio1 {
79         u-boot,dm-spl;
80 };
81
82 &gpio2 {
83         u-boot,dm-spl;
84 };
85
86 &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
102 &gpio7 {
103         u-boot,dm-spl;
104 };
105
106 &i2c1 {
107         u-boot,dm-spl;
108 };
109
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