mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 07:38:10 +00:00
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: Roman Byshko <rbyshko@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
parent
134c60ad46
commit
1f8cc4d80f
1 changed files with 13 additions and 0 deletions
|
@ -92,6 +92,13 @@ led_pins_cubietruck: led_pins@0 {
|
|||
allwinner,drive = <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 {
|
||||
|
@ -185,6 +192,12 @@ reg_ahci_5v: ahci-5v {
|
|||
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 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue