0001 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
0002 /*
0003 * DTS for Emlid Neutis N5 Dev board.
0004 *
0005 * Copyright (C) 2019 Georgii Staroselskii <georgiii.staroselskii@emlid.com>
0006 */
0007
0008 /dts-v1/;
0009
0010 #include "sun8i-h3-emlid-neutis-n5h3.dtsi"
0011
0012 / {
0013 model = "Emlid Neutis N5H3 Developer board";
0014 compatible = "emlid,neutis-n5h3-devboard",
0015 "emlid,neutis-n5h3",
0016 "allwinner,sun8i-h3";
0017
0018 vdd_cpux: gpio-regulator {
0019 compatible = "regulator-gpio";
0020 regulator-name = "vdd-cpux";
0021 regulator-type = "voltage";
0022 regulator-boot-on;
0023 regulator-always-on;
0024 regulator-min-microvolt = <1100000>;
0025 regulator-max-microvolt = <1300000>;
0026 regulator-ramp-delay = <50>; /* 4ms */
0027 gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
0028 gpios-states = <0x1>;
0029 states = <1100000 0x0>, <1300000 0x1>;
0030 };
0031
0032 connector {
0033 compatible = "hdmi-connector";
0034 type = "a";
0035
0036 port {
0037 hdmi_con_in: endpoint {
0038 remote-endpoint = <&hdmi_out_con>;
0039 };
0040 };
0041 };
0042
0043 };
0044
0045 &cpu0 {
0046 cpu-supply = <&vdd_cpux>;
0047 };
0048
0049 &codec {
0050 status = "okay";
0051 };
0052
0053 &emac {
0054 phy-handle = <&int_mii_phy>;
0055 phy-mode = "mii";
0056 allwinner,leds-active-low;
0057 status = "okay";
0058 };
0059
0060 &hdmi {
0061 status = "okay";
0062 };
0063
0064 &hdmi_out {
0065 hdmi_out_con: endpoint {
0066 remote-endpoint = <&hdmi_con_in>;
0067 };
0068 };
0069
0070 &i2c1 {
0071 status = "okay";
0072 };