OSDN Git Service

arm64: dts: renesas: falcon: Add I2C0,1,6 support
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 21 Jan 2021 09:54:19 +0000 (10:54 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 25 Jan 2021 09:32:43 +0000 (10:32 +0100)
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20210121095420.5023-4-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r8a779a0-falcon-cpu.dtsi

index 4ba269a..90aa139 100644 (file)
        clock-frequency = <32768>;
 };
 
+&i2c0 {
+       pinctrl-0 = <&i2c0_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+       clock-frequency = <400000>;
+};
+
+&i2c1 {
+       pinctrl-0 = <&i2c1_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+       clock-frequency = <400000>;
+};
+
+&i2c6 {
+       pinctrl-0 = <&i2c6_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+       clock-frequency = <400000>;
+};
+
+&pfc {
+       i2c0_pins: i2c0 {
+               groups = "i2c0";
+               function = "i2c0";
+       };
+
+       i2c1_pins: i2c1 {
+               groups = "i2c1";
+               function = "i2c1";
+       };
+
+       i2c6_pins: i2c6 {
+               groups = "i2c6";
+               function = "i2c6";
+       };
+};
+
 &scif0 {
        status = "okay";
 };