Skip to content
Snippets Groups Projects
Commit 413e18fd authored by Nicola Sparnacci's avatar Nicola Sparnacci
Browse files

[SANTINO][DTS] Configure USB OTG

Configured the USB OTG as per Santino schematic. This commit enables the
flashing onto eMMC via `uuu` tool.
parent f6366d92
No related branches found
No related tags found
No related merge requests found
......@@ -31,15 +31,35 @@
#address-cells = <1>;
#size-cells = <0>;
reg_usb_otg_vbus: regulator@0 {
// reg_usb_otg_vbus: regulator@0 {
// compatible = "regulator-fixed";
// reg = <0>;
// regulator-name = "usb_otg_vbus";
// regulator-min-microvolt = <5000000>;
// regulator-max-microvolt = <5000000>;
// gpio = <&gpio3 22 0>;
// enable-active-high;
// vin-supply = <&swbst_reg>;
// };
reg_5P0: regulator-5P0 {
compatible = "regulator-fixed";
reg = <0>;
regulator-name = "5P0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
reg_usb_otg_vbus: regulator-usb-otg-vbus {
compatible = "regulator-fixed";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbotgvbus1>;
regulator-name = "usb_otg_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&reg_5P0>;
gpio = <&gpio3 22 0>;
enable-active-high;
vin-supply = <&swbst_reg>;
};
reg_usb_h1_vbus: regulator@1 {
......@@ -166,10 +186,17 @@
MX6QDL_PAD_SD3_DAT5__UART2_TX_DATA 0x1b0b1
>;
};
pinctrl_usbotgvbus1: usbotgvbusgrp1 {
fsl,pins = <
MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x40000008
/* OC PAD_EIM_D21 not yet configured */
>;
};
pinctrl_usbotg: usbotggrp {
fsl,pins = <
MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059
MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
>;
};
......@@ -233,10 +260,6 @@
vbus-supply = <&reg_usb_otg_vbus>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbotg>;
disable-over-current;
srp-disable;
hnp-disable;
adp-disable;
status = "okay";
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment