ARM: dts: armadillo800eva: Add I2C EEPROM for MAC address
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 9 Mar 2023 15:30:47 +0000 (16:30 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 16 Mar 2023 16:00:49 +0000 (17:00 +0100)
Add a device node for the M24C01 I2C EEPROM which serves as external
storage for the Ethernet MAC address.

While at it, restore sort order (by unit address) of the devices on the
I2C bus.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/6d402b289fd20125d9f6f6b2a4f239aa1887daa6.1678375464.git.geert+renesas@glider.be
arch/arm/boot/dts/r8a7740-armadillo800eva.dts

index 0af63ddc44738b1dd67f3464507858b6605c459c..fa09295052c6e11301c3a8a195d8bcee79ead602 100644 (file)
 
 &i2c0 {
        status = "okay";
+
+       wm8978: codec@1a {
+               #sound-dai-cells = <0>;
+               compatible = "wlf,wm8978";
+               reg = <0x1a>;
+       };
+
+       eeprom@50 {
+               compatible = "st,24c01", "atmel,24c01";
+               reg = <0x50>;
+               pagesize = <16>;
+       };
+
        touchscreen@55 {
                compatible = "sitronix,st1232";
                reg = <0x55>;
                pinctrl-names = "default";
                gpios = <&pfc 166 GPIO_ACTIVE_LOW>;
        };
-
-       wm8978: codec@1a {
-               #sound-dai-cells = <0>;
-               compatible = "wlf,wm8978";
-               reg = <0x1a>;
-       };
 };
 
 &i2c2 {