| #include <dt-bindings/interrupt-controller/irq.h>
|
|
|
| /dts-v1/;
|
|
|
| #include "sun8i-t113s.dtsi"
|
|
|
| / {
|
| model = "OpenHD Analog VRX";
|
| compatible = "openhd,analog-vrx", "allwinner,sun8i-t113s";
|
|
|
| aliases {
|
| serial0 = &uart0;
|
| };
|
|
|
| cec_clock: clk-cec-fixed {
|
| #clock-cells = <0>;
|
| compatible = "fixed-clock";
|
| clock-frequency = <12000000>;
|
| };
|
|
|
| chosen {
|
| stdout-path = "serial0:115200n8";
|
| };
|
|
|
| hdmi-out {
|
| compatible = "hdmi-connector";
|
| type = "a";
|
|
|
| port {
|
| hdmi_con: endpoint {
|
| remote-endpoint = <&adv7513_out>;
|
| };
|
| };
|
| };
|
|
|
| reg_vcc5v: regulator-5v {
|
| compatible = "regulator-fixed";
|
| regulator-name = "vcc-5v";
|
| regulator-min-microvolt = <5000000>;
|
| regulator-max-microvolt = <5000000>;
|
| regulator-always-on;
|
| };
|
|
|
| reg_3v3: regulator-3v3 {
|
| compatible = "regulator-fixed";
|
| regulator-name = "vcc-3v3";
|
| regulator-min-microvolt = <3300000>;
|
| regulator-max-microvolt = <3300000>;
|
| vin-supply = <®_vcc5v>;
|
| };
|
|
|
| reg_vcc_core: regulator-core {
|
| compatible = "regulator-fixed";
|
| regulator-name = "vcc-core";
|
| regulator-min-microvolt = <880000>;
|
| regulator-max-microvolt = <880000>;
|
| vin-supply = <®_vcc5v>;
|
| };
|
|
|
| reg_1v8: regulator-avdd {
|
| compatible = "regulator-fixed";
|
| regulator-name = "vcc-1v8";
|
| regulator-min-microvolt = <1800000>;
|
| regulator-max-microvolt = <1800000>;
|
| vin-supply = <®_vcc5v>;
|
| };
|
| };
|
|
|
| &de {
|
| status = "okay";
|
| };
|
|
|
| &cpu0 {
|
| cpu-supply = <®_vcc_core>;
|
| };
|
|
|
| &cpu1 {
|
| cpu-supply = <®_vcc_core>;
|
| };
|
|
|
| &dcxo {
|
| clock-frequency = <24000000>;
|
| };
|
|
|
| &ehci1 {
|
| status = "okay";
|
| };
|
|
|
| &i2c2 {
|
| status = "okay";
|
| pinctrl-names = "default";
|
| pinctrl-0 = <&i2c2_pe_pins>;
|
| hdmi-transmitter@39 {
|
| compatible = "adi,adv7513";
|
| reg = <0x39>, <0x3c>, <0x3e>, <0x3f>;
|
| reg-names = "main", "edid", "cec", "packet";
|
| clocks = <&cec_clock>;
|
| clock-names = "cec";
|
|
|
| avdd-supply = <®_1v8>;
|
| dvdd-supply = <®_1v8>;
|
| pvdd-supply = <®_1v8>;
|
| dvdd-3v-supply = <®_3v3>;
|
| bgvdd-supply = <®_1v8>;
|
|
|
| interrupts = <6 13 IRQ_TYPE_EDGE_FALLING>;
|
| interrupt-parent = <&pio>;
|
|
|
| status = "okay";
|
|
|
| adi,input-depth = <8>;
|
| adi,input-colorspace = "rgb";
|
| adi,input-clock = "1x";
|
|
|
| ports {
|
| #address-cells = <1>;
|
| #size-cells = <0>;
|
|
|
| port@0 {
|
| reg = <0>;
|
| adv7513_in: endpoint {
|
| remote-endpoint = <&tcon_lcd0_out_rgb>;
|
| };
|
| };
|
|
|
| port@1 {
|
| reg = <1>;
|
| adv7513_out: endpoint {
|
| remote-endpoint = <&hdmi_con>;
|
| };
|
| };
|
| };
|
| };
|
| };
|
|
|
| &mmc0 {
|
| pinctrl-0 = <&mmc0_pins>;
|
| pinctrl-names = "default";
|
| vmmc-supply = <®_3v3>;
|
| broken-cd;
|
| disable-wp;
|
| bus-width = <4>;
|
| status = "okay";
|
| };
|
|
|
| &mmc1 {
|
| status = "disabled";
|
| };
|
|
|
| &ohci1 {
|
| status = "okay";
|
| };
|
|
|
| &pio {
|
| vcc-pb-supply = <®_3v3>;
|
| vcc-pd-supply = <®_3v3>;
|
| vcc-pe-supply = <®_1v8>;
|
| vcc-pf-supply = <®_3v3>;
|
| vcc-pg-supply = <®_3v3>;
|
| i2c2_pe_pins: i2c2-pe-pins {
|
| pins = "PE4", "PE5";
|
| function = "i2c2";
|
| };
|
| lcd0_rgb888_pins: lcd0-rgb888 {
|
| pins = "PB2", "PB3", "PD0", "PD1",
|
| "PD2", "PD3", "PD4", "PD5",
|
| "PB4", "PB5", "PD6", "PD7",
|
| "PD8", "PD9", "PD10", "PD11",
|
| "PB6", "PB7", "PD12", "PD13",
|
| "PD14", "PD15", "PD16", "PD17",
|
| "PD21", "PD20", "PD18", "PD19";
|
| function = "lcd0";
|
| bias-disable;
|
| drive-strength = <10>;
|
| };
|
| };
|
|
|
| &tcon_lcd0 {
|
| pinctrl-names = "default";
|
| pinctrl-0 = <&lcd0_rgb888_pins>;
|
| status = "okay";
|
|
|
| ports {
|
| tcon_lcd0_out: port@1 {
|
| reg = <1>;
|
|
|
| tcon_lcd0_out_rgb: endpoint@0 {
|
| reg = <0>;
|
| remote-endpoint = <&adv7513_in>;
|
| };
|
| };
|
| };
|
| };
|
|
|
| &uart0 {
|
| status = "okay";
|
| };
|
|
|
|
|
| &usb_otg {
|
| dr_mode = "peripheral";
|
| status = "okay";
|
| };
|
|
|
| &usbphy {
|
| usb1_vbus-supply = <®_vcc5v>;
|
| status = "okay";
|
| };
|