1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (C) 2017 Chen-Yu Tsai <wens@csie.org>
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
16 stdout-path = "serial0:115200n8";
20 compatible = "hdmi-connector";
24 hdmi_con_in: endpoint {
25 remote-endpoint = <&hdmi_out_con>;
31 compatible = "gpio-leds";
34 label = "librecomputer:green:pwr";
35 gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */
40 label = "librecomputer:blue:status";
41 gpios = <&pio 0 7 GPIO_ACTIVE_HIGH>; /* PA7 */
46 compatible = "gpio-keys";
50 linux,code = <KEY_POWER>;
51 gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */
57 compatible = "regulator-fixed";
58 regulator-name = "vcc1v2";
59 regulator-min-microvolt = <1200000>;
60 regulator-max-microvolt = <1200000>;
63 vin-supply = <®_vcc5v0>;
64 gpio = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
69 compatible = "regulator-fixed";
70 regulator-name = "vcc3v3";
71 regulator-min-microvolt = <3300000>;
72 regulator-max-microvolt = <3300000>;
73 vin-supply = <®_vcc5v0>;
76 /* This represents the board's 5V input */
78 compatible = "regulator-fixed";
79 regulator-name = "vcc5v0";
80 regulator-min-microvolt = <5000000>;
81 regulator-max-microvolt = <5000000>;
84 reg_vcc_dram: vcc-dram {
85 compatible = "regulator-fixed";
86 regulator-name = "vcc-dram";
87 regulator-min-microvolt = <1500000>;
88 regulator-max-microvolt = <1500000>;
91 vin-supply = <®_vcc5v0>;
92 gpio = <&r_pio 0 9 GPIO_ACTIVE_HIGH>; /* PL9 */
97 compatible = "regulator-fixed";
98 regulator-name = "vcc-io";
99 regulator-min-microvolt = <3300000>;
100 regulator-max-microvolt = <3300000>;
103 vin-supply = <®_vcc3v3>;
104 gpio = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL5 */
107 reg_vdd_cpux: vdd-cpux {
108 compatible = "regulator-fixed";
109 regulator-name = "vdd-cpux";
110 regulator-min-microvolt = <1200000>;
111 regulator-max-microvolt = <1200000>;
114 vin-supply = <®_vcc5v0>;
115 gpio = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
121 allwinner,audio-routing =
122 "Line Out", "LINEOUT",
129 cpu-supply = <®_vdd_cpux>;
133 cpu-supply = <®_vdd_cpux>;
137 cpu-supply = <®_vdd_cpux>;
141 cpu-supply = <®_vdd_cpux>;
165 phy-handle = <&int_mii_phy>;
167 allwinner,leds-active-low;
176 hdmi_out_con: endpoint {
177 remote-endpoint = <&hdmi_con_in>;
182 pinctrl-names = "default";
183 pinctrl-0 = <&r_ir_rx_pin>;
188 vmmc-supply = <®_vcc_io>;
190 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
195 pinctrl-names = "default";
196 pinctrl-0 = <&mmc2_8bit_pins>;
197 vmmc-supply = <®_vcc_io>;
220 pinctrl-names = "default";
221 pinctrl-0 = <&uart0_pa_pins>;
231 /* VBUS on USB ports are always on */
232 usb0_vbus-supply = <®_vcc5v0>;
233 usb1_vbus-supply = <®_vcc5v0>;
234 usb2_vbus-supply = <®_vcc5v0>;
235 usb3_vbus-supply = <®_vcc5v0>;