diff options
author | Kevin Hilman <khilman@baylibre.com> | 2016-10-20 13:42:54 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2016-10-20 10:16:39 -0700 |
commit | ef8d2ffedf1878e4dc8d19d83371cef8e2457a44 (patch) | |
tree | 2484eef3d042e9d23112a9b1895d7cf8b1563b43 /arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | |
parent | 5a0803bd5ae289fbacd4d207e8c5e6719224ef92 (diff) | |
download | op-kernel-dev-ef8d2ffedf1878e4dc8d19d83371cef8e2457a44.zip op-kernel-dev-ef8d2ffedf1878e4dc8d19d83371cef8e2457a44.tar.gz |
ARM64: dts: meson-gxbb: add MMC support
Add binding and basic support for the SD/eMMC controller on Amlogic
S905/GXBB devices.
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
[narmstrong: added nodes for GX, enabled SDIO on P20x]
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index aad639a..22940bb 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -349,7 +349,8 @@ mux { groups = "emmc_nand_d07", "emmc_cmd", - "emmc_clk"; + "emmc_clk", + "emmc_ds"; function = "emmc"; }; }; @@ -545,3 +546,24 @@ #mbox-cells = <1>; }; }; + +&sd_emmc_a { + clocks = <&clkc CLKID_SD_EMMC_A>, + <&xtal>, + <&clkc CLKID_FCLK_DIV2>; + clock-names = "core", "clkin0", "clkin1"; +}; + +&sd_emmc_b { + clocks = <&clkc CLKID_SD_EMMC_B>, + <&xtal>, + <&clkc CLKID_FCLK_DIV2>; + clock-names = "core", "clkin0", "clkin1"; +}; + +&sd_emmc_c { + clocks = <&clkc CLKID_SD_EMMC_C>, + <&xtal>, + <&clkc CLKID_FCLK_DIV2>; + clock-names = "core", "clkin0", "clkin1"; +}; |