Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 809ed95f authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Maxime Ripard
Browse files

ARM: dts: sunxi: Use label to reference pio in sunxi-common-regulators



Use the label to reference the pin controller node, so that we can use
sunxi-common-regulators with sunxi families that don't share the same
address space mappings, such as sun9i.

This patch is mostly space changes due to the reduction of node parents.

Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 203c6883
Loading
Loading
Loading
Loading
+26 −28
Original line number Diff line number Diff line
@@ -50,9 +50,7 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/sun4i-a10.h>

/ {
	soc@01c00000 {
		pio: pinctrl@01c20800 {
&pio {
	ahci_pwr_pin_a: ahci_pwr_pin@0 {
		allwinner,pins = "PB8";
		allwinner,function = "gpio_out";
@@ -81,8 +79,8 @@
		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
	};
};
	};

/ {
	reg_ahci_5v: ahci-5v {
		compatible = "regulator-fixed";
		pinctrl-names = "default";