WIP FPC-III support
[linux/fpc-iii.git] / arch / arm64 / boot / dts / allwinner / sun50i-h6-tanix-tx6.dts
blobbe81330db14f6642eba8f7b0995364ec9206414b
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 // Copyright (c) 2019 Jernej Skrabec <jernej.skrabec@siol.net>
4 /dts-v1/;
6 #include "sun50i-h6.dtsi"
7 #include "sun50i-h6-cpu-opp.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
11 / {
12         model = "Tanix TX6";
13         compatible = "oranth,tanix-tx6", "allwinner,sun50i-h6";
15         aliases {
16                 serial0 = &uart0;
17         };
19         chosen {
20                 stdout-path = "serial0:115200n8";
21         };
23         connector {
24                 compatible = "hdmi-connector";
25                 ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */
26                 type = "a";
28                 port {
29                         hdmi_con_in: endpoint {
30                                 remote-endpoint = <&hdmi_out_con>;
31                         };
32                 };
33         };
35         reg_vcc3v3: vcc3v3 {
36                 compatible = "regulator-fixed";
37                 regulator-name = "vcc3v3";
38                 regulator-min-microvolt = <3300000>;
39                 regulator-max-microvolt = <3300000>;
40         };
42         reg_vdd_cpu_gpu: vdd-cpu-gpu {
43                 compatible = "regulator-fixed";
44                 regulator-name = "vdd-cpu-gpu";
45                 regulator-min-microvolt = <1135000>;
46                 regulator-max-microvolt = <1135000>;
47         };
50 &cpu0 {
51         cpu-supply = <&reg_vdd_cpu_gpu>;
54 &de {
55         status = "okay";
58 &dwc3 {
59         status = "okay";
62 &ehci0 {
63         status = "okay";
66 &ehci3 {
67         status = "okay";
70 &gpu {
71         mali-supply = <&reg_vdd_cpu_gpu>;
72         status = "okay";
75 &hdmi {
76         status = "okay";
79 &hdmi_out {
80         hdmi_out_con: endpoint {
81                 remote-endpoint = <&hdmi_con_in>;
82         };
85 &mmc0 {
86         pinctrl-names = "default";
87         pinctrl-0 = <&mmc0_pins>;
88         vmmc-supply = <&reg_vcc3v3>;
89         cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
90         bus-width = <4>;
91         status = "okay";
94 &ohci0 {
95         status = "okay";
98 &ohci3 {
99         status = "okay";
102 &r_ir {
103         linux,rc-map-name = "rc-tanix-tx5max";
104         status = "okay";
107 &uart0 {
108         pinctrl-names = "default";
109         pinctrl-0 = <&uart0_ph_pins>;
110         status = "okay";
113 &usb2otg {
114         dr_mode = "host";
115         status = "okay";
118 &usb2phy {
119         status = "okay";
122 &usb3phy {
123         status = "okay";