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 d485679de413c02a6ff20d17f10ef804f582168d..6ba5c16492422b48b3b744c822d52395df3c1559 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 03a1c1dd39afb399eac3e942a351e89e932d82c9..d950d32f1776fa5c316f43f3a265e9439cbfbabf 100644 (file)
@@ -7,6 +7,8 @@
  * Based on "dra7.dtsi"
  */
 
+#include "am4372-u-boot.dtsi"
+
 /{
        ocp {
                u-boot,dm-spl;
index 0a3d79a372e00d8d04937307d57162f6e9d93542..3aa9195e44d2b3f888c49a40f9cb13a98c703909 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 0a3d79a372e00d8d04937307d57162f6e9d93542..3aa9195e44d2b3f888c49a40f9cb13a98c703909 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;