]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: allwinner: h5: NanoPi NEO Plus2: Use regulators for pio
authorKryštof Černý <cleverline1mc@gmail.com>
Thu, 5 Sep 2024 17:37:11 +0000 (19:37 +0200)
committerChen-Yu Tsai <wens@csie.org>
Wed, 11 Sep 2024 08:54:32 +0000 (16:54 +0800)
Pin controllers pio and r_pio will have proper regulators assigned.

Signed-off-by: Kryštof Černý <cleverline1mc@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Link: https://lore.kernel.org/r/20240905-nanopi-neo-plus2-regfix-v3-2-1895dff59598@gmail.com
[wens@csie.org: Make "h5" lowercase to match most commits]
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts

index dee4cd82636be0edc3f4be6c166ba1bdb4416c03..526443bb736c36bd88b493ce84e6c354d6b552be 100644 (file)
        status = "okay";
 };
 
+&pio {
+       vcc-pa-supply = <&reg_vcc3v3>;
+       vcc-pc-supply = <&reg_vcc3v3>;
+       vcc-pd-supply = <&reg_gmac_2v5>;
+       vcc-pf-supply = <&reg_vcc3v3>;
+       vcc-pg-supply = <&reg_vcc3v3>;
+};
+
+&r_pio {
+       vcc-pl-supply = <&reg_vcc3v3>;
+};
+
 &uart0 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart0_pa_pins>;