Commit 0c79b9fe authored by Soren Brinkmann's avatar Soren Brinkmann Committed by Michal Simek

ARM: zynq: DT: Add pinctrl information to USB nodes

Signed-off-by: default avatarSoren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 38c735f3
...@@ -312,6 +312,30 @@ conf-tx { ...@@ -312,6 +312,30 @@ conf-tx {
bias-disable; bias-disable;
}; };
}; };
pinctrl_usb0_default: usb0-default {
mux {
groups = "usb0_0_grp";
function = "usb0";
};
conf {
groups = "usb0_0_grp";
slew-rate = <0>;
io-standard = <1>;
};
conf-rx {
pins = "MIO29", "MIO31", "MIO36";
bias-high-impedance;
};
conf-tx {
pins = "MIO28", "MIO30", "MIO32", "MIO33", "MIO34",
"MIO35", "MIO37", "MIO38", "MIO39";
bias-disable;
};
};
}; };
&sdhci0 { &sdhci0 {
...@@ -330,4 +354,6 @@ &usb0 { ...@@ -330,4 +354,6 @@ &usb0 {
status = "okay"; status = "okay";
dr_mode = "host"; dr_mode = "host";
usb-phy = <&usb_phy0>; usb-phy = <&usb_phy0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usb0_default>;
}; };
...@@ -261,6 +261,30 @@ conf-tx { ...@@ -261,6 +261,30 @@ conf-tx {
bias-disable; bias-disable;
}; };
}; };
pinctrl_usb0_default: usb0-default {
mux {
groups = "usb0_0_grp";
function = "usb0";
};
conf {
groups = "usb0_0_grp";
slew-rate = <0>;
io-standard = <1>;
};
conf-rx {
pins = "MIO29", "MIO31", "MIO36";
bias-high-impedance;
};
conf-tx {
pins = "MIO28", "MIO30", "MIO32", "MIO33", "MIO34",
"MIO35", "MIO37", "MIO38", "MIO39";
bias-disable;
};
};
}; };
&sdhci0 { &sdhci0 {
...@@ -279,4 +303,6 @@ &usb0 { ...@@ -279,4 +303,6 @@ &usb0 {
status = "okay"; status = "okay";
dr_mode = "host"; dr_mode = "host";
usb-phy = <&usb_phy0>; usb-phy = <&usb_phy0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usb0_default>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment