summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2017-04-09 16:22:08 -0700
committerTony Lindgren <tony@atomide.com>2017-04-09 16:22:08 -0700
commit8434fbefc63790ee928d04cad0458508eaa39ffd (patch)
tree50e476b8c4beb7625d2bcd583dee3b208a8e0e94 /arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
parent8a1a6259657e319eec0311789de10336dcb8e5de (diff)
ARM: dts: omap4-droid4: Add CPCAP PMIC OTG PHY configuration
Add CPCAP PMIC OTG PHY configuration. Cc: devicetree@vger.kernel.org Cc: Marcel Partap <mpartap@gmx.net> Cc: Michael Scott <michael.scott@linaro.org> Reviewed-by: Sebastian Reichel <sre@kernel.org> Tested-by: Sebastian Reichel <sre@kernel.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi')
-rw-r--r--arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi b/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
index e57e38613695..f5aeb3959afd 100644
--- a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
+++ b/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
@@ -65,6 +65,29 @@
interrupts = <23 IRQ_TYPE_NONE>;
};
+ cpcap_usb2_phy: phy {
+ compatible = "motorola,mapphone-cpcap-usb-phy";
+ pinctrl-0 = <&usb_gpio_mux_sel1 &usb_gpio_mux_sel2>;
+ pinctrl-1 = <&usb_ulpi_pins>;
+ pinctrl-2 = <&usb_utmi_pins>;
+ pinctrl-3 = <&uart3_pins>;
+ pinctrl-names = "default", "ulpi", "utmi", "uart";
+ #phy-cells = <0>;
+ interrupts-extended = <
+ &cpcap 15 0 &cpcap 14 0 &cpcap 28 0 &cpcap 19 0
+ &cpcap 18 0 &cpcap 17 0 &cpcap 16 0 &cpcap 49 0
+ &cpcap 48 1
+ >;
+ interrupt-names =
+ "id_ground", "id_float", "se0conn", "vbusvld",
+ "sessvld", "sessend", "se1", "dm", "dp";
+ mode-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH
+ &gpio1 0 GPIO_ACTIVE_HIGH>;
+ io-channels = <&cpcap_adc 2>, <&cpcap_adc 7>;
+ io-channel-names = "vbus", "id";
+ vusb-supply = <&vusb>;
+ };
+
led_red: led-red {
compatible = "motorola,cpcap-led-red";
vdd-supply = <&sw5>;