]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: sync Actions Semi S700 DT from Linux v5.16-rc3
authorAmit Singh Tomar <amittomer25@gmail.com>
Thu, 2 Dec 2021 18:23:28 +0000 (23:53 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 18 Jan 2022 17:48:17 +0000 (12:48 -0500)
This Synchronizes the Actions Semi S700 SoC DT changes from
commit "g58e1100fdc59" ("Linux v5.16-rc3").

Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
arch/arm/dts/s700.dtsi
include/dt-bindings/power/owl-s700-powergate.h [new file with mode: 0644]

index 2006ad5424fa6efdaab87a74c22e360f8fdb19da..2c78caebf5152fbaa632514cea2c621ab1d3022a 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <dt-bindings/clock/actions,s700-cmu.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/power/owl-s700-powergate.h>
 #include <dt-bindings/reset/actions,s700-reset.h>
 
 / {
 
                pinctrl: pinctrl@e01b0000 {
                        compatible = "actions,s700-pinctrl";
-                       reg = <0x0 0xe01b0000 0x0 0x1000>;
+                       reg = <0x0 0xe01b0000 0x0 0x100>;
                        clocks = <&cmu CLK_GPIO>;
                        gpio-controller;
                        gpio-ranges = <&pinctrl 0 0 136>;
                                     <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
                                     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
                };
+
+               dma: dma-controller@e0230000 {
+                       compatible = "actions,s700-dma";
+                       reg = <0x0 0xe0230000 0x0 0x1000>;
+                       interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
+                       #dma-cells = <1>;
+                       dma-channels = <10>;
+                       dma-requests = <44>;
+                       clocks = <&cmu CLK_DMAC>;
+                       power-domains = <&sps S700_PD_DMA>;
+               };
        };
 };
diff --git a/include/dt-bindings/power/owl-s700-powergate.h b/include/dt-bindings/power/owl-s700-powergate.h
new file mode 100644 (file)
index 0000000..4cf1aef
--- /dev/null
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Actions Semi S700 SPS
+ *
+ * Copyright (c) 2017 Andreas Färber
+ */
+#ifndef DT_BINDINGS_POWER_OWL_S700_POWERGATE_H
+#define DT_BINDINGS_POWER_OWL_S700_POWERGATE_H
+
+#define S700_PD_VDE    0
+#define S700_PD_VCE_SI 1
+#define S700_PD_USB2_1 2
+#define S700_PD_HDE    3
+#define S700_PD_DMA    4
+#define S700_PD_DS     5
+#define S700_PD_USB3   6
+#define S700_PD_USB2_0 7
+
+#endif