Skip to content

Commit

Permalink
ARM: zynq: DT: Add pinctrl information to USB nodes
Browse files Browse the repository at this point in the history
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
  • Loading branch information
Soren Brinkmann authored and Michal Simek committed Jan 28, 2015
1 parent 38c735f commit 0c79b9f
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
26 changes: 26 additions & 0 deletions arch/arm/boot/dts/zynq-zc702.dts
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,30 @@
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 {
Expand All @@ -330,4 +354,6 @@
status = "okay";
dr_mode = "host";
usb-phy = <&usb_phy0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usb0_default>;
};
26 changes: 26 additions & 0 deletions arch/arm/boot/dts/zynq-zc706.dts
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,30 @@
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 {
Expand All @@ -279,4 +303,6 @@
status = "okay";
dr_mode = "host";
usb-phy = <&usb_phy0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usb0_default>;
};

0 comments on commit 0c79b9f

Please sign in to comment.