blob: 076a0b983101ce55e8c58bd506cbbfe062e718f6 [file] [log] [blame]
Chen-Yu Tsaib5fe5232020-01-12 23:36:13 +08001// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2// Copyright (C) 2018 Aleksandr Aleksandrov <aleksandr.aleksandrov@emlid.com>
3
Aleksandr Aleksandrov7d659572018-10-05 15:55:59 +03004/*
Chen-Yu Tsaib5fe5232020-01-12 23:36:13 +08005 * DTS for Emlid Neutis N5 Dev board.
Aleksandr Aleksandrov7d659572018-10-05 15:55:59 +03006 */
7
8/dts-v1/;
9
10#include "sun50i-h5-emlid-neutis-n5.dtsi"
11
12/ {
13 model = "Emlid Neutis N5 Developer board";
Chen-Yu Tsaib5fe5232020-01-12 23:36:13 +080014 compatible = "emlid,neutis-n5-devboard",
15 "emlid,neutis-n5",
16 "allwinner,sun50i-h5";
Aleksandr Aleksandrov7d659572018-10-05 15:55:59 +030017
18 connector {
19 compatible = "hdmi-connector";
20 type = "a";
21
22 port {
23 hdmi_con_in: endpoint {
24 remote-endpoint = <&hdmi_out_con>;
25 };
26 };
27 };
28
Aleksandr Aleksandrov7d659572018-10-05 15:55:59 +030029 vdd_cpux: gpio-regulator {
30 compatible = "regulator-gpio";
Aleksandr Aleksandrov7d659572018-10-05 15:55:59 +030031 regulator-name = "vdd-cpux";
32 regulator-type = "voltage";
33 regulator-boot-on;
34 regulator-always-on;
35 regulator-min-microvolt = <1100000>;
36 regulator-max-microvolt = <1300000>;
37 regulator-ramp-delay = <50>; /* 4ms */
38 gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
39 gpios-states = <0x1>;
Chen-Yu Tsaib5fe5232020-01-12 23:36:13 +080040 states = <1100000 0>, <1300000 1>;
Aleksandr Aleksandrov7d659572018-10-05 15:55:59 +030041 };
42};
43
Chen-Yu Tsaib5fe5232020-01-12 23:36:13 +080044&cpu0 {
45 cpu-supply = <&vdd_cpux>;
46};
47
Aleksandr Aleksandrov7d659572018-10-05 15:55:59 +030048&codec {
Aleksandr Aleksandrov7d659572018-10-05 15:55:59 +030049 status = "okay";
50};
51
52&emac {
53 phy-handle = <&int_mii_phy>;
54 phy-mode = "mii";
55 allwinner,leds-active-low;
56 status = "okay";
57};
58
59&hdmi {
60 status = "okay";
61};
62
63&hdmi_out {
64 hdmi_out_con: endpoint {
65 remote-endpoint = <&hdmi_con_in>;
66 };
67};
68
Chen-Yu Tsaib5fe5232020-01-12 23:36:13 +080069&i2c1 {
Aleksandr Aleksandrov7d659572018-10-05 15:55:59 +030070 status = "okay";
71};