dts: Add a u-boot specific dtsi file for the am4372
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Tue, 4 Dec 2018 10:30:52 +0000 (11:30 +0100)
committerMarek Vasut <marex@denx.de>
Fri, 14 Dec 2018 16:59:09 +0000 (17:59 +0100)
This file is used to override the values found in am4372.dtsi
Use it to fix the "compatible" options for the controllers used
to support the USB (parent bus and syscons).

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/dts/am4372-generic-u-boot.dtsi
arch/arm/dts/am4372-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/am437x-gp-evm-u-boot.dtsi
arch/arm/dts/am437x-idk-evm-u-boot.dtsi
arch/arm/dts/am437x-sk-evm-u-boot.dtsi

index d485679..6ba5c16 100644 (file)
@@ -3,6 +3,8 @@
  * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
  */
 
+#include "am4372-u-boot.dtsi"
+
 /{
        ocp {
                u-boot,dm-pre-reloc;
diff --git a/arch/arm/dts/am4372-u-boot.dtsi b/arch/arm/dts/am4372-u-boot.dtsi
new file mode 100644 (file)
index 0000000..cda4214
--- /dev/null
@@ -0,0 +1,20 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
+ */
+
+&am43xx_control_usb2phy1 {
+       compatible = "ti,control-phy-usb2-am437", "syscon";
+};
+
+&am43xx_control_usb2phy2 {
+       compatible = "ti,control-phy-usb2-am437", "syscon";
+};
+
+&ocp2scp0 {
+       compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp", "simple-bus";
+};
+
+&ocp2scp1 {
+       compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp", "simple-bus";
+};
index 03a1c1d..d950d32 100644 (file)
@@ -7,6 +7,8 @@
  * Based on "dra7.dtsi"
  */
 
+#include "am4372-u-boot.dtsi"
+
 /{
        ocp {
                u-boot,dm-spl;
index 0a3d79a..3aa9195 100644 (file)
@@ -3,6 +3,8 @@
  * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
  */
 
+#include "am4372-u-boot.dtsi"
+
 /{
        ocp {
                u-boot,dm-spl;
index 0a3d79a..3aa9195 100644 (file)
@@ -3,6 +3,8 @@
  * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
  */
 
+#include "am4372-u-boot.dtsi"
+
 /{
        ocp {
                u-boot,dm-spl;