Ufs bindings
Single-page view · as markdown
AMD Versal Gen 2 UFS Host Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ufs bindings
Schema identifier ($id): "http://devicetree.org/schemas/ufs/amd,versal2-ufs.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ufs-common.yaml
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "amd,versal2-ufs"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 2
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"host"
Item 2
Exact value (
const):"phy"
Required in this object (required): "reg", "clocks", "clock-names", "resets", "reset-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
ufs@f10b0000 {
compatible = "amd,versal2-ufs";
reg = <0xf10b0000 0x1000>;
clocks = <&ufs_core_clk>;
clock-names = "core";
resets = <&scmi_reset 4>, <&scmi_reset 35>;
reset-names = "host", "phy";
interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>;
freq-table-hz = <0 0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Cadence Universal Flash Storage (UFS) Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ufs bindings
Schema identifier ($id): "http://devicetree.org/schemas/ufs/cdns,ufshc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jan Kotas <jank@cadence.com>"
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ufs-common.yaml
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Item 2
Exact value (
const):"jedec,ufs-2.0"
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"core_clk"
Item 2
Exact value (
const):"phy_clk"
Item 3
Exact value (
const):"ref_clk"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "clocks", "clock-names", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
ufs@fd030000 {
compatible = "cdns,ufshc", "jedec,ufs-2.0";
reg = <0xfd030000 0x10000>;
interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
freq-table-hz = <0 0>, <0 0>;
clocks = <&ufs_core_clk>, <&ufs_phy_clk>;
clock-names = "core_clk", "phy_clk";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 12: Select only our matches, not all jedec,ufs-2.0
Line 31: CDNS UFS HC + M31 16nm PHY
HiSilicon Universal Flash Storage (UFS) Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ufs bindings
Schema identifier ($id): "http://devicetree.org/schemas/ufs/hisilicon,ufs.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Li Wei <liwei213@huawei.com>"
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)Allowed values (
enum):"hisilicon,hi3660-ufs","hisilicon,hi3670-ufs"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ufs-common.yaml
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"hisilicon,hi3660-ufs"Item 2
Exact value (
const):"jedec,ufs-1.1"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"jedec,ufs-2.1"
clocks — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"ref_clk"
Item 2
Exact value (
const):"phy_clk"
reg — required here #
Array item rules (items) #
Item 1
UFS register address space
Item 2
UFS SYS CTRL register address space
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"rst"
Required in this object (required): "compatible", "reg", "resets", "reset-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/hi3670-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
ufs@ff3c0000 {
compatible = "hisilicon,hi3670-ufs", "jedec,ufs-2.1";
reg = <0x0 0xff3c0000 0x0 0x1000>,
<0x0 0xff3e0000 0x0 0x1000>;
interrupt-parent = <&gic>;
interrupts = <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&crg_ctrl HI3670_CLK_GATE_UFSIO_REF>,
<&crg_ctrl HI3670_CLK_GATE_UFS_SUBSYS>;
clock-names = "ref_clk", "phy_clk";
freq-table-hz = <0 0>,
<0 0>;
resets = <&crg_rst 0x84 12>;
reset-names = "rst";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 12: Select only our matches, not all jedec,ufs
Mediatek Universal Flash Storage (UFS) Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ufs bindings
Schema identifier ($id): "http://devicetree.org/schemas/ufs/mediatek,ufs.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Peter Wang <peter.wang@mediatek.com>", "Chaotian Jing <chaotian.jing@mediatek.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "mediatek,mt8183-ufshci", "mediatek,mt8192-ufshci", "mediatek,mt8195-ufshci"
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
phys — required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
vcc-supply — required here #
true — No constraints added by this property rule.
mediatek,ufs-disable-mcq — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
The mask to disable MCQ (Multi-Circular Queue) for UFS host.
Required in this object (required): "compatible", "clocks", "clock-names", "phys", "reg", "vcc-supply"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
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)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):8
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"ufs"Item 2
Exact value (
const):"ufs_aes"Item 3
Exact value (
const):"ufs_tick"Item 4
Exact value (
const):"unipro_sysclk"Item 5
Exact value (
const):"unipro_tick"Item 6
Exact value (
const):"unipro_mp_bclk"Item 7
Exact value (
const):"ufs_tx_symbol"Item 8
Exact value (
const):"ufs_mem_sub"When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"ufs"
Examples (examples) #
#include <dt-bindings/clock/mt8183-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
ufs@ff3c0000 {
compatible = "mediatek,mt8183-ufshci";
reg = <0 0x11270000 0 0x2300>;
interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_LOW>;
phys = <&ufsphy>;
clocks = <&infracfg_ao CLK_INFRA_UFS>;
clock-names = "ufs";
freq-table-hz = <0 0>;
vcc-supply = <&mt_pmic_vemc_ldo_reg>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Qualcomm SA8255P UFS Host Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ufs bindings
Schema identifier ($id): "http://devicetree.org/schemas/ufs/qcom,sa8255p-ufshc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ram Kumar Dwivedi <ram.dwivedi@oss.qualcomm.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,sa8255p-ufshc"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
iommus — required here #
Maximum number of items (maxItems): 1
dma-coherent — required here #
true — No constraints added by this property rule.
power-domains — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "power-domains", "iommus", "dma-coherent"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ufs-common.yaml
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
ufshc@1d84000 {
compatible = "qcom,sa8255p-ufshc";
reg = <0x01d84000 0x3000>;
interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
lanes-per-direction = <2>;
iommus = <&apps_smmu 0x100 0x0>;
power-domains = <&scmi3_pd 0>;
dma-coherent;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Qualcomm SC7180 and Other SoCs UFS Controllers
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ufs bindings
Schema identifier ($id): "http://devicetree.org/schemas/ufs/qcom,sc7180-ufshc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)Allowed values (
enum):"qcom,msm8998-ufshc","qcom,qcs8300-ufshc","qcom,sa8775p-ufshc","qcom,sc7180-ufshc","qcom,sc7280-ufshc","qcom,sc8180x-ufshc","qcom,sc8280xp-ufshc","qcom,sm8250-ufshc","qcom,sm8350-ufshc","qcom,sm8450-ufshc","qcom,sm8550-ufshc"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"qcom,msm8998-ufshc","qcom,qcs8300-ufshc","qcom,sa8775p-ufshc","qcom,sc7180-ufshc","qcom,sc7280-ufshc","qcom,sc8180x-ufshc","qcom,sc8280xp-ufshc","qcom,sm8250-ufshc","qcom,sm8350-ufshc","qcom,sm8450-ufshc","qcom,sm8550-ufshc"
Item 2
Exact value (
const):"qcom,ufshc"
Item 3
Exact value (
const):"jedec,ufs-2.0"
reg — required here #
Maximum number of items (maxItems): 1
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"std"
clocks — not listed as required here #
Minimum number of items (minItems): 7
Maximum number of items (maxItems): 8
clock-names — not listed as required here #
Minimum number of items (minItems): 7
Array item rules (items) #
Item 1
Exact value (
const):"core_clk"
Item 2
Exact value (
const):"bus_aggr_clk"
Item 3
Exact value (
const):"iface_clk"
Item 4
Exact value (
const):"core_clk_unipro"
Item 5
Exact value (
const):"ref_clk"
Item 6
Exact value (
const):"tx_lane0_sync_clk"
Item 7
Exact value (
const):"rx_lane0_sync_clk"
Item 8
Exact value (
const):"rx_lane1_sync_clk"
qcom,ice — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to the Inline Crypto Engine node
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,ufs-common.yaml
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):7
clock-names— not listed as required hereMaximum number of items (
maxItems):7When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):8
clock-names— not listed as required hereMinimum number of items (
minItems):8
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sm8450.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interconnect/qcom,sm8450.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
ufs@1d84000 {
compatible = "qcom,sm8450-ufshc", "qcom,ufshc",
"jedec,ufs-2.0";
reg = <0x0 0x01d84000 0x0 0x3000>;
interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
phys = <&ufs_mem_phy_lanes>;
phy-names = "ufsphy";
lanes-per-direction = <2>;
#reset-cells = <1>;
resets = <&gcc GCC_UFS_PHY_BCR>;
reset-names = "rst";
reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>;
vcc-supply = <&vreg_l7b_2p5>;
vcc-max-microamp = <1100000>;
vccq-supply = <&vreg_l9b_1p2>;
vccq-max-microamp = <1200000>;
power-domains = <&gcc UFS_PHY_GDSC>;
iommus = <&apps_smmu 0xe0 0x0>;
interconnects = <&aggre1_noc MASTER_UFS_MEM &mc_virt SLAVE_EBI1>,
<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_UFS_MEM_CFG>;
interconnect-names = "ufs-ddr", "cpu-ufs";
clocks = <&gcc GCC_UFS_PHY_AXI_CLK>,
<&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
<&gcc GCC_UFS_PHY_AHB_CLK>,
<&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
<&rpmhcc RPMH_CXO_CLK>,
<&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
<&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
<&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
clock-names = "core_clk",
"bus_aggr_clk",
"iface_clk",
"core_clk_unipro",
"ref_clk",
"tx_lane0_sync_clk",
"rx_lane0_sync_clk",
"rx_lane1_sync_clk";
freq-table-hz = <75000000 300000000>,
<0 0>,
<0 0>,
<75000000 300000000>,
<75000000 300000000>,
<0 0>,
<0 0>,
<0 0>;
qcom,ice = <&ice>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 12: Select only our matches, not all jedec,ufs-2.0
Qualcomm SM8650 and Other SoCs UFS Controllers
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ufs bindings
Schema identifier ($id): "http://devicetree.org/schemas/ufs/qcom,sm8650-ufshc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)Allowed values (
enum):"qcom,kaanapali-ufshc","qcom,sm8650-ufshc","qcom,sm8750-ufshc"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"qcom,kaanapali-ufshc","qcom,sm8650-ufshc","qcom,sm8750-ufshc"
Item 2
Exact value (
const):"qcom,ufshc"
Item 3
Exact value (
const):"jedec,ufs-2.0"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reg-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"std"
Item 2
Exact value (
const):"mcq"
clocks — not listed as required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 8
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"core_clk"
Item 2
Exact value (
const):"bus_aggr_clk"
Item 3
Exact value (
const):"iface_clk"
Item 4
Exact value (
const):"core_clk_unipro"
Item 5
Exact value (
const):"ref_clk"
Item 6
Exact value (
const):"tx_lane0_sync_clk"
Item 7
Exact value (
const):"rx_lane0_sync_clk"
Item 8
Exact value (
const):"rx_lane1_sync_clk"
qcom,ice — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to the Inline Crypto Engine node
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,ufs-common.yaml
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,sm8650-gcc.h>
#include <dt-bindings/clock/qcom,sm8650-tcsr.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,sm8650-rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
ufshc@1d84000 {
compatible = "qcom,sm8650-ufshc", "qcom,ufshc", "jedec,ufs-2.0";
reg = <0x0 0x01d84000 0x0 0x3000>;
interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&gcc GCC_UFS_PHY_AXI_CLK>,
<&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
<&gcc GCC_UFS_PHY_AHB_CLK>,
<&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
<&tcsr TCSR_UFS_PAD_CLKREF_EN>,
<&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
<&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
<&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
clock-names = "core_clk",
"bus_aggr_clk",
"iface_clk",
"core_clk_unipro",
"ref_clk",
"tx_lane0_sync_clk",
"rx_lane0_sync_clk",
"rx_lane1_sync_clk";
resets = <&gcc GCC_UFS_PHY_BCR>;
reset-names = "rst";
reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>;
interconnects = <&aggre1_noc MASTER_UFS_MEM QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&config_noc SLAVE_UFS_MEM_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
interconnect-names = "ufs-ddr",
"cpu-ufs";
power-domains = <&gcc UFS_PHY_GDSC>;
required-opps = <&rpmhpd_opp_nom>;
operating-points-v2 = <&ufs_opp_table>;
iommus = <&apps_smmu 0x60 0>;
lanes-per-direction = <2>;
qcom,ice = <&ice>;
phys = <&ufs_mem_phy>;
phy-names = "ufsphy";
#reset-cells = <1>;
vcc-supply = <&vreg_l7b_2p5>;
vcc-max-microamp = <1100000>;
vccq-supply = <&vreg_l9b_1p2>;
vccq-max-microamp = <1200000>;
ufs_opp_table: opp-table {
compatible = "operating-points-v2";
opp-100000000 {
opp-hz = /bits/ 64 <100000000>,
/bits/ 64 <0>,
/bits/ 64 <0>,
/bits/ 64 <100000000>,
/bits/ 64 <0>,
/bits/ 64 <0>,
/bits/ 64 <0>,
/bits/ 64 <0>;
required-opps = <&rpmhpd_opp_low_svs>;
};
opp-201500000 {
opp-hz = /bits/ 64 <201500000>,
/bits/ 64 <0>,
/bits/ 64 <0>,
/bits/ 64 <201500000>,
/bits/ 64 <0>,
/bits/ 64 <0>,
/bits/ 64 <0>,
/bits/ 64 <0>;
required-opps = <&rpmhpd_opp_svs>;
};
opp-403000000 {
opp-hz = /bits/ 64 <403000000>,
/bits/ 64 <0>,
/bits/ 64 <0>,
/bits/ 64 <403000000>,
/bits/ 64 <0>,
/bits/ 64 <0>,
/bits/ 64 <0>,
/bits/ 64 <0>;
required-opps = <&rpmhpd_opp_nom>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 12: Select only our matches, not all jedec,ufs-2.0
Qualcomm Universal Flash Storage (UFS) Controller Common Properties
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ufs bindings
Schema identifier ($id): "http://devicetree.org/schemas/ufs/qcom,ufs-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"
Properties and child nodes (properties) #
clocks — not listed as required here #
Minimum number of items (minItems): 7
Maximum number of items (maxItems): 9
clock-names — not listed as required here #
Minimum number of items (minItems): 7
Maximum number of items (maxItems): 9
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
interconnects — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
interconnect-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"ufs-ddr"
Item 2
Exact value (
const):"cpu-ufs"
iommus — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
phys — not listed as required here #
Maximum number of items (maxItems): 1
phy-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"ufsphy"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
required-opps — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
#reset-cells — not listed as required here #
Exact value (const): 1
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"rst"
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO connected to the RESET pin of the UFS memory device.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ufs-common.yaml
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Qualcomm Universal Flash Storage (UFS) Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ufs bindings
Schema identifier ($id): "http://devicetree.org/schemas/ufs/qcom,ufs.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>", "Andy Gross <agross@kernel.org>"
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)Allowed values (
enum):"qcom,msm8994-ufshc","qcom,msm8996-ufshc","qcom,qcs615-ufshc","qcom,sdm845-ufshc","qcom,sm6115-ufshc","qcom,sm6125-ufshc","qcom,sm6350-ufshc","qcom,sm8150-ufshc"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"qcom,msm8994-ufshc","qcom,msm8996-ufshc","qcom,qcs615-ufshc","qcom,sdm845-ufshc","qcom,sm6115-ufshc","qcom,sm6125-ufshc","qcom,sm6350-ufshc","qcom,sm8150-ufshc"
Item 2
Exact value (
const):"qcom,ufshc"
Item 3
Exact value (
const):"jedec,ufs-2.0"
qcom,ice — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to the Inline Crypto Engine node
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"std"
Item 2
Exact value (
const):"ice"
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,ufs-common.yaml
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sdm845-ufshc","qcom,sm6350-ufshc","qcom,sm8150-ufshc"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):9Maximum number of items (
maxItems):9
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"core_clk"Item 2
Exact value (
const):"bus_aggr_clk"Item 3
Exact value (
const):"iface_clk"Item 4
Exact value (
const):"core_clk_unipro"Item 5
Exact value (
const):"ref_clk"Item 6
Exact value (
const):"tx_lane0_sync_clk"Item 7
Exact value (
const):"rx_lane0_sync_clk"Item 8
Exact value (
const):"rx_lane1_sync_clk"Item 9
Exact value (
const):"ice_core_clk"
reg— not listed as required hereMinimum number of items (
minItems):2
reg-names— required hereMinimum number of items (
minItems):2
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):9Maximum number of items (
maxItems):9
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"core_clk"Item 2
Exact value (
const):"bus_clk"Item 3
Exact value (
const):"bus_aggr_clk"Item 4
Exact value (
const):"iface_clk"Item 5
Exact value (
const):"core_clk_unipro"Item 6
Exact value (
const):"core_clk_ice"Item 7
Exact value (
const):"ref_clk"Item 8
Exact value (
const):"tx_lane0_sync_clk"Item 9
Exact value (
const):"rx_lane0_sync_clk"
reg— not listed as required hereMaximum number of items (
maxItems):1
reg-names— not listed as required hereMaximum number of items (
maxItems):1
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,qcs615-ufshc","qcom,sm6115-ufshc","qcom,sm6125-ufshc"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):8Maximum number of items (
maxItems):8
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"core_clk"Item 2
Exact value (
const):"bus_aggr_clk"Item 3
Exact value (
const):"iface_clk"Item 4
Exact value (
const):"core_clk_unipro"Item 5
Exact value (
const):"ref_clk"Item 6
Exact value (
const):"tx_lane0_sync_clk"Item 7
Exact value (
const):"rx_lane0_sync_clk"Item 8
Exact value (
const):"ice_core_clk"
reg— not listed as required hereMinimum number of items (
minItems):2
reg-names— required hereMinimum number of items (
minItems):2
Rule 5 #
Condition (
if) #When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):1
clocks— not listed as required hereMinimum number of items (
minItems):7Maximum number of items (
maxItems):8When the condition does not match (
else) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):2
clocks— not listed as required hereMinimum number of items (
minItems):7Maximum number of items (
maxItems):9
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sm8150.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interconnect/qcom,sm8150.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
ufs@1d84000 {
compatible = "qcom,sm8150-ufshc", "qcom,ufshc",
"jedec,ufs-2.0";
reg = <0x0 0x01d84000 0x0 0x2500>,
<0x0 0x01d90000 0x0 0x8000>;
reg-names = "std", "ice";
interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
phys = <&ufs_mem_phy_lanes>;
phy-names = "ufsphy";
lanes-per-direction = <2>;
#reset-cells = <1>;
resets = <&gcc GCC_UFS_PHY_BCR>;
reset-names = "rst";
reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>;
vcc-supply = <&vreg_l7b_2p5>;
vcc-max-microamp = <1100000>;
vccq-supply = <&vreg_l9b_1p2>;
vccq-max-microamp = <1200000>;
power-domains = <&gcc UFS_PHY_GDSC>;
iommus = <&apps_smmu 0x300 0>;
clocks = <&gcc GCC_UFS_PHY_AXI_CLK>,
<&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
<&gcc GCC_UFS_PHY_AHB_CLK>,
<&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
<&rpmhcc RPMH_CXO_CLK>,
<&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
<&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
<&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>,
<&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
clock-names = "core_clk",
"bus_aggr_clk",
"iface_clk",
"core_clk_unipro",
"ref_clk",
"tx_lane0_sync_clk",
"rx_lane0_sync_clk",
"rx_lane1_sync_clk",
"ice_core_clk";
freq-table-hz = <37500000 300000000>,
<0 0>,
<0 0>,
<37500000 300000000>,
<0 0>,
<0 0>,
<0 0>,
<0 0>,
<0 300000000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 13: Select only our matches, not all jedec,ufs-2.0
Line 153: TODO: define clock bindings for qcom,msm8994-ufshc
Renesas R-Car UFS Host Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ufs bindings
Schema identifier ($id): "http://devicetree.org/schemas/ufs/renesas,ufs.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ufs-common.yaml
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "renesas,r8a779f0-ufs"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"fck"
Item 2
Exact value (
const):"ref_clk"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
nvmem-cells — not listed as required here #
Maximum number of items (maxItems): 1
nvmem-cell-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"calibration"
Property dependencies (dependencies) #
nvmem-cells — applies when this property is present #
Also requires: "nvmem-cell-names"
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "power-domains", "resets"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a779f0-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a779f0-sysc.h>
ufs: ufs@e686000 {
compatible = "renesas,r8a779f0-ufs";
reg = <0xe6860000 0x100>;
interrupts = <GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 1514>, <&ufs30_clk>;
clock-names = "fck", "ref_clk";
freq-table-hz = <200000000 200000000>, <38400000 38400000>;
power-domains = <&sysc R8A779F0_PD_ALWAYS_ON>;
resets = <&cpg 1514>;
nvmem-cells = <&ufs_tune>;
nvmem-cell-names = "calibration";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Rockchip UFS Host Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ufs bindings
Schema identifier ($id): "http://devicetree.org/schemas/ufs/rockchip,rk3576-ufshc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Shawn Lin <shawn.lin@rock-chips.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ufs-common.yaml
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "rockchip,rk3576-ufshc"
reg — required here #
Maximum number of items (maxItems): 5
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"hci"
Item 2
Exact value (
const):"mphy"
Item 3
Exact value (
const):"hci_grf"
Item 4
Exact value (
const):"mphy_grf"
Item 5
Exact value (
const):"hci_apb"
clocks — required here #
Maximum number of items (maxItems): 4
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"pclk"
Item 3
Exact value (
const):"pclk_mphy"
Item 4
Exact value (
const):"ref_out"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 4
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"biu"
Item 2
Exact value (
const):"sys"
Item 3
Exact value (
const):"ufs"
Item 4
Exact value (
const):"grf"
reset-gpios — required here #
Maximum number of items (maxItems): 1
GPIO specifiers for host to reset the whole UFS device including PHY and memory. This gpio is active low and should choose the one whose high output voltage is lower than 1.5V based on the UFS spec.
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts", "power-domains", "resets", "reset-names", "reset-gpios"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rockchip,rk3576-cru.h>
#include <dt-bindings/reset/rockchip,rk3576-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/rockchip,rk3576-power.h>
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/gpio/gpio.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
ufshc: ufshc@2a2d0000 {
compatible = "rockchip,rk3576-ufshc";
reg = <0x0 0x2a2d0000 0x0 0x10000>,
<0x0 0x2b040000 0x0 0x10000>,
<0x0 0x2601f000 0x0 0x1000>,
<0x0 0x2603c000 0x0 0x1000>,
<0x0 0x2a2e0000 0x0 0x10000>;
reg-names = "hci", "mphy", "hci_grf", "mphy_grf", "hci_apb";
clocks = <&cru ACLK_UFS_SYS>, <&cru PCLK_USB_ROOT>, <&cru PCLK_MPHY>,
<&cru CLK_REF_UFS_CLKOUT>;
clock-names = "core", "pclk", "pclk_mphy", "ref_out";
interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&power RK3576_PD_USB>;
resets = <&cru SRST_A_UFS_BIU>, <&cru SRST_A_UFS_SYS>, <&cru SRST_A_UFS>,
<&cru SRST_P_UFS_GRF>;
reset-names = "biu", "sys", "ufs", "grf";
reset-gpios = <&gpio4 RK_PD0 GPIO_ACTIVE_LOW>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Samsung SoC series UFS host controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ufs bindings
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
Synopsys DesignWare Universal Flash Storage (UFS) Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ufs bindings
Schema identifier ($id): "http://devicetree.org/schemas/ufs/snps,tc-dwc-g210.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Li Wei <liwei213@huawei.com>"
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ufs-common.yaml
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"snps,g210-tc-6.00-20bit","snps,g210-tc-6.00-40bit"
Item 2
Exact value (
const):"snps,dwc-ufshcd-1.40a"
Item 3
Exact value (
const):"jedec,ufs-2.0"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
ufs@d0000000 {
compatible = "snps,g210-tc-6.00-40bit",
"snps,dwc-ufshcd-1.40a",
"jedec,ufs-2.0";
reg = <0xd0000000 0x10000>;
interrupts = <24>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 12: Select only our matches, not all jedec,ufs
Unisoc Universal Flash Storage (UFS) Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ufs bindings
Schema identifier ($id): "http://devicetree.org/schemas/ufs/sprd,ums9620-ufs.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Zhe Wang <zhe.wang1@unisoc.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ufs-common.yaml
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sprd,ums9620-ufs"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 3
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"controller_eb"
Item 2
Exact value (
const):"cfg_eb"
Item 3
Exact value (
const):"core"
resets — required here #
Maximum number of items (maxItems): 2
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"controller"
Item 2
Exact value (
const):"device"
vdd-mphy-supply — not listed as required here #
Phandle to vdd-mphy supply regulator node.
sprd,ufs-anlg-syscon — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle of syscon used to control ufs analog regs.
sprd,aon-apb-syscon — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle of syscon used to control always-on regs.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
ufs: ufs@22000000 {
compatible = "sprd,ums9620-ufs";
reg = <0x22000000 0x3000>;
interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
vcc-supply = <&vddemmccore>;
vdd-mphy-supply = <&vddufs1v2>;
clocks = <&apahb_gate 5>, <&apahb_gate 22>, <&aonapb_clk 52>;
clock-names = "controller_eb", "cfg_eb", "core";
assigned-clocks = <&aonapb_clk 52>;
assigned-clock-parents = <&g5l_pll 12>;
resets = <&apahb_gate 4>, <&aonapb_gate 69>;
reset-names = "controller", "device";
sprd,ufs-anlg-syscon = <&anlg_phy_g12_regs>;
sprd,aon-apb-syscon = <&aon_apb_regs>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
TI J721e UFS Host Controller Glue Driver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ufs bindings
Schema identifier ($id): "http://devicetree.org/schemas/ufs/ti,j721e-ufs.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vignesh Raghavendra <vigneshr@ti.com>"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ti,j721e-ufs"
reg — required here #
Maximum number of items (maxItems): 1
address of TI UFS glue registers
clocks — required here #
Maximum number of items (maxItems): 1
phandle to the M-PHY clock
power-domains — required here #
Maximum number of items (maxItems): 1
assigned-clocks — not listed as required here #
Maximum number of items (maxItems): 1
assigned-clock-parents — not listed as required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 2
#size-cells — not listed as required here #
Exact value (const): 2
ranges — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "clocks", "power-domains"
Properties matching a name pattern (patternProperties) #
^ufs@[0-9a-f]+$ — name matches this regular expression #
Shared schema rule ($ref): cdns,ufshc.yaml
Cadence UFS controller node must be the child node.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
ufs-wrapper@4e80000 {
compatible = "ti,j721e-ufs";
reg = <0x0 0x4e80000 0x0 0x100>;
power-domains = <&k3_pds 277>;
clocks = <&k3_clks 277 1>;
assigned-clocks = <&k3_clks 277 1>;
assigned-clock-parents = <&k3_clks 277 4>;
ranges = <0x0 0x0 0x0 0x4e80000 0x0 0x14000>;
#address-cells = <2>;
#size-cells = <2>;
ufs@4000 {
compatible = "cdns,ufshc-m31-16nm", "jedec,ufs-2.0";
reg = <0x0 0x4000 0x0 0x10000>;
interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
freq-table-hz = <19200000 19200000>;
power-domains = <&k3_pds 277>;
clocks = <&k3_clks 277 1>;
assigned-clocks = <&k3_clks 277 1>;
assigned-clock-parents = <&k3_clks 277 4>;
clock-names = "core_clk";
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Common properties for Universal Flash Storage (UFS) Host Controllers
Peios Kernel / Hardware and drivers / Device-tree binding reference / Ufs bindings
Schema identifier ($id): "http://devicetree.org/schemas/ufs/ufs-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alim Akhtar <alim.akhtar@samsung.com>", "Avri Altman <avri.altman@wdc.com>"
Properties and child nodes (properties) #
clocks — not listed as required here #
true — No constraints added by this property rule.
clock-names — not listed as required here #
true — No constraints added by this property rule.
freq-table-hz — not listed as required here #
Array item rules (items) #
Array item rules (
items)Item 1
Minimum frequency for given clock in Hz
Item 2
Maximum frequency for given clock in Hz
Deprecated (deprecated): true
Preferred is operating-points-v2.
Array of <min max> operating frequencies in Hz stored in the same order as the clocks property. If either this property or operating-points-v2 is not defined or a value in the array is "0" then it is assumed that the frequency is set by the parent clock or a fixed rate clock source.
operating-points-v2 — not listed as required here #
Preferred over freq-table-hz. If present, each OPP must contain array of frequencies stored in the same order for each clock. If clock frequency in the array is "0" then it is assumed that the frequency is set by the parent clock or a fixed rate clock source.
opp-table — not listed as required here #
Value type (type): "object"
interrupts — required here #
Maximum number of items (maxItems): 1
lanes-per-direction — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 2
Number of lanes available per direction. Note that it is assumed that the same number of lanes are used in both directions at once.
vdd-hba-supply — not listed as required here #
Phandle to UFS host controller supply regulator node.
vcc-supply — not listed as required here #
Phandle to VCC supply regulator node.
vccq-supply — not listed as required here #
Phandle to VCCQ supply regulator node.
vccq2-supply — not listed as required here #
Phandle to VCCQ2 supply regulator node.
vcc-supply-1p8 — not listed as required here #
Value type (type): "boolean"
For embedded UFS devices, valid VCC range is 1.7-1.95V or 2.7-3.6V. This boolean property when set, specifies to use low voltage range of 1.7-1.95V. Note for external UFS cards this property is invalid and valid VCC range is always 2.7-3.6V.
vcc-max-microamp — not listed as required here #
Specifies max. load that can be drawn from VCC supply.
vccq-max-microamp — not listed as required here #
Specifies max. load that can be drawn from VCCQ supply.
vccq2-max-microamp — not listed as required here #
Specifies max. load that can be drawn from VCCQ2 supply.
msi-parent — not listed as required here #
true — No constraints added by this property rule.
limit-hs-gear — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 6
Default value (default): 6
Restricts the maximum HS gear used in both TX and RX directions.
limit-gear-rate — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "rate-a", "rate-b"
Default value (default): "rate-b"
Restricts the UFS controller to rate-a or rate-b for both TX and RX directions.
Property dependencies (dependencies) #
freq-table-hz — applies when this property is present #
Also requires: "clocks"
operating-points-v2 — applies when this property is present #
Also requires: "clocks", "clock-names"
Required in this object (required): "interrupts"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #When the condition matches (
then) #Properties and child nodes (
properties)
operating-points-v2— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #When the condition matches (
then) #Properties and child nodes (
properties)
freq-table-hz— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause