Home | History | Annotate | Line # | Download | only in allwinner
      1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
      2 // Copyright (C) 2018 Aleksandr Aleksandrov <aleksandr.aleksandrov (a] emlid.com>
      3 
      4 /*
      5  * DTS for Emlid Neutis N5 Dev board.
      6  */
      7 
      8 /dts-v1/;
      9 
     10 #include "sun50i-h5-emlid-neutis-n5.dtsi"
     11 
     12 / {
     13 	model = "Emlid Neutis N5 Developer board";
     14 	compatible = "emlid,neutis-n5-devboard",
     15 		     "emlid,neutis-n5",
     16 		     "allwinner,sun50i-h5";
     17 
     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 
     29 	vdd_cpux: gpio-regulator {
     30 		compatible = "regulator-gpio";
     31 		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>;
     40 		states = <1100000 0>, <1300000 1>;
     41 	};
     42 };
     43 
     44 &cpu0 {
     45 	cpu-supply = <&vdd_cpux>;
     46 };
     47 
     48 &codec {
     49 	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 
     69 &i2c1 {
     70 	status = "okay";
     71 };
     72