summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Goger <klaus.goger@theobroma-systems.com>2015-11-04 08:06:22 +0100
committerKlaus Goger <klaus.goger@theobroma-systems.com>2015-11-05 10:38:53 +0100
commitdd004692c85b8734a44bc80a74703f2ea6b4fd7d (patch)
tree25ff7589023ac5ea9c3c449d208c968ea8df892f
parent5f8ec7d9299c12d3bb5f6a7f90a18c8a29cb41f4 (diff)
ARM: dts: pangolin: pinmux ohci2
added pinmux settings for ohci2. enable pull downs on pins so that disconnects from USB devices are detected properly. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
-rw-r--r--arch/arm/boot/dts/sun6i-a31-pangolin.dts2
-rw-r--r--arch/arm/boot/dts/sun6i-a31.dtsi7
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-pangolin.dts b/arch/arm/boot/dts/sun6i-a31-pangolin.dts
index 0fe6f71f49f..07285596641 100644
--- a/arch/arm/boot/dts/sun6i-a31-pangolin.dts
+++ b/arch/arm/boot/dts/sun6i-a31-pangolin.dts
@@ -189,6 +189,8 @@
};
&ohci2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&ohci2_pins_a>;
status = "okay";
};
diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
index 238f11b0355..7782cb42ae5 100644
--- a/arch/arm/boot/dts/sun6i-a31.dtsi
+++ b/arch/arm/boot/dts/sun6i-a31.dtsi
@@ -731,6 +731,13 @@
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
+ ohci2_pins_a: ohci2@ {
+ allwinner,pins = "PG10", "PG11";
+ allwinner,function = "usb";
+ allwinner,drive = <SUN4I_PINCTRL_30_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>;
+ };
+
gmac_pins_rgmii_a: gmac_rgmii@0 {
allwinner,pins = "PA0", "PA1", "PA2", "PA3",
"PA9", "PA10", "PA11",