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

Commit 9eb1e270 authored by Roman Byshko's avatar Roman Byshko Committed by Maxime Ripard
Browse files

ARM: dts: sun7i: Cubietruck: override regulator pin



Cubietruck uses different pin for the USB OTG VBUS that
is why we override the one defined in sunxi-common-regulators.dtsi

Signed-off-by: default avatarRoman Byshko <rbyshko@gmail.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 1b218fa6
Loading
Loading
Loading
Loading
+13 −0
Original line number Original line Diff line number Diff line
@@ -92,6 +92,13 @@
				allwinner,drive = <0>;
				allwinner,drive = <0>;
				allwinner,pull = <0>;
				allwinner,pull = <0>;
			};
			};

			usb0_vbus_pin_a: usb0_vbus_pin@0 {
				allwinner,pins = "PH17";
				allwinner,function = "gpio_out";
				allwinner,drive = <0>;
				allwinner,pull = <0>;
			};
		};
		};


		pwm: pwm@01c20e00 {
		pwm: pwm@01c20e00 {
@@ -185,6 +192,12 @@
		status = "okay";
		status = "okay";
	};
	};


	reg_usb0_vbus: usb0-vbus {
		pinctrl-0 = <&usb0_vbus_pin_a>;
		gpio = <&pio 7 17 0>;
		status = "okay";
	};

	reg_usb1_vbus: usb1-vbus {
	reg_usb1_vbus: usb1-vbus {
		status = "okay";
		status = "okay";
	};
	};