xref: /linux/scripts/dtc/include-prefixes/arm/allwinner/sun8i-h3-emlid-neutis-n5h3-devboard.dts (revision 2612e3bbc0386368a850140a6c9b990cd496a5ec)
1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * DTS for Emlid Neutis N5 Dev board.
4 *
5 * Copyright (C) 2019 Georgii Staroselskii <georgiii.staroselskii@emlid.com>
6 */
7
8/dts-v1/;
9
10#include "sun8i-h3-emlid-neutis-n5h3.dtsi"
11
12/ {
13	model = "Emlid Neutis N5H3 Developer board";
14	compatible = "emlid,neutis-n5h3-devboard",
15		     "emlid,neutis-n5h3",
16		     "allwinner,sun8i-h3";
17
18	vdd_cpux: gpio-regulator {
19		compatible = "regulator-gpio";
20		regulator-name = "vdd-cpux";
21		regulator-type = "voltage";
22		regulator-boot-on;
23		regulator-always-on;
24		regulator-min-microvolt = <1100000>;
25		regulator-max-microvolt = <1300000>;
26		regulator-ramp-delay = <50>; /* 4ms */
27		gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
28		gpios-states = <0x1>;
29		states = <1100000 0x0>, <1300000 0x1>;
30	};
31
32	connector {
33		compatible = "hdmi-connector";
34		type = "a";
35
36		port {
37			hdmi_con_in: endpoint {
38				remote-endpoint = <&hdmi_out_con>;
39			};
40		};
41	};
42
43};
44
45&cpu0 {
46	cpu-supply = <&vdd_cpux>;
47};
48
49&codec {
50	status = "okay";
51};
52
53&emac {
54	phy-handle = <&int_mii_phy>;
55	phy-mode = "mii";
56	allwinner,leds-active-low;
57	status = "okay";
58};
59
60&hdmi {
61	status = "okay";
62};
63
64&hdmi_out {
65	hdmi_out_con: endpoint {
66		remote-endpoint = <&hdmi_con_in>;
67	};
68};
69
70&i2c1 {
71	status = "okay";
72};
73