// SPDX-License-Identifier: (GPL-2.0+ or MIT) /* * Copyright (c) 2018 Arm Ltd. * based on work by: * Copyright (c) 2017 Icenowy Zheng */ /dts-v1/; #include "sun50i-h6.dtsi" #include / { model = "Eachlink H6 Mini"; compatible = "eachlink,h6-mini", "allwinner,sun50i-h6"; aliases { ethernet0 = &emac; serial0 = &uart0; }; chosen { stdout-path = "serial0:115200n8"; }; connector { compatible = "hdmi-connector"; type = "a"; port { hdmi_con_in: endpoint { remote-endpoint = <&hdmi_out_con>; }; }; }; reg_vcc3v3: vcc3v3 { compatible = "regulator-fixed"; regulator-name = "vcc3v3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; reg_vcc5v: vcc5v { /* board wide 5V supply directly from the DC jack */ compatible = "regulator-fixed"; regulator-name = "vcc-5v"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; regulator-always-on; }; }; &de { status = "okay"; }; &emac { phy-mode = "rmii"; phy-handle = <&ext_rmii_phy>; status = "okay"; }; &hdmi { status = "okay"; }; &hdmi_out { hdmi_out_con: endpoint { remote-endpoint = <&hdmi_con_in>; }; }; &ehci0 { phys = <&usb2phy 0>; status = "okay"; }; &ehci3 { status = "okay"; }; &mdio { ext_rmii_phy: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <1>; }; }; &mmc0 { vmmc-supply = <®_vcc3v3>; cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; bus-width = <4>; status = "okay"; }; &mmc2 { vmmc-supply = <®_vcc3v3>; vqmmc-supply = <®_vcc3v3>; non-removable; cap-mmc-hw-reset; bus-width = <8>; status = "okay"; }; &ohci0 { phys = <&usb2phy 0>; status = "okay"; }; &ohci3 { status = "okay"; }; &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_ph_pins>; status = "okay"; }; &usb2otg { dr_mode = "host"; status = "okay"; }; &usb2phy { usb0_vbus-supply = <®_vcc5v>; status = "okay"; };