]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: Use phandle for i2c_lvds_blc on rk3368-lion haikou
authorHeiko Stuebner <heiko.stuebner@cherry.de>
Wed, 14 Jan 2026 23:07:03 +0000 (00:07 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 16 Jan 2026 13:47:28 +0000 (14:47 +0100)
i2c@0 on i2cmux2 does already have a phandle i2c_lvds_blc defined.

Use this one instead of replicating the hierarchy again, as this might
result in strange errors if the lion dtsi is changed at some point
in the future.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Link: https://patch.msgid.link/20260114230707.4175162-2-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3368-lion-haikou.dts

index ab70ee5f561a2921df38e798f1214f7da0413547..abd1af97456ab085f6f35bd4f93bc94aaac45f93 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
-       i2cmux2 {
-               i2c@0 {
-                       eeprom: eeprom@50 {
-                               compatible = "atmel,24c01";
-                               pagesize = <8>;
-                               reg = <0x50>;
-                       };
-               };
-       };
-
        leds {
                pinctrl-0 = <&module_led_pins>, <&sd_card_led_pin>;
 
        };
 };
 
+&i2c_lvds_blc {
+       eeprom: eeprom@50 {
+               compatible = "atmel,24c01";
+               pagesize = <8>;
+               reg = <0x50>;
+       };
+};
+
 &sdmmc {
        bus-width = <4>;
        cap-mmc-highspeed;