treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / arm64 / boot / dts / allwinner / sun50i-h6-tanix-tx6.dts
blobbccfe1e65b6a029cd3e6b5f119e61e212b4cf255
1 // SPDX-License-Identifier: (GPL-2.0+ or MIT)
2 /*
3  * Copyright (c) 2019 Jernej Skrabec <jernej.skrabec@siol.net>
4  */
6 /dts-v1/;
8 #include "sun50i-h6.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
12 / {
13         model = "Tanix TX6";
14         compatible = "oranth,tanix-tx6", "allwinner,sun50i-h6";
16         aliases {
17                 serial0 = &uart0;
18         };
20         chosen {
21                 stdout-path = "serial0:115200n8";
22         };
24         connector {
25                 compatible = "hdmi-connector";
26                 ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */
27                 type = "a";
29                 port {
30                         hdmi_con_in: endpoint {
31                                 remote-endpoint = <&hdmi_out_con>;
32                         };
33                 };
34         };
36         reg_vcc3v3: vcc3v3 {
37                 compatible = "regulator-fixed";
38                 regulator-name = "vcc3v3";
39                 regulator-min-microvolt = <3300000>;
40                 regulator-max-microvolt = <3300000>;
41         };
44 &de {
45         status = "okay";
48 &ehci0 {
49         status = "okay";
52 &ehci3 {
53         status = "okay";
56 &gpu {
57         status = "okay";
60 &hdmi {
61         status = "okay";
64 &hdmi_out {
65         hdmi_out_con: endpoint {
66                 remote-endpoint = <&hdmi_con_in>;
67         };
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";
79 &ohci0 {
80         status = "okay";
83 &ohci3 {
84         status = "okay";
87 &r_ir {
88         status = "okay";
91 &uart0 {
92         pinctrl-names = "default";
93         pinctrl-0 = <&uart0_ph_pins>;
94         status = "okay";
97 &usb2otg {
98         dr_mode = "host";
99         status = "okay";
102 &usb2phy {
103         status = "okay";