1 From f88dc0623908b574d9dcdae8815ccd0829fc6828 Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime.ripard@free-electrons.com>
3 Date: Tue, 24 Sep 2013 11:10:41 +0300
4 Subject: [PATCH] ARM: sun6i: Add the reset controller to the DTSI
6 The A31 has a reset controller IP that maintains a few other IPs in
7 reset, among which we can find the UARTs, high speed timers or the I2C.
8 Now that we have support for them, add the reset controllers to the DTSI.
10 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
11 Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
13 arch/arm/boot/dts/sun6i-a31.dtsi | 24 ++++++++++++++++++++++++
14 1 file changed, 24 insertions(+)
16 diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
17 index 7f5878c..97966b0 100644
18 --- a/arch/arm/boot/dts/sun6i-a31.dtsi
19 +++ b/arch/arm/boot/dts/sun6i-a31.dtsi
24 + ahb1_rst: reset@01c202c0 {
26 + compatible = "allwinner,sun6i-a31-ahb1-reset";
27 + reg = <0x01c202c0 0xc>;
30 + apb1_rst: reset@01c202d0 {
32 + compatible = "allwinner,sun6i-a31-clock-reset";
33 + reg = <0x01c202d0 0x4>;
36 + apb2_rst: reset@01c202d8 {
38 + compatible = "allwinner,sun6i-a31-clock-reset";
39 + reg = <0x01c202d8 0x4>;
43 compatible = "allwinner,sun4i-timer";
44 reg = <0x01c20c00 0xa0>;
48 clocks = <&apb2_gates 16>;
49 + resets = <&apb2_rst 16>;
56 clocks = <&apb2_gates 17>;
57 + resets = <&apb2_rst 17>;
64 clocks = <&apb2_gates 18>;
65 + resets = <&apb2_rst 18>;
72 clocks = <&apb2_gates 19>;
73 + resets = <&apb2_rst 19>;
80 clocks = <&apb2_gates 20>;
81 + resets = <&apb2_rst 20>;
88 clocks = <&apb2_gates 21>;
89 + resets = <&apb2_rst 21>;