arm: dts: socfpga: Add clk-phase-sd-hs property to the sdmmc node
The sdmmc controller's CIU(Card Interface Unit) clock's phase can be adjusted through the register in the system manager. Add the binding "altr,sysmgr-syscon" to the SDMMC node for the driver to access the system manager. Add the "clk-phase-sd-hs" property in the SDMMC node to designate the smpsel and drvsel properties for the CIU clock. Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
This commit is contained in:
parent
63fb606a59
commit
3b500ff37c
@ -764,6 +764,7 @@
|
||||
clocks = <&l4_mp_clk>, <&sdmmc_clk_divided>;
|
||||
clock-names = "biu", "ciu";
|
||||
resets = <&rst SDMMC_RESET>;
|
||||
altr,sysmgr-syscon = <&sysmgr 0x108 3>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -665,6 +665,7 @@
|
||||
clocks = <&l4_mp_clk>, <&sdmmc_clk>;
|
||||
clock-names = "biu", "ciu";
|
||||
resets = <&rst SDMMC_RESET>;
|
||||
altr,sysmgr-syscon = <&sysmgr 0x28 4>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -73,6 +73,7 @@
|
||||
cap-sd-highspeed;
|
||||
broken-cd;
|
||||
bus-width = <4>;
|
||||
clk-phase-sd-hs = <0>, <135>;
|
||||
};
|
||||
|
||||
&osc1 {
|
||||
|
@ -12,6 +12,7 @@
|
||||
cap-mmc-highspeed;
|
||||
broken-cd;
|
||||
bus-width = <4>;
|
||||
clk-phase-sd-hs = <0>, <135>;
|
||||
};
|
||||
|
||||
&eccmgr {
|
||||
|
@ -23,6 +23,7 @@
|
||||
bus-width = <4>;
|
||||
cap-mmc-highspeed;
|
||||
cap-sd-highspeed;
|
||||
clk-phase-sd-hs = <0>, <135>;
|
||||
};
|
||||
|
||||
sysmgr@ffd08000 {
|
||||
|
@ -23,6 +23,7 @@
|
||||
bus-width = <4>;
|
||||
cap-mmc-highspeed;
|
||||
cap-sd-highspeed;
|
||||
clk-phase-sd-hs = <0>, <135>;
|
||||
};
|
||||
|
||||
sysmgr@ffd08000 {
|
||||
|
@ -18,5 +18,6 @@
|
||||
|
||||
&mmc0 { /* On-SoM eMMC */
|
||||
bus-width = <8>;
|
||||
clk-phase-sd-hs = <0>, <135>;
|
||||
status = "okay";
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user