arm64: dts: renesas: r8a77980: Put I2C aliases to board files
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 25 Aug 2022 07:10:19 +0000 (09:10 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 29 Aug 2022 07:17:08 +0000 (09:17 +0200)
I2C aliases are not a property of a SoC. They belong to board files
where they are named accordingly in the schematics.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20220825071022.7864-4-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r8a77980-condor.dts
arch/arm64/boot/dts/renesas/r8a77980-v3hsk.dts
arch/arm64/boot/dts/renesas/r8a77980.dtsi

index 43ed033..981cf4d 100644 (file)
        compatible = "renesas,condor", "renesas,r8a77980";
 
        aliases {
+               i2c0 = &i2c0;
+               i2c1 = &i2c1;
+               i2c2 = &i2c2;
+               i2c3 = &i2c3;
+               i2c4 = &i2c4;
+               i2c5 = &i2c5;
                serial0 = &scif0;
                ethernet0 = &gether;
        };
index 1d09d88..d168b0e 100644 (file)
        compatible = "renesas,v3hsk", "renesas,r8a77980";
 
        aliases {
+               i2c0 = &i2c0;
+               i2c1 = &i2c1;
+               i2c2 = &i2c2;
+               i2c3 = &i2c3;
+               i2c4 = &i2c4;
+               i2c5 = &i2c5;
                serial0 = &scif0;
                ethernet0 = &gether;
        };
index 8594be7..a3af341 100644 (file)
        #address-cells = <2>;
        #size-cells = <2>;
 
-       aliases {
-               i2c0 = &i2c0;
-               i2c1 = &i2c1;
-               i2c2 = &i2c2;
-               i2c3 = &i2c3;
-               i2c4 = &i2c4;
-               i2c5 = &i2c5;
-       };
-
        /* External CAN clock - to be overridden by boards that provide it */
        can_clk: can {
                compatible = "fixed-clock";