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