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