* [PATCH 1/2] arm64: dts: marvell: armada37xx: Add emmc/sdio pinctrl definition
@ 2018-10-26 11:50 ` Ding Tao
0 siblings, 0 replies; 6+ messages in thread
From: Ding Tao @ 2018-10-26 11:50 UTC (permalink / raw)
To: jason
Cc: mark.rutland, andrew, devicetree, gregory.clement, linux-kernel,
robh+dt, miyatsu, linux-arm-kernel, sebastian.hesselbarth
Add emmc/sdio pinctrl definition for marvell armada37xx SoCs.
Signed-off-by: Ding Tao <miyatsu@qq.com>
---
arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
index d9531e242eb4..eeec04a1add6 100644
--- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
@@ -221,6 +221,11 @@
groups = "uart2";
function = "uart";
};
+
+ mmc_pins: mmc-pins {
+ groups = "emmc_nb";
+ function = "emmc";
+ };
};
nb_pm: syscon@14000 {
@@ -253,6 +258,11 @@
function = "mii";
};
+ sdio_pins: sdio-pins {
+ groups = "sdio_sb";
+ function = "sdio";
+ };
+
};
eth0: ethernet@30000 {
--
2.17.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 1/2] arm64: dts: marvell: armada37xx: Add emmc/sdio pinctrl definition
@ 2018-10-26 11:50 ` Ding Tao
0 siblings, 0 replies; 6+ messages in thread
From: Ding Tao @ 2018-10-26 11:50 UTC (permalink / raw)
To: linux-arm-kernel
Add emmc/sdio pinctrl definition for marvell armada37xx SoCs.
Signed-off-by: Ding Tao <miyatsu@qq.com>
---
arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
index d9531e242eb4..eeec04a1add6 100644
--- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
@@ -221,6 +221,11 @@
groups = "uart2";
function = "uart";
};
+
+ mmc_pins: mmc-pins {
+ groups = "emmc_nb";
+ function = "emmc";
+ };
};
nb_pm: syscon at 14000 {
@@ -253,6 +258,11 @@
function = "mii";
};
+ sdio_pins: sdio-pins {
+ groups = "sdio_sb";
+ function = "sdio";
+ };
+
};
eth0: ethernet at 30000 {
--
2.17.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] arm64: dts: marvell: armada-37xx: Enable emmc on espressobin
2018-10-26 11:50 ` Ding Tao
@ 2018-10-26 11:50 ` Ding Tao
-1 siblings, 0 replies; 6+ messages in thread
From: Ding Tao @ 2018-10-26 11:50 UTC (permalink / raw)
To: jason
Cc: mark.rutland, andrew, devicetree, gregory.clement, linux-kernel,
robh+dt, miyatsu, linux-arm-kernel, sebastian.hesselbarth
The ESPRESSObin board has a emmc interface available on U11, let's
enable it.
Signed-off-by: Ding Tao <miyatsu@qq.com>
---
.../dts/marvell/armada-3720-espressobin.dts | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
index 3ab25ad402b9..ee05aabbba88 100644
--- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
+++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
@@ -60,6 +60,24 @@
cd-gpios = <&gpionb 3 GPIO_ACTIVE_LOW>;
marvell,pad-type = "sd";
vqmmc-supply = <&vcc_sd_reg1>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&sdio_pins>;
+ status = "okay";
+};
+
+/* U11 */
+&sdhci0 {
+ non-removable;
+ bus-width = <8>;
+ mmc-ddr-1_8v;
+ mmc-hs400-1_8v;
+ marvell,xenon-emmc;
+ marvell,xenon-tun-count = <9>;
+ marvell,pad-type = "fixed-1-8v";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc_pins>;
status = "okay";
};
--
2.17.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] arm64: dts: marvell: armada-37xx: Enable emmc on espressobin
@ 2018-10-26 11:50 ` Ding Tao
0 siblings, 0 replies; 6+ messages in thread
From: Ding Tao @ 2018-10-26 11:50 UTC (permalink / raw)
To: linux-arm-kernel
The ESPRESSObin board has a emmc interface available on U11, let's
enable it.
Signed-off-by: Ding Tao <miyatsu@qq.com>
---
.../dts/marvell/armada-3720-espressobin.dts | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
index 3ab25ad402b9..ee05aabbba88 100644
--- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
+++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
@@ -60,6 +60,24 @@
cd-gpios = <&gpionb 3 GPIO_ACTIVE_LOW>;
marvell,pad-type = "sd";
vqmmc-supply = <&vcc_sd_reg1>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&sdio_pins>;
+ status = "okay";
+};
+
+/* U11 */
+&sdhci0 {
+ non-removable;
+ bus-width = <8>;
+ mmc-ddr-1_8v;
+ mmc-hs400-1_8v;
+ marvell,xenon-emmc;
+ marvell,xenon-tun-count = <9>;
+ marvell,pad-type = "fixed-1-8v";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc_pins>;
status = "okay";
};
--
2.17.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] arm64: dts: marvell: armada-37xx: Enable emmc on espressobin
2018-10-26 11:50 ` Ding Tao
@ 2018-11-30 17:58 ` Gregory CLEMENT
-1 siblings, 0 replies; 6+ messages in thread
From: Gregory CLEMENT @ 2018-11-30 17:58 UTC (permalink / raw)
To: Ding Tao
Cc: jason, andrew, sebastian.hesselbarth, robh+dt, mark.rutland,
linux-arm-kernel, devicetree, linux-kernel
Hi Ding,
On ven., oct. 26 2018, Ding Tao <miyatsu@qq.com> wrote:
> The ESPRESSObin board has a emmc interface available on U11, let's
> enable it.
Applied on mvebu/dt64 for now, but what happen if U11 is not populated?
Thanks,
Gregory
>
> Signed-off-by: Ding Tao <miyatsu@qq.com>
> ---
> .../dts/marvell/armada-3720-espressobin.dts | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
> index 3ab25ad402b9..ee05aabbba88 100644
> --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
> @@ -60,6 +60,24 @@
> cd-gpios = <&gpionb 3 GPIO_ACTIVE_LOW>;
> marvell,pad-type = "sd";
> vqmmc-supply = <&vcc_sd_reg1>;
> +
> + pinctrl-names = "default";
> + pinctrl-0 = <&sdio_pins>;
> + status = "okay";
> +};
> +
> +/* U11 */
> +&sdhci0 {
> + non-removable;
> + bus-width = <8>;
> + mmc-ddr-1_8v;
> + mmc-hs400-1_8v;
> + marvell,xenon-emmc;
> + marvell,xenon-tun-count = <9>;
> + marvell,pad-type = "fixed-1-8v";
> +
> + pinctrl-names = "default";
> + pinctrl-0 = <&mmc_pins>;
> status = "okay";
> };
>
> --
> 2.17.1
>
>
>
--
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] arm64: dts: marvell: armada-37xx: Enable emmc on espressobin
@ 2018-11-30 17:58 ` Gregory CLEMENT
0 siblings, 0 replies; 6+ messages in thread
From: Gregory CLEMENT @ 2018-11-30 17:58 UTC (permalink / raw)
To: Ding Tao
Cc: mark.rutland, andrew, jason, devicetree, linux-kernel, robh+dt,
linux-arm-kernel, sebastian.hesselbarth
Hi Ding,
On ven., oct. 26 2018, Ding Tao <miyatsu@qq.com> wrote:
> The ESPRESSObin board has a emmc interface available on U11, let's
> enable it.
Applied on mvebu/dt64 for now, but what happen if U11 is not populated?
Thanks,
Gregory
>
> Signed-off-by: Ding Tao <miyatsu@qq.com>
> ---
> .../dts/marvell/armada-3720-espressobin.dts | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
> index 3ab25ad402b9..ee05aabbba88 100644
> --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
> @@ -60,6 +60,24 @@
> cd-gpios = <&gpionb 3 GPIO_ACTIVE_LOW>;
> marvell,pad-type = "sd";
> vqmmc-supply = <&vcc_sd_reg1>;
> +
> + pinctrl-names = "default";
> + pinctrl-0 = <&sdio_pins>;
> + status = "okay";
> +};
> +
> +/* U11 */
> +&sdhci0 {
> + non-removable;
> + bus-width = <8>;
> + mmc-ddr-1_8v;
> + mmc-hs400-1_8v;
> + marvell,xenon-emmc;
> + marvell,xenon-tun-count = <9>;
> + marvell,pad-type = "fixed-1-8v";
> +
> + pinctrl-names = "default";
> + pinctrl-0 = <&mmc_pins>;
> status = "okay";
> };
>
> --
> 2.17.1
>
>
>
--
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-11-30 17:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-26 11:50 [PATCH 1/2] arm64: dts: marvell: armada37xx: Add emmc/sdio pinctrl definition Ding Tao
2018-10-26 11:50 ` Ding Tao
2018-10-26 11:50 ` [PATCH 2/2] arm64: dts: marvell: armada-37xx: Enable emmc on espressobin Ding Tao
2018-10-26 11:50 ` Ding Tao
2018-11-30 17:58 ` Gregory CLEMENT
2018-11-30 17:58 ` Gregory CLEMENT
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.