Samsung Exynos SoC USB 2.0 EHCI/OHCI Controller
Schema identifier ($id): "http://devicetree.org/schemas/usb/samsung,exynos-usb2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "samsung,exynos4210-ehci", "samsung,exynos4210-ohci"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"usbhost"
interrupts — required here #
Maximum number of items (maxItems): 1
phys — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
phy-names — required here #
Array item rules (items) #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
reg — required here #
Maximum number of items (maxItems): 1
samsung,vbus-gpio — not listed as required here #
Only for controller in EHCI mode, if present, specifies the GPIO that needs to be pulled up for the bus to be powered.
Required in this object (required): "compatible", "clocks", "clock-names", "interrupts", "phys", "phy-names", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):usb-hcd.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos4210-ohci"When the condition matches (
then) #Properties and child nodes (
properties)
samsung,vbus-gpio— not listed as required here
false— Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/exynos5420.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
usb@12110000 {
compatible = "samsung,exynos4210-ehci";
reg = <0x12110000 0x100>;
interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_USBH20>;
clock-names = "usbhost";
phys = <&usb2_phy 0>;
phy-names = "host";
#address-cells = <1>;
#size-cells = <0>;
hub@1 {
compatible = "usb0424,9514";
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
usbether@1 {
compatible = "usb0424,ec00";
reg = <1>;
local-mac-address = [00 00 00 00 00 00];
};
};
};
usb@12120000 {
compatible = "samsung,exynos4210-ohci";
reg = <0x12120000 0x100>;
interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_USBH20>;
clock-names = "usbhost";
phys = <&usb2_phy 0>;
phy-names = "host";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)