mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-05 14:55:49 +07:00
f0c3b29f56
Allwinner A64 SoC has separate supplies for PC, PD, PE, PG and PL. This patch adds regulators for them to the pinctrl node. Exception is PL which is used by the RSB bus. To avoid circular dependencies, VCC-PL is omitted. On boards with eMMC, VCC-PC is supplied by ELDO1, instead of DCDC1. Signed-off-by: Stefan Mavrodiev <stefan@olimex.com> [Maxime: Changed the r_pio comment a bit] Signed-off-by: Maxime Ripard <maxime@cerno.tech>
28 lines
562 B
Plaintext
28 lines
562 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (C) 2018 Martin Ayotte <martinayotte@gmail.com>
|
|
* Copyright (C) 2019 Sunil Mohan Adapa <sunil@medhas.org>
|
|
*/
|
|
|
|
#include "sun50i-a64-olinuxino.dts"
|
|
|
|
/ {
|
|
model = "Olimex A64-Olinuxino-eMMC";
|
|
compatible = "olimex,a64-olinuxino-emmc", "allwinner,sun50i-a64";
|
|
};
|
|
|
|
&mmc2 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&mmc2_pins>;
|
|
vmmc-supply = <®_dcdc1>;
|
|
vqmmc-supply = <®_dcdc1>;
|
|
bus-width = <8>;
|
|
non-removable;
|
|
cap-mmc-hw-reset;
|
|
status = "okay";
|
|
};
|
|
|
|
&pio {
|
|
vcc-pc-supply = <®_eldo1>;
|
|
};
|