Skip to content

Commit a28f981

Browse files
riceyj-leemartinkpetersen
authored andcommitted
scsi: arm64: dts: mediatek: mt8195: Add UFSHCI node
Add a UFS host controller interface (UFSHCI) node to mt8195.dtsi. Introduce the 'mediatek,ufs-disable-mcq' property to allow disabling Multiple Circular Queue (MCQ) support. Signed-off-by: Rice Lee <[email protected]> Signed-off-by: Eric Lin <[email protected]> Signed-off-by: Macpaul Lin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Peter Wang <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent d01cfea commit a28f981

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

arch/arm64/boot/dts/mediatek/mt8195.dtsi

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,6 +1430,31 @@
14301430
status = "disabled";
14311431
};
14321432

1433+
ufshci: ufshci@11270000 {
1434+
compatible = "mediatek,mt8195-ufshci";
1435+
reg = <0 0x11270000 0 0x2300>;
1436+
interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH 0>;
1437+
phys = <&ufsphy>;
1438+
clocks = <&infracfg_ao CLK_INFRA_AO_AES_UFSFDE>,
1439+
<&infracfg_ao CLK_INFRA_AO_AES>,
1440+
<&infracfg_ao CLK_INFRA_AO_UFS_TICK>,
1441+
<&infracfg_ao CLK_INFRA_AO_UNIPRO_SYS>,
1442+
<&infracfg_ao CLK_INFRA_AO_UNIPRO_TICK>,
1443+
<&infracfg_ao CLK_INFRA_AO_UFS_MP_SAP_B>,
1444+
<&infracfg_ao CLK_INFRA_AO_UFS_TX_SYMBOL>,
1445+
<&infracfg_ao CLK_INFRA_AO_PERI_UFS_MEM_SUB>;
1446+
clock-names = "ufs", "ufs_aes", "ufs_tick",
1447+
"unipro_sysclk", "unipro_tick",
1448+
"unipro_mp_bclk", "ufs_tx_symbol",
1449+
"ufs_mem_sub";
1450+
freq-table-hz = <0 0>, <0 0>, <0 0>,
1451+
<0 0>, <0 0>, <0 0>,
1452+
<0 0>, <0 0>;
1453+
1454+
mediatek,ufs-disable-mcq;
1455+
status = "disabled";
1456+
};
1457+
14331458
lvts_mcu: thermal-sensor@11278000 {
14341459
compatible = "mediatek,mt8195-lvts-mcu";
14351460
reg = <0 0x11278000 0 0x1000>;

0 commit comments

Comments
 (0)