[PATCH V2 2/2] ARM: shmobile: r8a7791: add i2c2 bus to koelsch dt
Sergei Shtylyov
sergei.shtylyov at cogentembedded.com
Thu May 8 16:54:45 PDT 2014
Hello.
On 02/17/2014 01:44 PM, Wolfram Sang wrote:
> From: Wolfram Sang <wsa at sang-engineering.com>
> Signed-off-by: Wolfram Sang <wsa at sang-engineering.com>
> ---
> arch/arm/boot/dts/r8a7791-koelsch.dts | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
> diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
> index d4b9bba..b3f75d7 100644
> --- a/arch/arm/boot/dts/r8a7791-koelsch.dts
> +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
> @@ -108,10 +108,29 @@
> clock-frequency = <20000000>;
> };
>
> +&i2c2 {
> + pinctrl-0 = <&i2c2_pins>;
> + pinctrl-names = "default";
> +
> + status = "okay";
> + clock-frequency = <400000>;
> +
> + eeprom at 50 {
> + compatible = "renesas,24c02";
This is not quite right: Renesas' part is called differently, and you're
carrying the other vendor's naming onto Renesas parts. I'd just say "24c02"
(which I'll do in the Henninger board patch).
WBR, Sergei
More information about the linux-arm-kernel
mailing list