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 0x0 >> 59 1300000 0x1>; 41 }; 60 }; 42 }; 61 }; 43 62 44 &cpu0 { !! 63 &codec { 45 cpu-supply = <&vdd_cpux>; !! 64 allwinner,audio-routing = >> 65 "Line Out", "LINEOUT", >> 66 "LINEIN", "Line In", >> 67 "MIC1", "Mic", >> 68 "MIC2", "Mic", >> 69 "Mic", "MBIAS"; >> 70 status = "okay"; 46 }; 71 }; 47 72 48 &codec { !! 73 &de { >> 74 status = "okay"; >> 75 }; >> 76 >> 77 &ehci0 { >> 78 status = "okay"; >> 79 }; >> 80 >> 81 &ehci1 { >> 82 status = "okay"; >> 83 }; >> 84 >> 85 &ehci2 { >> 86 status = "okay"; >> 87 }; >> 88 >> 89 &ehci3 { 49 status = "okay"; 90 status = "okay"; 50 }; 91 }; 51 92 52 &emac { 93 &emac { 53 phy-handle = <&int_mii_phy>; 94 phy-handle = <&int_mii_phy>; 54 phy-mode = "mii"; 95 phy-mode = "mii"; 55 allwinner,leds-active-low; 96 allwinner,leds-active-low; 56 status = "okay"; 97 status = "okay"; 57 }; 98 }; 58 99 59 &hdmi { 100 &hdmi { 60 status = "okay"; 101 status = "okay"; 61 }; 102 }; 62 103 63 &hdmi_out { 104 &hdmi_out { 64 hdmi_out_con: endpoint { 105 hdmi_out_con: endpoint { 65 remote-endpoint = <&hdmi_con_i 106 remote-endpoint = <&hdmi_con_in>; 66 }; 107 }; 67 }; 108 }; 68 109 69 &i2c1 { !! 110 &mmc0 { >> 111 vmmc-supply = <®_vcc3v3>; >> 112 bus-width = <4>; >> 113 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */ >> 114 status = "okay"; >> 115 }; >> 116 >> 117 &ohci0 { >> 118 status = "okay"; >> 119 }; >> 120 >> 121 &ohci1 { >> 122 status = "okay"; >> 123 }; >> 124 >> 125 &ohci2 { >> 126 status = "okay"; >> 127 }; >> 128 >> 129 &ohci3 { >> 130 status = "okay"; >> 131 }; >> 132 >> 133 &uart0 { >> 134 pinctrl-names = "default"; >> 135 pinctrl-0 = <&uart0_pa_pins>; >> 136 status = "okay"; >> 137 }; >> 138 >> 139 &usb_otg { >> 140 dr_mode = "otg"; >> 141 status = "okay"; >> 142 }; >> 143 >> 144 &usbphy { >> 145 usb0_id_det-gpios = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */ >> 146 usb0_vbus-supply = <®_usb0_vbus>; 70 status = "okay"; 147 status = "okay"; 71 }; 148 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.