xref: /freebsd/sys/contrib/device-tree/src/arm64/allwinner/sun50i-a64-olinuxino-emmc.dts (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*c66ec88fSEmmanuel Vadot// Copyright (C) 2018 Martin Ayotte <martinayotte@gmail.com>
3*c66ec88fSEmmanuel Vadot// Copyright (C) 2019 Sunil Mohan Adapa <sunil@medhas.org>
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot#include "sun50i-a64-olinuxino.dts"
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadot/ {
8*c66ec88fSEmmanuel Vadot	model = "Olimex A64-Olinuxino-eMMC";
9*c66ec88fSEmmanuel Vadot	compatible = "olimex,a64-olinuxino-emmc", "allwinner,sun50i-a64";
10*c66ec88fSEmmanuel Vadot};
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadot&mmc2 {
13*c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
14*c66ec88fSEmmanuel Vadot	pinctrl-0 = <&mmc2_pins>;
15*c66ec88fSEmmanuel Vadot	vmmc-supply = <&reg_dcdc1>;
16*c66ec88fSEmmanuel Vadot	vqmmc-supply = <&reg_eldo1>;
17*c66ec88fSEmmanuel Vadot	bus-width = <8>;
18*c66ec88fSEmmanuel Vadot	non-removable;
19*c66ec88fSEmmanuel Vadot	cap-mmc-hw-reset;
20*c66ec88fSEmmanuel Vadot	status = "okay";
21*c66ec88fSEmmanuel Vadot};
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadot&pio {
24*c66ec88fSEmmanuel Vadot	vcc-pc-supply = <&reg_eldo1>;
25*c66ec88fSEmmanuel Vadot};
26