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
index 1b1d765..5a1c7bc 100644 (file)
@@ -7,6 +7,7 @@
  * Based on "dra7.dtsi"
  */
 
+#ifdef CONFIG_DRA7XX
 /{
        chosen {
                tick-timer = &timer2;
@@ -22,6 +23,7 @@
 
                ocp2scp@4a080000 {
                        compatible = "ti,omap-ocp2scp", "simple-bus";
+                       u-boot,dm-spl;
                };
 
                ocp2scp@4a090000 {
 &i2c1 {
        u-boot,dm-spl;
 };
+
+#else /* OMAP54XX */
+&l4_cfg {
+       segment@0 {
+               /* SCM Core */
+               target-module@2000 {
+                       compatible = "simple-bus";
+               };
+
+               /* USB HS */
+               target-module@64000 {
+                       compatible = "simple-bus";
+               };
+       };
+};
+
+&l4_per {
+       segment@0 {
+               /* UART3 */
+               target-module@20000 {
+                       compatible = "simple-bus";
+               };
+
+               /* I2C1 */
+               target-module@70000 {
+                       compatible = "simple-bus";
+               };
+
+               /* MMC1 */
+               target-module@9c000 {
+                       compatible = "simple-bus";
+               };
+
+               /* MMC2 */
+               target-module@b4000 {
+                       compatible = "simple-bus";
+               };
+       };
+};
+
+#endif