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

index 8fc03491a11c431ef7ae6ace91ad080f9f006a4d..bbc29452d1be92f0d76ab4627f5741b28c09e478 100644 (file)
        compatible = "renesas,ebisu";
 
        aliases {
+               i2c0 = &i2c0;
+               i2c1 = &i2c1;
+               i2c2 = &i2c2;
+               i2c3 = &i2c3;
+               i2c4 = &i2c4;
+               i2c5 = &i2c5;
+               i2c6 = &i2c6;
+               i2c7 = &i2c7;
                serial0 = &scif2;
                ethernet0 = &avb;
                mmc0 = &sdhi3;
index 565e9d85946e6f7ff9b3da4db27c2163df8e9268..3053b4b2149788c6ace5958bb7fd2616a18f4546 100644 (file)
        #address-cells = <2>;
        #size-cells = <2>;
 
-       aliases {
-               i2c0 = &i2c0;
-               i2c1 = &i2c1;
-               i2c2 = &i2c2;
-               i2c3 = &i2c3;
-               i2c4 = &i2c4;
-               i2c5 = &i2c5;
-               i2c6 = &i2c6;
-               i2c7 = &i2c7;
-       };
-
        /*
         * The external audio clocks are configured as 0 Hz fixed frequency
         * clocks by default.