Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003  * Copyright (C) 2019 Bootlin
0004  * Author: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
0005  */
0006 
0007 /dts-v1/;
0008 #include "sun8i-h3.dtsi"
0009 #include "sunxi-common-regulators.dtsi"
0010 
0011 #include <dt-bindings/gpio/gpio.h>
0012 #include <dt-bindings/input/input.h>
0013 
0014 / {
0015         model = "RerVision H3-DVK";
0016         compatible = "rervision,h3-dvk", "allwinner,sun8i-h3";
0017 
0018         aliases {
0019                 ethernet0 = &emac;
0020                 serial0 = &uart0;
0021         };
0022 
0023         chosen {
0024                 stdout-path = "serial0:115200n8";
0025         };
0026 
0027         connector {
0028                 compatible = "hdmi-connector";
0029                 type = "a";
0030 
0031                 port {
0032                         hdmi_con_in: endpoint {
0033                                 remote-endpoint = <&hdmi_out_con>;
0034                         };
0035                 };
0036         };
0037 };
0038 
0039 &de {
0040         status = "okay";
0041 };
0042 
0043 &ehci1 {
0044         status = "okay";
0045 };
0046 
0047 &ehci2 {
0048         status = "okay";
0049 };
0050 
0051 &ehci3 {
0052         status = "okay";
0053 };
0054 
0055 &emac {
0056         phy-handle = <&int_mii_phy>;
0057         phy-mode = "mii";
0058         allwinner,leds-active-low;
0059         status = "okay";
0060 };
0061 
0062 &hdmi {
0063         status = "okay";
0064 };
0065 
0066 &hdmi_out {
0067         hdmi_out_con: endpoint {
0068                 remote-endpoint = <&hdmi_con_in>;
0069         };
0070 };
0071 
0072 &mmc0 {
0073         bus-width = <4>;
0074         cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
0075         status = "okay";
0076         vmmc-supply = <&reg_vcc3v3>;
0077 };
0078 
0079 &mmc2 {
0080         pinctrl-names = "default";
0081         pinctrl-0 = <&mmc2_8bit_pins>;
0082         vmmc-supply = <&reg_vcc3v3>;
0083         bus-width = <8>;
0084         non-removable;
0085         cap-mmc-hw-reset;
0086         status = "okay";
0087 };
0088 
0089 &ohci1 {
0090         status = "okay";
0091 };
0092 
0093 &ohci2 {
0094         status = "okay";
0095 };
0096 
0097 &ohci3 {
0098         status = "okay";
0099 };
0100 
0101 &uart0 {
0102         pinctrl-names = "default";
0103         pinctrl-0 = <&uart0_pa_pins>;
0104         status = "okay";
0105 };
0106 
0107 &usb_otg {
0108         status = "okay";
0109         dr_mode = "peripheral";
0110 };
0111 
0112 &usbphy {
0113         status = "okay";
0114 };