[PATCH] arm64: dt marvell: extend AP806 system controller size
Gregory CLEMENT
gregory.clement at free-electrons.com
Tue Sep 19 07:39:53 PDT 2017
Hi Baruch,
On ven., sept. 15 2017, Baruch Siach <baruch at tkos.co.il> wrote:
> Extend the container size to 0x2000 to include the gpio controller at
> offset 0x1040.
>
Actually it is a fix as I don't see how we can use the gpio if it is not
in the range. So I amended your patch by adding:
Fixes: 63dac0f4924b ("arm64: dts: marvell: add gpio support for Armada
7K/8K")
Cc: <stable at vger.kernel.org>
And I also modified the title to:
arm64: dt marvell: Fix AP806 system controller size
> While at it, add start address notation to the gpio node name to match
> its 'offset' property.
>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Applied on mvebu/fixes
Thanks,
Gregory
> ---
> arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi
> index 4d360713ed12..30d48ecf46e0 100644
> --- a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi
> @@ -254,7 +254,7 @@
>
> ap_syscon: system-controller at 6f4000 {
> compatible = "syscon", "simple-mfd";
> - reg = <0x6f4000 0x1000>;
> + reg = <0x6f4000 0x2000>;
>
> ap_clk: clock {
> compatible = "marvell,ap806-clock";
> @@ -265,7 +265,7 @@
> compatible = "marvell,ap806-pinctrl";
> };
>
> - ap_gpio: gpio {
> + ap_gpio: gpio at 1040 {
> compatible = "marvell,armada-8k-gpio";
> offset = <0x1040>;
> ngpios = <20>;
> --
> 2.14.1
>
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the linux-arm-kernel
mailing list