]> Git Repo - linux.git/commitdiff
ARM: shmobile: alt: add I2C1 DT support
authorUlrich Hecht <[email protected]>
Wed, 18 Nov 2015 12:51:06 +0000 (13:51 +0100)
committerSimon Horman <[email protected]>
Wed, 18 Nov 2015 17:10:24 +0000 (09:10 -0800)
Defines the board-dependent part of the I2C1 device.

Signed-off-by: Ulrich Hecht <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
arch/arm/boot/dts/r8a7794-alt.dts

index e7c94554d847d9e438b2e1a7db5fe14ffabeaf1d..88ed017495e900b7142de8691f0e889d007b2a27 100644 (file)
                renesas,groups = "eth_link_b", "eth_mdio_b", "eth_rmii_b";
                renesas,function = "eth";
        };
+
+       i2c1_pins: i2c1 {
+               renesas,groups = "i2c1";
+               renesas,function = "i2c1";
+       };
 };
 
 &cmt0 {
        };
 };
 
+&i2c1 {
+       pinctrl-0 = <&i2c1_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+       clock-frequency = <400000>;
+};
+
 &scif2 {
        status = "okay";
 };
This page took 0.056932 seconds and 4 git commands to generate.