]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: dts: Add support for dra762 abz package
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 15 Jul 2021 21:20:24 +0000 (14:20 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 27 Jul 2021 08:42:29 +0000 (11:42 +0300)
dra762 abz package is pin compatible with dra742 and few peripherals
like DDR with upgraded speed. Add dt support for this SoC.

Reported-by: Praneeth Bajjuri <praneeth@ti.com>
Tested-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
[khilman: forward port from ti-linux-5.4.y]
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am5748.dtsi
arch/arm/boot/dts/am574x-idk.dts
arch/arm/boot/dts/dra74x-p.dtsi [new file with mode: 0644]
arch/arm/boot/dts/dra76x.dtsi

index 2cb577432766b0f34897f6c8fc81ded1332874d7..c260aa1a85bdb5352398f48e2ca3ad60aad4369f 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include "dra76x.dtsi"
+#include "dra74x-p.dtsi"
 #include "am57-pruss.dtsi"
 
 / {
        status = "disabled";
 };
 
-&usb4_tm {
-       status = "disabled";
-};
-
 &atl_tm {
        status = "disabled";
 };
index 1b8f3a28af0595bd880af77fca826052a44403df..dcc32f4b347fbcf6d031816fc76c31ffaf8adaef 100644 (file)
        pinctrl-2 = <&mmc2_pins_default>;
 };
 
-&m_can0 {
-       status = "disabled";
-};
-
 &emif1 {
        status = "okay";
 };
diff --git a/arch/arm/boot/dts/dra74x-p.dtsi b/arch/arm/boot/dts/dra74x-p.dtsi
new file mode 100644 (file)
index 0000000..006189d
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "dra74x.dtsi"
+
+/ {
+       compatible = "ti,dra762", "ti,dra7";
+
+       ocp {
+               emif1: emif@4c000000 {
+                       compatible = "ti,emif-dra7xx";
+                       reg = <0x4c000000 0x200>;
+                       interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
+                       status = "disabled";
+               };
+       };
+};
+
+/* MCAN interrupts are hard-wired to irqs 67, 68 */
+&crossbar_mpu {
+       ti,irqs-skip = <10 67 68 133 139 140>;
+};
index a09e7bd77fc7a60cecfdedf67bdfb37f1f09254f..bc4ae91cba1653edb1bc5a89e727921496af42e2 100644 (file)
@@ -9,13 +9,6 @@
        compatible = "ti,dra762", "ti,dra7";
 
        ocp {
-               emif1: emif@4c000000 {
-                       compatible = "ti,emif-dra7xx";
-                       reg = <0x4c000000 0x200>;
-                       interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
-                       status = "disabled";
-               };
-
                target-module@42c01900 {
                        compatible = "ti,sysc-dra7-mcan", "ti,sysc";
                        ranges = <0x0 0x42c00000 0x2000>;
        };
 };
 
-/* MCAN interrupts are hard-wired to irqs 67, 68 */
-&crossbar_mpu {
-       ti,irqs-skip = <10 67 68 133 139 140>;
-};
-
 &scm_conf_clocks {
        dpll_gmac_h14x2_ctrl_ck: dpll_gmac_h14x2_ctrl_ck@3fc {
                #clock-cells = <0>;