diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2017-08-31 15:52:20 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2017-09-05 12:05:00 -0700 |
commit | 67e7607fcdf1fad10e9f183424e709c59713e45d (patch) | |
tree | d083f78fa48c7f3e3042593e9f06c3b09f27a407 /arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | |
parent | 673ccaaccf32a044d961c3bac3dd63452bdfa86c (diff) | |
download | linux-stable-67e7607fcdf1fad10e9f183424e709c59713e45d.tar.gz linux-stable-67e7607fcdf1fad10e9f183424e709c59713e45d.tar.bz2 linux-stable-67e7607fcdf1fad10e9f183424e709c59713e45d.zip |
ARM64: dts: meson: add mmc clk gate pins
Add the pinctrl to switch mmc clk pins in gpio (pulled down) mode. This
is necessary to be able to gate the clk outside of the SoC while
keeping it running in the controller
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts')
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts index 7dae6acd3c8c..60d5f2da6916 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts @@ -250,7 +250,8 @@ &sd_emmc_a { status = "okay"; pinctrl-0 = <&sdio_pins>, <&sdio_irq_pins>; - pinctrl-names = "default"; + pinctrl-1 = <&sdio_clk_gate_pins>; + pinctrl-names = "default", "clk-gate"; #address-cells = <1>; #size-cells = <0>; @@ -276,7 +277,8 @@ &sd_emmc_b { status = "okay"; pinctrl-0 = <&sdcard_pins>; - pinctrl-names = "default"; + pinctrl-1 = <&sdcard_clk_gate_pins>; + pinctrl-names = "default", "clk-gate"; bus-width = <4>; cap-sd-highspeed; @@ -294,7 +296,8 @@ &sd_emmc_c { status = "disabled"; pinctrl-0 = <&emmc_pins>; - pinctrl-names = "default"; + pinctrl-1 = <&emmc_clk_gate_pins>; + pinctrl-names = "default", "clk-gate"; bus-width = <8>; max-frequency = <200000000>; |