summaryrefslogtreecommitdiff
path: root/arch/arm/dts/stih410-pinctrl.dtsi
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2017-02-21 13:37:11 +0100
committerTom Rini <trini@konsulko.com>2017-03-14 20:40:21 -0400
commit51cb23d45263eb0c0dd7e8e22e9a6e10c8b81f3e (patch)
treed36f2170df55c83e60132943402f688b83f29fad /arch/arm/dts/stih410-pinctrl.dtsi
parent0c56310252b6fc3c942ec569fefc0dfbc1c38a74 (diff)
STiH410-B2260: Add device tree
This device tree has been extracted from v4.9 kernel Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/dts/stih410-pinctrl.dtsi')
-rw-r--r--arch/arm/dts/stih410-pinctrl.dtsi34
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/arm/dts/stih410-pinctrl.dtsi b/arch/arm/dts/stih410-pinctrl.dtsi
new file mode 100644
index 0000000000..b3e9dfc81c
--- /dev/null
+++ b/arch/arm/dts/stih410-pinctrl.dtsi
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2014 STMicroelectronics Limited.
+ * Author: Peter Griffin <peter.griffin@linaro.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * publishhed by the Free Software Foundation.
+ */
+#include "st-pincfg.h"
+/ {
+
+ soc {
+ pin-controller-rear {
+
+ usb0 {
+ pinctrl_usb0: usb2-0 {
+ st,pins {
+ usb-oc-detect = <&pio35 0 ALT1 IN>;
+ usb-pwr-enable = <&pio35 1 ALT1 OUT>;
+ };
+ };
+ };
+
+ usb1 {
+ pinctrl_usb1: usb2-1 {
+ st,pins {
+ usb-oc-detect = <&pio35 2 ALT1 IN>;
+ usb-pwr-enable = <&pio35 3 ALT1 OUT>;
+ };
+ };
+ };
+ };
+ };
+};