[PATCH linux dev-5.2 5/5] ARM: dts: ast2600-evb: eMMC configuration

Joel Stanley joel at jms.id.au
Mon Sep 2 10:36:48 AEST 2019


On Fri, 30 Aug 2019 at 09:02, Andrew Jeffery <andrew at aj.id.au> wrote:
>
> Enable the eMMC controller and limit it to 52MHz to avoid the host
> controller reporting error conditions.
>
> Signed-off-by: Andrew Jeffery <andrew at aj.id.au>

Naming is hard :/

Reviewed-by: Joel Stanley <joel at jms.id.au>

> ---
>  arch/arm/boot/dts/aspeed-ast2600-evb.dts | 8 +++++++-
>  arch/arm/boot/dts/aspeed-g6.dtsi         | 4 ++--
>  2 files changed, 9 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/boot/dts/aspeed-ast2600-evb.dts b/arch/arm/boot/dts/aspeed-ast2600-evb.dts
> index 2cb92d2a1041..9613cff2ce3a 100644
> --- a/arch/arm/boot/dts/aspeed-ast2600-evb.dts
> +++ b/arch/arm/boot/dts/aspeed-ast2600-evb.dts
> @@ -39,8 +39,14 @@
>         phy-handle = <&ethphy1>;
>  };
>
> +&emmc_controller {
> +       status = "okay";
> +};
> +
>  &emmc {
> -       status = "disabled";
> +       non-removable;
> +       bus-width = <4>;
> +       max-frequency = <52000000>;
>  };
>
>  &fsim0 {
> diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi
> index d0507f797981..12569e502678 100644
> --- a/arch/arm/boot/dts/aspeed-g6.dtsi
> +++ b/arch/arm/boot/dts/aspeed-g6.dtsi
> @@ -235,7 +235,7 @@
>                                 };
>                         };
>
> -                       emmc: sdc at 1e750000 {
> +                       emmc_controller: sdc at 1e750000 {
>                                 compatible = "aspeed,ast2600-sd-controller";
>                                 reg = <0x1e750000 0x100>;
>                                 #address-cells = <1>;
> @@ -244,7 +244,7 @@
>                                 clocks = <&syscon ASPEED_CLK_GATE_EMMCCLK>;
>                                 status = "disabled";
>
> -                               sdhci at 1e750100 {
> +                               emmc: sdhci at 1e750100 {
>                                         compatible = "aspeed,ast2600-sdhci";
>                                         reg = <0x100 0x100>;
>                                         sdhci,auto-cmd12;
> --
> 2.20.1
>


More information about the openbmc mailing list