]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: sun8i: Add reset controller nodes to the DTSI
authorChen-Yu Tsai <wens@csie.org>
Thu, 3 Jul 2014 14:55:49 +0000 (22:55 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 7 Jul 2014 09:00:37 +0000 (11:00 +0200)
commitc571111ac1d6e99a4ad49ae105325704e3381ccc
tree1ffca0b1743337476a3eb22c01dd97fb0c631840
parent8e9842406c1889782613f31a81a579ba14ef9e0f
ARM: sun8i: Add reset controller nodes to the DTSI

The A23 has the same MMIO reset controllers matching the clocks gates,
just like in the A31. This patch adds the reset controller nodes and
the reset control phandles for the peripherals needing them to the
DTSI.

Unlike the sun6i DTSI, this patch uses sun6i-a31-clock-reset for
ahb1_rst. sun6i-a31-ahb-reset is for early init, and requires some
additions to the machine code. It is used to support the hstimer.
However the hstimer on sun8i only has 1 timer, which is somewhat
useless. Support for it will probably not be added. Hence the
decision to use sun6i-a31-clock-reset here to avoid the changes to
sun8i machine code.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun8i-a23.dtsi