Motorola Mapphone MDM6600 USB PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/motorola,mapphone-mdm6600.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tony Lindgren <tony@atomide.com>"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"motorola,mapphone-mdm6600"
enable-gpios — required here #
GPIO to enable the USB PHY
Maximum number of items (maxItems): 1
power-gpios — required here #
GPIO to power on the device
Maximum number of items (maxItems): 1
reset-gpios — required here #
GPIO to reset the device
Maximum number of items (maxItems): 1
motorola,mode-gpios — required here #
Two GPIOs to configure MDM6600 USB start-up mode for normal mode versus USB flashing mode
Array item rules (items) #
Item 1
normal mode select GPIO
Item 2
USB flashing mode select GPIO
motorola,cmd-gpios — required here #
Three GPIOs to control the power state of the MDM6600
Array item rules (items) #
Item 1
power state control GPIO 0
Item 2
power state control GPIO 1
Item 3
power state control GPIO 2
motorola,status-gpios — required here #
Three GPIOs to read the power state of the MDM6600
Array item rules (items) #
Item 1
power state read GPIO 0
Item 2
power state read GPIO 1
Item 3
power state read GPIO 2
#phy-cells — not listed as required here #
Exact value (const): 0
Required in this object (required): "compatible", "enable-gpios", "power-gpios", "reset-gpios", "motorola,mode-gpios", "motorola,cmd-gpios", "motorola,status-gpios"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
usb-phy {
compatible = "motorola,mapphone-mdm6600";
enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
power-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>;
motorola,mode-gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>,
<&gpio5 21 GPIO_ACTIVE_HIGH>;
motorola,cmd-gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>,
<&gpio4 8 GPIO_ACTIVE_HIGH>,
<&gpio5 14 GPIO_ACTIVE_HIGH>;
motorola,status-gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>,
<&gpio2 21 GPIO_ACTIVE_HIGH>,
<&gpio2 23 GPIO_ACTIVE_HIGH>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)