]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/gnu/dts/arm64/allwinner/sun50i-h6-tanix-tx6.dts
dts: Update our copy for arm, arm64 and riscv dts to Linux 5.5
[FreeBSD/FreeBSD.git] / sys / gnu / dts / arm64 / allwinner / sun50i-h6-tanix-tx6.dts
1 // SPDX-License-Identifier: (GPL-2.0+ or MIT)
2 /*
3  * Copyright (c) 2019 Jernej Skrabec <jernej.skrabec@siol.net>
4  */
5
6 /dts-v1/;
7
8 #include "sun50i-h6.dtsi"
9
10 #include <dt-bindings/gpio/gpio.h>
11
12 / {
13         model = "Tanix TX6";
14         compatible = "oranth,tanix-tx6", "allwinner,sun50i-h6";
15
16         aliases {
17                 serial0 = &uart0;
18         };
19
20         chosen {
21                 stdout-path = "serial0:115200n8";
22         };
23
24         connector {
25                 compatible = "hdmi-connector";
26                 ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */
27                 type = "a";
28
29                 port {
30                         hdmi_con_in: endpoint {
31                                 remote-endpoint = <&hdmi_out_con>;
32                         };
33                 };
34         };
35
36         reg_vcc3v3: vcc3v3 {
37                 compatible = "regulator-fixed";
38                 regulator-name = "vcc3v3";
39                 regulator-min-microvolt = <3300000>;
40                 regulator-max-microvolt = <3300000>;
41         };
42 };
43
44 &de {
45         status = "okay";
46 };
47
48 &ehci0 {
49         status = "okay";
50 };
51
52 &ehci3 {
53         status = "okay";
54 };
55
56 &gpu {
57         status = "okay";
58 };
59
60 &hdmi {
61         status = "okay";
62 };
63
64 &hdmi_out {
65         hdmi_out_con: endpoint {
66                 remote-endpoint = <&hdmi_con_in>;
67         };
68 };
69
70 &mmc0 {
71         pinctrl-names = "default";
72         pinctrl-0 = <&mmc0_pins>;
73         vmmc-supply = <&reg_vcc3v3>;
74         cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
75         bus-width = <4>;
76         status = "okay";
77 };
78
79 &ohci0 {
80         status = "okay";
81 };
82
83 &ohci3 {
84         status = "okay";
85 };
86
87 &r_ir {
88         status = "okay";
89 };
90
91 &uart0 {
92         pinctrl-names = "default";
93         pinctrl-0 = <&uart0_ph_pins>;
94         status = "okay";
95 };
96
97 &usb2otg {
98         dr_mode = "host";
99         status = "okay";
100 };
101
102 &usb2phy {
103         status = "okay";
104 };