blob: f3b4e93ece6246cf1721b8b92c44b374f3a45dc4 [file] [log] [blame]
Jagan Teki2e8dbe12018-05-28 16:34:43 +05301// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (C) 2018 Amarula Solutions B.V.
4 * Author: Jagan Teki <jagan@amarulasolutions.com>
5 */
6
7/dts-v1/;
8
9#include "sun50i-a64.dtsi"
10
11#include <dt-bindings/gpio/gpio.h>
12
13/ {
14 model = "Amarula A64-Relic";
15 compatible = "amarula,a64-relic", "allwinner,sun50i-a64";
16
17 aliases {
18 serial0 = &uart0;
19 };
20
21 chosen {
22 stdout-path = "serial0:115200n8";
23 };
24
25 reg_vcc3v3: vcc3v3 {
26 compatible = "regulator-fixed";
27 regulator-name = "vcc3v3";
28 regulator-min-microvolt = <3300000>;
29 regulator-max-microvolt = <3300000>;
30 };
31};
32
33&ehci0 {
34 status = "okay";
35};
36
37&mmc2 {
38 pinctrl-names = "default";
39 pinctrl-0 = <&mmc2_pins>;
40 vmmc-supply = <&reg_vcc3v3>;
41 bus-width = <8>;
42 non-removable;
43 cap-mmc-hw-reset;
44 status = "okay";
45};
46
47&ohci0 {
48 status = "okay";
49};
50
51&uart0 {
52 pinctrl-names = "default";
53 pinctrl-0 = <&uart0_pins_a>;
54 status = "okay";
55};
56
57&usb_otg {
58 dr_mode = "otg";
59 status = "okay";
60};
61
62&usbphy {
63 usb0_id_det-gpios = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */
64 status = "okay";
65};