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

index b062f41ee270124b9927a4e54392ee4395d58b47..83104af2813eb4a08323eda9eb44fdc5fc981448 100644 (file)
 
 / {
        aliases {
+               i2c0 = &i2c0;
+               i2c1 = &i2c1;
+               i2c2 = &i2c2;
+               i2c3 = &i2c3;
+               i2c4 = &i2c4;
+               i2c5 = &i2c5;
+               i2c6 = &i2c6;
+               i2c7 = &iic_pmic;
                serial0 = &scif2;
                serial1 = &hscif0;
                mmc0 = &sdhi3;
index 3cf2e076940f3b5a8740ff9d97b5a362c1f52b0d..9ae67263c0df3fed712aa6f79247be1be2a4125c 100644 (file)
        compatible = "beacon,beacon-rzg2m", "renesas,r8a774a1";
 
        aliases {
+               i2c0 = &i2c0;
+               i2c1 = &i2c1;
+               i2c2 = &i2c2;
+               i2c3 = &i2c3;
+               i2c4 = &i2c4;
+               i2c5 = &i2c5;
+               i2c6 = &i2c6;
+               i2c7 = &iic_pmic;
                serial0 = &scif2;
                serial1 = &hscif0;
                serial2 = &hscif1;
index e7d17776624dee7f9c0e3fc615430174b43b9999..aec62c93f9a3d705bcda603f6f252f33385a1d48 100644 (file)
        #address-cells = <2>;
        #size-cells = <2>;
 
-       aliases {
-               i2c0 = &i2c0;
-               i2c1 = &i2c1;
-               i2c2 = &i2c2;
-               i2c3 = &i2c3;
-               i2c4 = &i2c4;
-               i2c5 = &i2c5;
-               i2c6 = &i2c6;
-               i2c7 = &iic_pmic;
-       };
-
        /*
         * The external audio clocks are configured as 0 Hz fixed frequency
         * clocks by default.