]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: allwinner: h616: Change RG35XX Series from r_rsb to r_i2c
authorChris Morgan <macromorgan@hotmail.com>
Wed, 10 Jul 2024 23:17:17 +0000 (18:17 -0500)
committerChen-Yu Tsai <wens@csie.org>
Thu, 1 Aug 2024 14:00:48 +0000 (22:00 +0800)
Change the Anbernic RG35XX series to use the r_i2c bus for the PMIC
instead of the r_rsb bus. This is to keep the device tree consistent
as there are at least 3 devices (the RG35XX-SP, RG28XX, and RG40XX-H)
that have an external RTC on the r_i2c bus.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Ryan Walklin <ryan@testtoast.com>
Link: https://lore.kernel.org/r/20240710231718.106894-4-macroalpha82@gmail.com
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts

index afb49e65859f9894f0873f15ea10db8a09e3ab48..f01ace649c28d763a28b7ab2df68e9c2ba7dd23e 100644 (file)
        vcc-pi-supply = <&reg_cldo3>;
 };
 
-&r_rsb {
+&r_i2c {
        status = "okay";
 
-       axp717: pmic@3a3 {
+       axp717: pmic@34 {
                compatible = "x-powers,axp717";
-               reg = <0x3a3>;
+               reg = <0x34>;
                interrupt-controller;
                #interrupt-cells = <1>;
                interrupt-parent = <&nmi_intc>;