2020-01-12 15:36:13 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
// Copyright (C) 2018 Aleksandr Aleksandrov <aleksandr.aleksandrov@emlid.com>
|
|
|
|
|
2018-10-05 12:55:59 +00:00
|
|
|
/*
|
2020-01-12 15:36:13 +00:00
|
|
|
* DTS for Emlid Neutis N5 Dev board.
|
2018-10-05 12:55:59 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "sun50i-h5-emlid-neutis-n5.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Emlid Neutis N5 Developer board";
|
2020-01-12 15:36:13 +00:00
|
|
|
compatible = "emlid,neutis-n5-devboard",
|
|
|
|
"emlid,neutis-n5",
|
|
|
|
"allwinner,sun50i-h5";
|
2018-10-05 12:55:59 +00:00
|
|
|
|
|
|
|
connector {
|
|
|
|
compatible = "hdmi-connector";
|
|
|
|
type = "a";
|
|
|
|
|
|
|
|
port {
|
|
|
|
hdmi_con_in: endpoint {
|
|
|
|
remote-endpoint = <&hdmi_out_con>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
vdd_cpux: gpio-regulator {
|
|
|
|
compatible = "regulator-gpio";
|
|
|
|
regulator-name = "vdd-cpux";
|
|
|
|
regulator-type = "voltage";
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-min-microvolt = <1100000>;
|
|
|
|
regulator-max-microvolt = <1300000>;
|
|
|
|
regulator-ramp-delay = <50>; /* 4ms */
|
|
|
|
gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
|
|
|
|
gpios-states = <0x1>;
|
2020-01-12 15:36:13 +00:00
|
|
|
states = <1100000 0>, <1300000 1>;
|
2018-10-05 12:55:59 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-01-12 15:36:13 +00:00
|
|
|
&cpu0 {
|
|
|
|
cpu-supply = <&vdd_cpux>;
|
2018-10-05 12:55:59 +00:00
|
|
|
};
|
|
|
|
|
2020-01-12 15:36:13 +00:00
|
|
|
&codec {
|
2018-10-05 12:55:59 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&emac {
|
|
|
|
phy-handle = <&int_mii_phy>;
|
|
|
|
phy-mode = "mii";
|
|
|
|
allwinner,leds-active-low;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&hdmi {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&hdmi_out {
|
|
|
|
hdmi_out_con: endpoint {
|
|
|
|
remote-endpoint = <&hdmi_con_in>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-01-12 15:36:13 +00:00
|
|
|
&i2c1 {
|
2018-10-05 12:55:59 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|