Back to home page

OSCL-LXR

 
 

    


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