Lokesh Vutla | 3f33218 | 2017-02-10 20:37:18 +0530 | [diff] [blame] | 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 | |
Tero Kristo | f6c7fda | 2020-06-16 11:03:10 +0300 | [diff] [blame^] | 10 | #ifdef CONFIG_DRA7XX |
Lokesh Vutla | 3f33218 | 2017-02-10 20:37:18 +0530 | [diff] [blame] | 11 | /{ |
Lokesh Vutla | e6734ae | 2017-08-21 12:51:00 +0530 | [diff] [blame] | 12 | chosen { |
| 13 | tick-timer = &timer2; |
| 14 | }; |
| 15 | |
Jean-Jacques Hiblot | 195df5f | 2018-12-15 17:43:28 +0100 | [diff] [blame] | 16 | aliases { |
| 17 | usb0 = &usb1; |
| 18 | usb1 = &usb2; |
| 19 | }; |
| 20 | |
Lokesh Vutla | 3f33218 | 2017-02-10 20:37:18 +0530 | [diff] [blame] | 21 | ocp { |
Lokesh Vutla | 0c2e1df | 2017-06-16 14:12:58 +0530 | [diff] [blame] | 22 | u-boot,dm-spl; |
Jean-Jacques Hiblot | 97f038d | 2017-04-24 11:51:30 +0200 | [diff] [blame] | 23 | |
Jean-Jacques Hiblot | 0faa1f1 | 2018-11-29 10:57:43 +0100 | [diff] [blame] | 24 | ocp2scp@4a080000 { |
| 25 | compatible = "ti,omap-ocp2scp", "simple-bus"; |
Faiz Abbas | e220a46 | 2019-10-09 12:35:18 +0200 | [diff] [blame] | 26 | u-boot,dm-spl; |
Jean-Jacques Hiblot | 0faa1f1 | 2018-11-29 10:57:43 +0100 | [diff] [blame] | 27 | }; |
| 28 | |
Jean-Jacques Hiblot | 97f038d | 2017-04-24 11:51:30 +0200 | [diff] [blame] | 29 | ocp2scp@4a090000 { |
| 30 | compatible = "ti,omap-ocp2scp", "simple-bus"; |
| 31 | }; |
Faiz Abbas | ddbda7a | 2017-11-14 16:12:32 +0530 | [diff] [blame] | 32 | |
| 33 | bandgap@4a0021e0 { |
| 34 | u-boot,dm-spl; |
| 35 | }; |
Lokesh Vutla | 3f33218 | 2017-02-10 20:37:18 +0530 | [diff] [blame] | 36 | }; |
| 37 | }; |
| 38 | |
| 39 | &uart1 { |
Lokesh Vutla | 0c2e1df | 2017-06-16 14:12:58 +0530 | [diff] [blame] | 40 | u-boot,dm-spl; |
Lokesh Vutla | e6734ae | 2017-08-21 12:51:00 +0530 | [diff] [blame] | 41 | reg-shift = <2>; |
Lokesh Vutla | 3f33218 | 2017-02-10 20:37:18 +0530 | [diff] [blame] | 42 | }; |
| 43 | |
| 44 | &uart3 { |
Lokesh Vutla | 0c2e1df | 2017-06-16 14:12:58 +0530 | [diff] [blame] | 45 | u-boot,dm-spl; |
Lokesh Vutla | e6734ae | 2017-08-21 12:51:00 +0530 | [diff] [blame] | 46 | reg-shift = <2>; |
Lokesh Vutla | 3f33218 | 2017-02-10 20:37:18 +0530 | [diff] [blame] | 47 | }; |
| 48 | |
| 49 | &mmc1 { |
Lokesh Vutla | 0c2e1df | 2017-06-16 14:12:58 +0530 | [diff] [blame] | 50 | u-boot,dm-spl; |
Lokesh Vutla | 3f33218 | 2017-02-10 20:37:18 +0530 | [diff] [blame] | 51 | }; |
| 52 | |
| 53 | &mmc2 { |
Lokesh Vutla | 0c2e1df | 2017-06-16 14:12:58 +0530 | [diff] [blame] | 54 | u-boot,dm-spl; |
Lokesh Vutla | 3f33218 | 2017-02-10 20:37:18 +0530 | [diff] [blame] | 55 | }; |
| 56 | |
| 57 | &l4_cfg { |
Lokesh Vutla | 0c2e1df | 2017-06-16 14:12:58 +0530 | [diff] [blame] | 58 | u-boot,dm-spl; |
Lokesh Vutla | 3f33218 | 2017-02-10 20:37:18 +0530 | [diff] [blame] | 59 | }; |
| 60 | |
| 61 | &scm { |
Lokesh Vutla | 0c2e1df | 2017-06-16 14:12:58 +0530 | [diff] [blame] | 62 | u-boot,dm-spl; |
Lokesh Vutla | 3f33218 | 2017-02-10 20:37:18 +0530 | [diff] [blame] | 63 | }; |
| 64 | |
| 65 | &scm_conf { |
Lokesh Vutla | 0c2e1df | 2017-06-16 14:12:58 +0530 | [diff] [blame] | 66 | u-boot,dm-spl; |
Lokesh Vutla | 3f33218 | 2017-02-10 20:37:18 +0530 | [diff] [blame] | 67 | }; |
| 68 | |
| 69 | &qspi { |
Lokesh Vutla | 0c2e1df | 2017-06-16 14:12:58 +0530 | [diff] [blame] | 70 | u-boot,dm-spl; |
Lokesh Vutla | 3f33218 | 2017-02-10 20:37:18 +0530 | [diff] [blame] | 71 | |
| 72 | m25p80@0 { |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 73 | compatible = "jedec,spi-nor"; |
Lokesh Vutla | 0c2e1df | 2017-06-16 14:12:58 +0530 | [diff] [blame] | 74 | u-boot,dm-spl; |
Lokesh Vutla | 3f33218 | 2017-02-10 20:37:18 +0530 | [diff] [blame] | 75 | }; |
| 76 | }; |
Lokesh Vutla | e673189 | 2017-06-27 13:50:58 +0530 | [diff] [blame] | 77 | |
Lokesh Vutla | 7707fa0 | 2017-09-21 08:22:35 +0530 | [diff] [blame] | 78 | &gpio1 { |
| 79 | u-boot,dm-spl; |
| 80 | }; |
| 81 | |
Lokesh Vutla | e673189 | 2017-06-27 13:50:58 +0530 | [diff] [blame] | 82 | &gpio2 { |
| 83 | u-boot,dm-spl; |
| 84 | }; |
| 85 | |
Lokesh Vutla | 7707fa0 | 2017-09-21 08:22:35 +0530 | [diff] [blame] | 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 | |
Lokesh Vutla | e673189 | 2017-06-27 13:50:58 +0530 | [diff] [blame] | 102 | &gpio7 { |
| 103 | u-boot,dm-spl; |
| 104 | }; |
Jean-Jacques Hiblot | 424d6aa | 2018-12-07 14:50:44 +0100 | [diff] [blame] | 105 | |
| 106 | &i2c1 { |
| 107 | u-boot,dm-spl; |
| 108 | }; |
Tero Kristo | f6c7fda | 2020-06-16 11:03:10 +0300 | [diff] [blame^] | 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 |