soc/intel_adsp: Dedup device tree nodes
The dma nodes in device tree were entirely copy pasted. Rather than doing that lets create a common intel_cavs.dtsi each specialization then includes. This dedups the lpgpdma entries. Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
This commit is contained in:
parent
6a0837af2c
commit
afb23b2b56
35
dts/xtensa/intel/intel_cavs.dtsi
Normal file
35
dts/xtensa/intel/intel_cavs.dtsi
Normal file
|
@ -0,0 +1,35 @@
|
|||
/*
|
||||
* Copyright (c) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <xtensa/xtensa.dtsi>
|
||||
|
||||
/ {
|
||||
soc {
|
||||
lpgpdma0: dma@7c000 {
|
||||
compatible = "intel,cavs-gpdma";
|
||||
#dma-cells = <1>;
|
||||
reg = <0x0007c000 0x1000>;
|
||||
shim = <0x00078400 0x100>;
|
||||
interrupts = <0x10 0 0>;
|
||||
interrupt-parent = <&cavs3>;
|
||||
label = "DMA_0";
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
lpgpdma1: dma@7d000 {
|
||||
compatible = "intel,cavs-gpdma";
|
||||
#dma-cells = <1>;
|
||||
reg = <0x0007d000 0x1000>;
|
||||
shim = <0x00078500 0x100>;
|
||||
interrupts = <0x0F 0 0>;
|
||||
interrupt-parent = <&cavs3>;
|
||||
label = "DMA_1";
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
|
@ -4,8 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <xtensa/xtensa.dtsi>
|
||||
#include <dt-bindings/i2c/i2c.h>
|
||||
#include <xtensa/intel/intel_cavs.dtsi>
|
||||
#include <mem.h>
|
||||
|
||||
/ {
|
||||
|
@ -108,29 +107,5 @@
|
|||
interrupts = <8 0 0>;
|
||||
interrupt-parent = <&cavs0>;
|
||||
};
|
||||
|
||||
lpgpdma0: dma@7c000 {
|
||||
compatible = "intel,cavs-gpdma";
|
||||
#dma-cells = <1>;
|
||||
reg = <0x0007c000 0x1000>;
|
||||
shim = <0x00078400 0x100>;
|
||||
interrupts = <0x10 0 0>;
|
||||
interrupt-parent = <&cavs3>;
|
||||
label = "DMA_0";
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
lpgpdma1: dma@7d000 {
|
||||
compatible = "intel,cavs-gpdma";
|
||||
#dma-cells = <1>;
|
||||
reg = <0x0007d000 0x1000>;
|
||||
shim = <0x00078500 0x100>;
|
||||
interrupts = <0x0F 0 0>;
|
||||
interrupt-parent = <&cavs3>;
|
||||
label = "DMA_1";
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <xtensa/xtensa.dtsi>
|
||||
#include <dt-bindings/i2c/i2c.h>
|
||||
#include <xtensa/intel/intel_cavs.dtsi>
|
||||
#include <mem.h>
|
||||
|
||||
/ {
|
||||
|
@ -127,29 +126,5 @@
|
|||
interrupts = <8 0 0>;
|
||||
interrupt-parent = <&cavs0>;
|
||||
};
|
||||
|
||||
lpgpdma0: dma@7c000 {
|
||||
compatible = "intel,cavs-gpdma";
|
||||
#dma-cells = <1>;
|
||||
reg = <0x0007c000 0x1000>;
|
||||
shim = <0x00078400 0x100>;
|
||||
interrupts = <0x10 0 0>;
|
||||
interrupt-parent = <&cavs3>;
|
||||
label = "DMA_0";
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
lpgpdma1: dma@7d000 {
|
||||
compatible = "intel,cavs-gpdma";
|
||||
#dma-cells = <1>;
|
||||
reg = <0x0007d000 0x1000>;
|
||||
shim = <0x00078500 0x100>;
|
||||
interrupts = <0x0F 0 0>;
|
||||
interrupt-parent = <&cavs3>;
|
||||
label = "DMA_1";
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <xtensa/xtensa.dtsi>
|
||||
#include <dt-bindings/i2c/i2c.h>
|
||||
#include <xtensa/intel/intel_cavs.dtsi>
|
||||
#include <mem.h>
|
||||
|
||||
/ {
|
||||
|
@ -128,28 +127,5 @@
|
|||
interrupt-parent = <&cavs0>;
|
||||
};
|
||||
|
||||
lpgpdma0: dma@7c000 {
|
||||
compatible = "intel,cavs-gpdma";
|
||||
#dma-cells = <1>;
|
||||
reg = <0x0007c000 0x1000>;
|
||||
shim = <0x00078400 0x100>;
|
||||
interrupts = <0x10 0 0>;
|
||||
interrupt-parent = <&cavs3>;
|
||||
label = "DMA_0";
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
lpgpdma1: dma@7d000 {
|
||||
compatible = "intel,cavs-gpdma";
|
||||
#dma-cells = <1>;
|
||||
reg = <0x0007d000 0x1000>;
|
||||
shim = <0x00078500 0x100>;
|
||||
interrupts = <0x0F 0 0>;
|
||||
interrupt-parent = <&cavs3>;
|
||||
label = "DMA_1";
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <xtensa/xtensa.dtsi>
|
||||
#include <dt-bindings/i2c/i2c.h>
|
||||
#include <xtensa/intel/intel_cavs.dtsi>
|
||||
#include <mem.h>
|
||||
|
||||
/ {
|
||||
|
@ -132,29 +131,5 @@
|
|||
compatible = "intel,adsp-tlb";
|
||||
reg = <0x3000 0x1000>;
|
||||
};
|
||||
|
||||
lpgpdma0: dma@7c000 {
|
||||
compatible = "intel,cavs-gpdma";
|
||||
#dma-cells = <1>;
|
||||
reg = <0x0007c000 0x1000>;
|
||||
shim = <0x00078400 0x100>;
|
||||
interrupts = <0x10 0 0>;
|
||||
interrupt-parent = <&cavs3>;
|
||||
label = "DMA_0";
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
lpgpdma1: dma@7d000 {
|
||||
compatible = "intel,cavs-gpdma";
|
||||
#dma-cells = <1>;
|
||||
reg = <0x0007d000 0x1000>;
|
||||
shim = <0x00078500 0x100>;
|
||||
interrupts = <0x0F 0 0>;
|
||||
interrupt-parent = <&cavs3>;
|
||||
label = "DMA_1";
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <xtensa/xtensa.dtsi>
|
||||
#include <dt-bindings/i2c/i2c.h>
|
||||
#include <xtensa/intel/intel_cavs.dtsi>
|
||||
#include <mem.h>
|
||||
|
||||
/ {
|
||||
|
@ -113,29 +112,5 @@
|
|||
compatible = "intel,adsp-tlb";
|
||||
reg = <0x3000 0x1000>;
|
||||
};
|
||||
|
||||
lpgpdma0: dma@7c000 {
|
||||
compatible = "intel,cavs-gpdma";
|
||||
#dma-cells = <1>;
|
||||
reg = <0x0007c000 0x1000>;
|
||||
shim = <0x00078400 0x100>;
|
||||
interrupts = <0x10 0 0>;
|
||||
interrupt-parent = <&cavs3>;
|
||||
label = "DMA_0";
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
lpgpdma1: dma@7d000 {
|
||||
compatible = "intel,cavs-gpdma";
|
||||
#dma-cells = <1>;
|
||||
reg = <0x0007d000 0x1000>;
|
||||
shim = <0x00078500 0x100>;
|
||||
interrupts = <0x0F 0 0>;
|
||||
interrupt-parent = <&cavs3>;
|
||||
label = "DMA_1";
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue