Samsung SoC series UFS host controller
Schema identifier ($id): "http://devicetree.org/schemas/ufs/samsung,exynos-ufs.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alim Akhtar <alim.akhtar@samsung.com>"
Each Samsung UFS host controller instance should have its own node.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "google,gs101-ufs", "samsung,exynos7-ufs", "samsung,exynosautov9-ufs", "samsung,exynosautov9-ufs-vh", "tesla,fsd-ufs"
reg — required here #
Array item rules (items) #
Item 1
HCI register
Item 2
vendor specific register
Item 3
unipro register
Item 4
UFS protector register
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"hci"
Item 2
Exact value (
const):"vs_hci"
Item 3
Exact value (
const):"unipro"
Item 4
Exact value (
const):"ufsp"
clocks — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
ufs link core clock
Item 2
unipro main clock
Item 3
fmp clock
Item 4
ufs aclk clock
Item 5
ufs pclk clock
Item 6
sysreg clock
clock-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"core_clk"
Item 2
Exact value (
const):"sclk_unipro_main"
Item 3
Exact value (
const):"fmp"
Item 4
Exact value (
const):"aclk"
Item 5
Exact value (
const):"pclk"
Item 6
Exact value (
const):"sysreg"
phys — required here #
Maximum number of items (maxItems): 1
phy-names — required here #
Exact value (const): "ufs-phy"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
samsung,sysreg — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to FSYSx sysreg node
Item 2
offset of the control register for UFS io coherency setting
Phandle and offset to the FSYSx sysreg for UFS io coherency setting.
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "phys", "phy-names", "clocks", "clock-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ufs-common.yaml
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"google,gs101-ufs"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):6
clock-names— not listed as required hereMinimum number of items (
minItems):6When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):2
clock-names— not listed as required hereMaximum number of items (
maxItems):2
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/exynos7-clk.h>
ufs: ufs@15570000 {
compatible = "samsung,exynos7-ufs";
reg = <0x15570000 0x100>,
<0x15570100 0x100>,
<0x15571000 0x200>,
<0x15572000 0x300>;
reg-names = "hci", "vs_hci", "unipro", "ufsp";
interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock_fsys1 ACLK_UFS20_LINK>,
<&clock_fsys1 SCLK_UFSUNIPRO20_USER>;
clock-names = "core_clk", "sclk_unipro_main";
pinctrl-names = "default";
pinctrl-0 = <&ufs_rst_n &ufs_refclk_out>;
phys = <&ufs_phy>;
phy-names = "ufs-phy";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause