xref: /linux/scripts/dtc/include-prefixes/arm/allwinner/sun8i-h3-rervision-dvk.dts (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Copyright (C) 2019 Bootlin
4*724ba675SRob Herring * Author: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
5*724ba675SRob Herring */
6*724ba675SRob Herring
7*724ba675SRob Herring/dts-v1/;
8*724ba675SRob Herring#include "sun8i-h3.dtsi"
9*724ba675SRob Herring#include "sunxi-common-regulators.dtsi"
10*724ba675SRob Herring
11*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
12*724ba675SRob Herring#include <dt-bindings/input/input.h>
13*724ba675SRob Herring
14*724ba675SRob Herring/ {
15*724ba675SRob Herring	model = "RerVision H3-DVK";
16*724ba675SRob Herring	compatible = "rervision,h3-dvk", "allwinner,sun8i-h3";
17*724ba675SRob Herring
18*724ba675SRob Herring	aliases {
19*724ba675SRob Herring		ethernet0 = &emac;
20*724ba675SRob Herring		serial0 = &uart0;
21*724ba675SRob Herring	};
22*724ba675SRob Herring
23*724ba675SRob Herring	chosen {
24*724ba675SRob Herring		stdout-path = "serial0:115200n8";
25*724ba675SRob Herring	};
26*724ba675SRob Herring
27*724ba675SRob Herring	connector {
28*724ba675SRob Herring		compatible = "hdmi-connector";
29*724ba675SRob Herring		type = "a";
30*724ba675SRob Herring
31*724ba675SRob Herring		port {
32*724ba675SRob Herring			hdmi_con_in: endpoint {
33*724ba675SRob Herring				remote-endpoint = <&hdmi_out_con>;
34*724ba675SRob Herring			};
35*724ba675SRob Herring		};
36*724ba675SRob Herring	};
37*724ba675SRob Herring};
38*724ba675SRob Herring
39*724ba675SRob Herring&de {
40*724ba675SRob Herring	status = "okay";
41*724ba675SRob Herring};
42*724ba675SRob Herring
43*724ba675SRob Herring&ehci1 {
44*724ba675SRob Herring	status = "okay";
45*724ba675SRob Herring};
46*724ba675SRob Herring
47*724ba675SRob Herring&ehci2 {
48*724ba675SRob Herring	status = "okay";
49*724ba675SRob Herring};
50*724ba675SRob Herring
51*724ba675SRob Herring&ehci3 {
52*724ba675SRob Herring	status = "okay";
53*724ba675SRob Herring};
54*724ba675SRob Herring
55*724ba675SRob Herring&emac {
56*724ba675SRob Herring	phy-handle = <&int_mii_phy>;
57*724ba675SRob Herring	phy-mode = "mii";
58*724ba675SRob Herring	allwinner,leds-active-low;
59*724ba675SRob Herring	status = "okay";
60*724ba675SRob Herring};
61*724ba675SRob Herring
62*724ba675SRob Herring&hdmi {
63*724ba675SRob Herring	status = "okay";
64*724ba675SRob Herring};
65*724ba675SRob Herring
66*724ba675SRob Herring&hdmi_out {
67*724ba675SRob Herring	hdmi_out_con: endpoint {
68*724ba675SRob Herring		remote-endpoint = <&hdmi_con_in>;
69*724ba675SRob Herring	};
70*724ba675SRob Herring};
71*724ba675SRob Herring
72*724ba675SRob Herring&mmc0 {
73*724ba675SRob Herring	bus-width = <4>;
74*724ba675SRob Herring	cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
75*724ba675SRob Herring	status = "okay";
76*724ba675SRob Herring	vmmc-supply = <&reg_vcc3v3>;
77*724ba675SRob Herring};
78*724ba675SRob Herring
79*724ba675SRob Herring&mmc2 {
80*724ba675SRob Herring	pinctrl-names = "default";
81*724ba675SRob Herring	pinctrl-0 = <&mmc2_8bit_pins>;
82*724ba675SRob Herring	vmmc-supply = <&reg_vcc3v3>;
83*724ba675SRob Herring	bus-width = <8>;
84*724ba675SRob Herring	non-removable;
85*724ba675SRob Herring	cap-mmc-hw-reset;
86*724ba675SRob Herring	status = "okay";
87*724ba675SRob Herring};
88*724ba675SRob Herring
89*724ba675SRob Herring&ohci1 {
90*724ba675SRob Herring	status = "okay";
91*724ba675SRob Herring};
92*724ba675SRob Herring
93*724ba675SRob Herring&ohci2 {
94*724ba675SRob Herring	status = "okay";
95*724ba675SRob Herring};
96*724ba675SRob Herring
97*724ba675SRob Herring&ohci3 {
98*724ba675SRob Herring	status = "okay";
99*724ba675SRob Herring};
100*724ba675SRob Herring
101*724ba675SRob Herring&uart0 {
102*724ba675SRob Herring	pinctrl-names = "default";
103*724ba675SRob Herring	pinctrl-0 = <&uart0_pa_pins>;
104*724ba675SRob Herring	status = "okay";
105*724ba675SRob Herring};
106*724ba675SRob Herring
107*724ba675SRob Herring&usb_otg {
108*724ba675SRob Herring	status = "okay";
109*724ba675SRob Herring	dr_mode = "peripheral";
110*724ba675SRob Herring};
111*724ba675SRob Herring
112*724ba675SRob Herring&usbphy {
113*724ba675SRob Herring	status = "okay";
114*724ba675SRob Herring};
115