mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-04 18:49:41 +00:00

Underscores should not be used in node names (dtc with W=2 warns about them), so replace them with hyphens. Use also generic name for pwrseq node, because generic naming is favored by Devicetree spec. All the clocks affected by this change use clock-output-names, so resulting clock name should not change. Functional impact checked with comparing before/after DTBs with dtx_diff and fdtdump. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Link: https://lore.kernel.org/r/20240317184130.157695-4-krzysztof.kozlowski@linaro.org Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
36 lines
676 B
Plaintext
36 lines
676 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Device Tree Source for A20-Olimex-SOM-EVB-eMMC Board
|
|
*
|
|
* Copyright (C) 2018 Olimex Ltd.
|
|
* Author: Stefan Mavrodiev <stefan@olimex.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "sun7i-a20-olimex-som-evb.dts"
|
|
|
|
/ {
|
|
|
|
model = "Olimex A20-Olimex-SOM-EVB-eMMC";
|
|
compatible = "olimex,a20-olimex-som-evb-emmc", "allwinner,sun7i-a20";
|
|
|
|
mmc2_pwrseq: pwrseq {
|
|
compatible = "mmc-pwrseq-emmc";
|
|
reset-gpios = <&pio 2 18 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
&mmc2 {
|
|
vmmc-supply = <®_vcc3v3>;
|
|
mmc-pwrseq = <&mmc2_pwrseq>;
|
|
bus-width = <4>;
|
|
non-removable;
|
|
status = "okay";
|
|
|
|
emmc: emmc@0 {
|
|
reg = <0>;
|
|
compatible = "mmc-card";
|
|
broken-hpi;
|
|
};
|
|
};
|