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 --- a/arch/arm/boot/dts/sun6i-a31.dtsi
17 +++ b/arch/arm/boot/dts/sun6i-a31.dtsi
22 + ahb1_rst: reset@01c202c0 {
24 + compatible = "allwinner,sun6i-a31-ahb1-reset";
25 + reg = <0x01c202c0 0xc>;
28 + apb1_rst: reset@01c202d0 {
30 + compatible = "allwinner,sun6i-a31-clock-reset";
31 + reg = <0x01c202d0 0x4>;
34 + apb2_rst: reset@01c202d8 {
36 + compatible = "allwinner,sun6i-a31-clock-reset";
37 + reg = <0x01c202d8 0x4>;
41 compatible = "allwinner,sun4i-timer";
42 reg = <0x01c20c00 0xa0>;
46 clocks = <&apb2_gates 16>;
47 + resets = <&apb2_rst 16>;
54 clocks = <&apb2_gates 17>;
55 + resets = <&apb2_rst 17>;
62 clocks = <&apb2_gates 18>;
63 + resets = <&apb2_rst 18>;
70 clocks = <&apb2_gates 19>;
71 + resets = <&apb2_rst 19>;
78 clocks = <&apb2_gates 20>;
79 + resets = <&apb2_rst 20>;
86 clocks = <&apb2_gates 21>;
87 + resets = <&apb2_rst 21>;