]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: r8a7778: Use R-Car Gen 1 fallback binding for i2c nodes
authorSimon Horman <horms+renesas@verge.net.au>
Tue, 13 Dec 2016 11:45:48 +0000 (12:45 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 3 Jan 2017 09:46:34 +0000 (10:46 +0100)
Use recently added R-Car Gen 1 fallback binding for i2c nodes in
DT for r8a7778 SoC.

This has no run-time effect for the current driver as the initialisation
sequence is the same for the SoC-specific binding for r8a7778 and the
fallback binding for R-Car Gen 1.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm/boot/dts/r8a7778.dtsi

index b0c9674fad172abd7b908ba3f53cc80b493731f2..1e93c94a9eace170c37387c8734e0087d0d9a0be 100644 (file)
        i2c0: i2c@ffc70000 {
                #address-cells = <1>;
                #size-cells = <0>;
-               compatible = "renesas,i2c-r8a7778";
+               compatible = "renesas,i2c-r8a7778", "renesas,rcar-gen1-i2c";
                reg = <0xffc70000 0x1000>;
                interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp0_clks R8A7778_CLK_I2C0>;
        i2c1: i2c@ffc71000 {
                #address-cells = <1>;
                #size-cells = <0>;
-               compatible = "renesas,i2c-r8a7778";
+               compatible = "renesas,i2c-r8a7778", "renesas,rcar-gen1-i2c";
                reg = <0xffc71000 0x1000>;
                interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp0_clks R8A7778_CLK_I2C1>;
        i2c2: i2c@ffc72000 {
                #address-cells = <1>;
                #size-cells = <0>;
-               compatible = "renesas,i2c-r8a7778";
+               compatible = "renesas,i2c-r8a7778", "renesas,rcar-gen1-i2c";
                reg = <0xffc72000 0x1000>;
                interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp0_clks R8A7778_CLK_I2C2>;
        i2c3: i2c@ffc73000 {
                #address-cells = <1>;
                #size-cells = <0>;
-               compatible = "renesas,i2c-r8a7778";
+               compatible = "renesas,i2c-r8a7778", "renesas,rcar-gen1-i2c";
                reg = <0xffc73000 0x1000>;
                interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&mstp0_clks R8A7778_CLK_I2C3>;