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