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

Commit df839aeb authored by Maxime Ripard's avatar Maxime Ripard
Browse files

ARM: sun6i: app4 evb1: Convert to DT label based syntax



In order to lessen the amount of duplication of the DT tree, ease the
new and follow the trend that prefers to use label based references
when overriding DTSI nodes, convert the board to this syntax

Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent b2547166
Loading
Loading
Loading
Loading
+25 −27
Original line number Diff line number Diff line
@@ -61,9 +61,13 @@
	chosen {
		bootargs = "earlyprintk console=ttyS0,115200";
	};
};

&ehci0 {
	status = "okay";
};

	soc@01c00000 {
		pio: pinctrl@01c20800 {
&pio {
	usb1_vbus_pin_a: usb1_vbus_pin@0 {
		allwinner,pins = "PH27";
		allwinner,function = "gpio_out";
@@ -72,25 +76,19 @@
	};
};

		usbphy: phy@01c19400 {
			usb1_vbus-supply = <&reg_usb1_vbus>;
			status = "okay";
		};

		ehci0: usb@01c1a000 {
&reg_usb1_vbus {
	pinctrl-0 = <&usb1_vbus_pin_a>;
	gpio = <&pio 7 27 GPIO_ACTIVE_HIGH>;
	status = "okay";
};

		uart0: serial@01c28000 {
&uart0 {
	pinctrl-names = "default";
	pinctrl-0 = <&uart0_pins_a>;
	status = "okay";
};
	};

	reg_usb1_vbus: usb1-vbus {
		pinctrl-0 = <&usb1_vbus_pin_a>;
		gpio = <&pio 7 27 GPIO_ACTIVE_HIGH>;
&usbphy {
	usb1_vbus-supply = <&reg_usb1_vbus>;
	status = "okay";
};
};