Chen-Yu Tsai | 8d7da69 | 2020-01-12 23:36:13 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
| 2 | // Copyright (C) 2018 Aleksandr Aleksandrov <aleksandr.aleksandrov@emlid.com> |
| 3 | |
Aleksandr Aleksandrov | 273f044 | 2018-10-05 15:55:59 +0300 | [diff] [blame] | 4 | /* |
Chen-Yu Tsai | 8d7da69 | 2020-01-12 23:36:13 +0800 | [diff] [blame] | 5 | * DTS for Emlid Neutis N5 Dev board. |
Aleksandr Aleksandrov | 273f044 | 2018-10-05 15:55:59 +0300 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | /dts-v1/; |
| 9 | |
| 10 | #include "sun50i-h5-emlid-neutis-n5.dtsi" |
| 11 | |
| 12 | / { |
| 13 | model = "Emlid Neutis N5 Developer board"; |
Chen-Yu Tsai | 8d7da69 | 2020-01-12 23:36:13 +0800 | [diff] [blame] | 14 | compatible = "emlid,neutis-n5-devboard", |
| 15 | "emlid,neutis-n5", |
| 16 | "allwinner,sun50i-h5"; |
Aleksandr Aleksandrov | 273f044 | 2018-10-05 15:55:59 +0300 | [diff] [blame] | 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 | |
Aleksandr Aleksandrov | 273f044 | 2018-10-05 15:55:59 +0300 | [diff] [blame] | 29 | vdd_cpux: gpio-regulator { |
| 30 | compatible = "regulator-gpio"; |
Aleksandr Aleksandrov | 273f044 | 2018-10-05 15:55:59 +0300 | [diff] [blame] | 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>; |
Chen-Yu Tsai | 8d7da69 | 2020-01-12 23:36:13 +0800 | [diff] [blame] | 40 | states = <1100000 0>, <1300000 1>; |
Aleksandr Aleksandrov | 273f044 | 2018-10-05 15:55:59 +0300 | [diff] [blame] | 41 | }; |
| 42 | }; |
| 43 | |
Chen-Yu Tsai | 8d7da69 | 2020-01-12 23:36:13 +0800 | [diff] [blame] | 44 | &cpu0 { |
| 45 | cpu-supply = <&vdd_cpux>; |
Aleksandr Aleksandrov | 273f044 | 2018-10-05 15:55:59 +0300 | [diff] [blame] | 46 | }; |
| 47 | |
Chen-Yu Tsai | 8d7da69 | 2020-01-12 23:36:13 +0800 | [diff] [blame] | 48 | &codec { |
Aleksandr Aleksandrov | 273f044 | 2018-10-05 15:55:59 +0300 | [diff] [blame] | 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 | |
Chen-Yu Tsai | 8d7da69 | 2020-01-12 23:36:13 +0800 | [diff] [blame] | 69 | &i2c1 { |
Aleksandr Aleksandrov | 273f044 | 2018-10-05 15:55:59 +0300 | [diff] [blame] | 70 | status = "okay"; |
| 71 | }; |