diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2019-10-16 05:14:24 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2019-10-28 16:48:03 +0300 |
commit | e045f044e84ef9d500b4477f8e67875e5cb3fc21 (patch) | |
tree | d3d40e698bfb96019407aa7317664aedf7a19ef0 /arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts | |
parent | 3944b454f7fabea3ec8310e30e023102329fc85f (diff) | |
download | linux-e045f044e84ef9d500b4477f8e67875e5cb3fc21.tar.xz |
arm64: dts: imx8mq: Move usdhc clocks assignment to board DT
usdhc's clock rate is different according to different devices
connected, so clock rate assignment should be placed in board
DT according to different devices connected on each usdhc port.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts b/arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts index 8a4aee2348ee..59da96b7143f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts @@ -207,6 +207,8 @@ }; &usdhc1 { + assigned-clocks = <&clk IMX8MQ_CLK_USDHC1>; + assigned-clock-rates = <400000000>; pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc1>; pinctrl-1 = <&pinctrl_usdhc1_100mhz>; @@ -217,6 +219,8 @@ }; &usdhc2 { + assigned-clocks = <&clk IMX8MQ_CLK_USDHC2>; + assigned-clock-rates = <200000000>; pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; |