1 // SPDX-License-Identifier: GPL-2.0-or-later O 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 // Copyright (C) 2018 Aleksandr Aleksandrov <al << 3 << 4 /* 2 /* 5 * DTS for Emlid Neutis N5 Dev board. 3 * DTS for Emlid Neutis N5 Dev board. >> 4 * >> 5 * Copyright (C) 2018 Aleksandr Aleksandrov <aleksandr.aleksandrov@emlid.com> 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 9 10 #include "sun50i-h5-emlid-neutis-n5.dtsi" 10 #include "sun50i-h5-emlid-neutis-n5.dtsi" 11 11 12 / { 12 / { 13 model = "Emlid Neutis N5 Developer boa 13 model = "Emlid Neutis N5 Developer board"; 14 compatible = "emlid,neutis-n5-devboard 14 compatible = "emlid,neutis-n5-devboard", 15 "emlid,neutis-n5", 15 "emlid,neutis-n5", 16 "allwinner,sun50i-h5"; 16 "allwinner,sun50i-h5"; 17 17 >> 18 aliases { >> 19 serial0 = &uart0; >> 20 }; >> 21 >> 22 chosen { >> 23 stdout-path = "serial0:115200n8"; >> 24 }; >> 25 18 connector { 26 connector { 19 compatible = "hdmi-connector"; 27 compatible = "hdmi-connector"; 20 type = "a"; 28 type = "a"; 21 29 22 port { 30 port { 23 hdmi_con_in: endpoint 31 hdmi_con_in: endpoint { 24 remote-endpoin 32 remote-endpoint = <&hdmi_out_con>; 25 }; 33 }; 26 }; 34 }; 27 }; 35 }; 28 36 >> 37 reg_usb0_vbus: usb0-vbus { >> 38 compatible = "regulator-fixed"; >> 39 regulator-name = "usb0-vbus"; >> 40 regulator-min-microvolt = <5000000>; >> 41 regulator-max-microvolt = <5000000>; >> 42 enable-active-high; >> 43 gpio = <&r_pio 0 9 GPIO_ACTIVE_HIGH>; /* PL9 */ >> 44 status = "okay"; >> 45 }; >> 46 29 vdd_cpux: gpio-regulator { 47 vdd_cpux: gpio-regulator { 30 compatible = "regulator-gpio"; 48 compatible = "regulator-gpio"; 31 regulator-name = "vdd-cpux"; 49 regulator-name = "vdd-cpux"; 32 regulator-type = "voltage"; 50 regulator-type = "voltage"; 33 regulator-boot-on; 51 regulator-boot-on; 34 regulator-always-on; 52 regulator-always-on; 35 regulator-min-microvolt = <110 53 regulator-min-microvolt = <1100000>; 36 regulator-max-microvolt = <130 54 regulator-max-microvolt = <1300000>; 37 regulator-ramp-delay = <50>; / 55 regulator-ramp-delay = <50>; /* 4ms */ 38 gpios = <&r_pio 0 6 GPIO_ACTIV 56 gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */ 39 gpios-states = <0x1>; 57 gpios-states = <0x1>; 40 states = <1100000 0>, <1300000 58 states = <1100000 0>, <1300000 1>; 41 }; 59 }; 42 }; 60 }; 43 61 44 &cpu0 { !! 62 &codec { 45 cpu-supply = <&vdd_cpux>; !! 63 allwinner,audio-routing = >> 64 "Line Out", "LINEOUT", >> 65 "LINEIN", "Line In", >> 66 "MIC1", "Mic", >> 67 "MIC2", "Mic", >> 68 "Mic", "MBIAS"; >> 69 status = "okay"; 46 }; 70 }; 47 71 48 &codec { !! 72 &de { >> 73 status = "okay"; >> 74 }; >> 75 >> 76 &ehci0 { >> 77 status = "okay"; >> 78 }; >> 79 >> 80 &ehci1 { >> 81 status = "okay"; >> 82 }; >> 83 >> 84 &ehci2 { >> 85 status = "okay"; >> 86 }; >> 87 >> 88 &ehci3 { 49 status = "okay"; 89 status = "okay"; 50 }; 90 }; 51 91 52 &emac { 92 &emac { 53 phy-handle = <&int_mii_phy>; 93 phy-handle = <&int_mii_phy>; 54 phy-mode = "mii"; 94 phy-mode = "mii"; 55 allwinner,leds-active-low; 95 allwinner,leds-active-low; 56 status = "okay"; 96 status = "okay"; 57 }; 97 }; 58 98 59 &hdmi { 99 &hdmi { 60 status = "okay"; 100 status = "okay"; 61 }; 101 }; 62 102 63 &hdmi_out { 103 &hdmi_out { 64 hdmi_out_con: endpoint { 104 hdmi_out_con: endpoint { 65 remote-endpoint = <&hdmi_con_i 105 remote-endpoint = <&hdmi_con_in>; 66 }; 106 }; 67 }; 107 }; 68 108 69 &i2c1 { !! 109 &mmc0 { >> 110 vmmc-supply = <®_vcc3v3>; >> 111 bus-width = <4>; >> 112 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */ >> 113 status = "okay"; >> 114 }; >> 115 >> 116 &ohci0 { >> 117 status = "okay"; >> 118 }; >> 119 >> 120 &ohci1 { >> 121 status = "okay"; >> 122 }; >> 123 >> 124 &ohci2 { >> 125 status = "okay"; >> 126 }; >> 127 >> 128 &ohci3 { >> 129 status = "okay"; >> 130 }; >> 131 >> 132 &uart0 { >> 133 pinctrl-names = "default"; >> 134 pinctrl-0 = <&uart0_pa_pins>; >> 135 status = "okay"; >> 136 }; >> 137 >> 138 &usb_otg { >> 139 dr_mode = "otg"; >> 140 status = "okay"; >> 141 }; >> 142 >> 143 &usbphy { >> 144 usb0_id_det-gpios = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */ >> 145 usb0_vbus-supply = <®_usb0_vbus>; 70 status = "okay"; 146 status = "okay"; 71 }; 147 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.