Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1603020
| From | Jianqun Xu <jay.xu@rock-chips.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 1/3] arm64: dts: rockchip: add amba node support for RK3368 SoCs |
| Date | 2017-03-17 04:50 +0100 |
| Message-ID | <tlR3Q-8qq-5@gated-at.bofh.it> (permalink) |
| References | <tlQUa-8mg-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
There are two dmacs found on RK3368 SoCs, peripher dmac and bus dmac,
and the dmacs are same as previous SoCs' dmac.
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
---
changes since v1:
- none
arch/arm64/boot/dts/rockchip/rk3368.dtsi | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
index a635adc..c9be1b2 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
@@ -204,6 +204,37 @@
<&cpu_b2>, <&cpu_b3>;
};
+ amba {
+ compatible = "simple-bus";
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ dmac_peri: dma-controller@ff250000 {
+ compatible = "arm,pl330", "arm,primecell";
+ reg = <0x0 0xff250000 0x0 0x4000>;
+ interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
+ #dma-cells = <1>;
+ clocks = <&cru ACLK_DMAC_PERI>;
+ clock-names = "apb_pclk";
+ arm,pl330-broken-no-flushp;
+ peripherals-req-type-burst;
+ };
+
+ dmac_bus: dma-controller@ff600000 {
+ compatible = "arm,pl330", "arm,primecell";
+ reg = <0x0 0xff600000 0x0 0x4000>;
+ interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
+ #dma-cells = <1>;
+ clocks = <&cru ACLK_DMAC_BUS>;
+ clock-names = "apb_pclk";
+ arm,pl330-broken-no-flushp;
+ peripherals-req-type-burst;
+ };
+ };
+
psci {
compatible = "arm,psci-0.2";
method = "smc";
--
1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/3] arm64: dts: rockchip: rk3368 add dmac and i2s nodes Jianqun Xu <jay.xu@rock-chips.com> - 2017-03-17 04:50 +0100
[PATCH v2 1/3] arm64: dts: rockchip: add amba node support for RK3368 SoCs Jianqun Xu <jay.xu@rock-chips.com> - 2017-03-17 04:50 +0100
Re: [PATCH v2 1/3] arm64: dts: rockchip: add amba node support for RK3368 SoCs Heiko Stuebner <heiko@sntech.de> - 2017-03-17 12:40 +0100
[PATCH v2 2/3] arm64: dts: rockchip: add i2s nodes support for RK3368 SoCs Jianqun Xu <jay.xu@rock-chips.com> - 2017-03-17 04:50 +0100
Re: [PATCH v2 2/3] arm64: dts: rockchip: add i2s nodes support for RK3368 SoCs Heiko Stuebner <heiko@sntech.de> - 2017-03-17 12:20 +0100
csiph-web