arm64: dts: renesas: r8a779a0: Put I2C aliases to board files
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 25 Aug 2022 07:10:21 +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-6-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r8a779a0-falcon-cpu.dtsi
arch/arm64/boot/dts/renesas/r8a779a0.dtsi

index 53c4a26198e3db26d084f1dfa5699265b1570b21..99b73e21c82c2b18261fd98bc29be7982d926c09 100644 (file)
        compatible = "renesas,falcon-cpu", "renesas,r8a779a0";
 
        aliases {
+               i2c0 = &i2c0;
+               i2c1 = &i2c1;
+               i2c2 = &i2c2;
+               i2c3 = &i2c3;
+               i2c4 = &i2c4;
+               i2c5 = &i2c5;
+               i2c6 = &i2c6;
                serial0 = &scif0;
        };
 
index 3d668709d8a8d09f5bae98d23007809e05444d86..3e1557a5b5e159d229ad8d78fb942fbe4434a998 100644 (file)
        #address-cells = <2>;
        #size-cells = <2>;
 
-       aliases {
-               i2c0 = &i2c0;
-               i2c1 = &i2c1;
-               i2c2 = &i2c2;
-               i2c3 = &i2c3;
-               i2c4 = &i2c4;
-               i2c5 = &i2c5;
-               i2c6 = &i2c6;
-       };
-
        /* External CAN clock - to be overridden by boards that provide it */
        can_clk: can {
                compatible = "fixed-clock";