From: Wolfram Sang Date: Mon, 17 Feb 2014 10:44:42 +0000 (+0100) Subject: ARM: shmobile: r8a7791: add i2c2 bus to koelsch dt X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=38c53516729925d2123ed800e5f4182d77e450a6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: shmobile: r8a7791: add i2c2 bus to koelsch dt Signed-off-by: Wolfram Sang Acked-by: Magnus Damm [horms+renesas@verge.net.au: resolved conflict] Signed-off-by: Simon Horman --- diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts index f67d2d0abded..bf6ba0c7faa0 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@50 { + compatible = "renesas,24c02"; + reg = <0x50>; + pagesize = <16>; + }; +}; + &pfc { pinctrl-0 = <&du_pins &scif0_pins &scif1_pins>; pinctrl-names = "default"; + i2c2_pins: i2c { + renesas,groups = "i2c2"; + renesas,function = "i2c2"; + }; + du_pins: du { renesas,groups = "du_rgb666", "du_sync", "du_clk_out_0"; renesas,function = "du";