[PATCH 1/3] ARM64: dts: marvell: armada37xx: add address and size property for i2c cells

Gregory CLEMENT gregory.clement at free-electrons.com
Wed Mar 8 01:20:51 PST 2017


Hi,
 
 On mer., févr. 22 2017, Gregory CLEMENT <gregory.clement at free-electrons.com> wrote:

> These property were missing when the nodes were added and their lack
> generate warning messages when adding i2c device in the subnodes.
>
> Signed-off-by: Gregory CLEMENT <gregory.clement at free-electrons.com>

Applied on mvebu/dt64

Thanks,

Gregory

> ---
>  arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> index b48d668a6ab6..cf0c2f9ebd7d 100644
> --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> @@ -112,6 +112,8 @@
>  			i2c0: i2c at 11000 {
>  				compatible = "marvell,armada-3700-i2c";
>  				reg = <0x11000 0x24>;
> +				#address-cells = <1>;
> +				#size-cells = <0>;
>  				clocks = <&nb_periph_clk 10>;
>  				interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
>  				mrvl,i2c-fast-mode;
> @@ -121,6 +123,8 @@
>  			i2c1: i2c at 11080 {
>  				compatible = "marvell,armada-3700-i2c";
>  				reg = <0x11080 0x24>;
> +				#address-cells = <1>;
> +				#size-cells = <0>;
>  				clocks = <&nb_periph_clk 9>;
>  				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
>  				mrvl,i2c-fast-mode;
> -- 
> 2.11.0
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

-- 
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