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&hdmi { 57 status = "okay"; 58}; 59 60&hdmi_out { 61 hdmi_out_con: endpoint { 62 remote-endpoint = <&hdmi_con_in>; 63 }; 64}; 65 66&mmc0 { 67 pinctrl-names = "default"; 68 pinctrl-0 = <&mmc0_pins>; 69 vmmc-supply = <®_vcc3v3>; 70 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; 71 bus-width = <4>; 72 status = "okay"; 73}; 74 75&ohci0 { 76 status = "okay"; 77}; 78 79&ohci3 { 80 status = "okay"; 81}; 82 83&r_ir { 84 status = "okay"; 85}; 86 87&uart0 { 88 pinctrl-names = "default"; 89 pinctrl-0 = <&uart0_ph_pins>; 90 status = "okay"; 91}; 92 93&usb2otg { 94 dr_mode = "host"; 95 status = "okay"; 96}; 97 98&usb2phy { 99 status = "okay"; 100}; 101