ARM: dts: sun9i: Add clock-indices property for bus gate clocks
authorChen-Yu Tsai <wens@csie.org>
Tue, 13 Jan 2015 01:37:27 +0000 (09:37 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 21 Jan 2015 08:59:15 +0000 (09:59 +0100)
commit203c6883b8b4754eb833d50935338556685b8a93
tree8a372142bc13a5e0388b82cfcbf42ec00cf82d68
parentd2aa6f540022f3308fc959d9192dae5cc409ac3e
ARM: dts: sun9i: Add clock-indices property for bus gate clocks

of_clk_get_parent_name() uses the clock-indices property to resolve
clock phandle arguments in case that the argument index does not
match the clock-output-names sequence.

This is the case on sunxi, where we use the actual bit index as the
argument to the phandle. Add the clock-indices property so that
of_clk_get_parent_name() resolves the names correctly.

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