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 */
56 compatible = "regulator-fixed";
57 regulator-name = "vcc1v2";
58 regulator-min-microvolt = <1200000>;
59 regulator-max-microvolt = <1200000>;
62 vin-supply = <®_vcc5v0>;
63 gpio = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
68 compatible = "regulator-fixed";
69 regulator-name = "vcc3v3";
70 regulator-min-microvolt = <3300000>;
71 regulator-max-microvolt = <3300000>;
72 vin-supply = <®_vcc5v0>;
75 /* This represents the board's 5V input */
77 compatible = "regulator-fixed";
78 regulator-name = "vcc5v0";
79 regulator-min-microvolt = <5000000>;
80 regulator-max-microvolt = <5000000>;
83 reg_vcc_dram: vcc-dram {
84 compatible = "regulator-fixed";
85 regulator-name = "vcc-dram";
86 regulator-min-microvolt = <1500000>;
87 regulator-max-microvolt = <1500000>;
90 vin-supply = <®_vcc5v0>;
91 gpio = <&r_pio 0 9 GPIO_ACTIVE_HIGH>; /* PL9 */
96 compatible = "regulator-fixed";
97 regulator-name = "vcc-io";
98 regulator-min-microvolt = <3300000>;
99 regulator-max-microvolt = <3300000>;
102 vin-supply = <®_vcc3v3>;
103 gpio = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL5 */
106 reg_vdd_cpux: vdd-cpux {
107 compatible = "regulator-fixed";
108 regulator-name = "vdd-cpux";
109 regulator-min-microvolt = <1200000>;
110 regulator-max-microvolt = <1200000>;
113 vin-supply = <®_vcc5v0>;
114 gpio = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
120 allwinner,audio-routing =
121 "Line Out", "LINEOUT",
128 cpu-supply = <®_vdd_cpux>;
132 cpu-supply = <®_vdd_cpux>;
136 cpu-supply = <®_vdd_cpux>;
140 cpu-supply = <®_vdd_cpux>;
164 phy-handle = <&int_mii_phy>;
166 allwinner,leds-active-low;
175 hdmi_out_con: endpoint {
176 remote-endpoint = <&hdmi_con_in>;
181 pinctrl-names = "default";
182 pinctrl-0 = <&r_ir_rx_pin>;
187 vmmc-supply = <®_vcc_io>;
189 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
194 pinctrl-names = "default";
195 pinctrl-0 = <&mmc2_8bit_pins>;
196 vmmc-supply = <®_vcc_io>;
219 pinctrl-names = "default";
220 pinctrl-0 = <&uart0_pa_pins>;
230 /* VBUS on USB ports are always on */
231 usb0_vbus-supply = <®_vcc5v0>;
232 usb1_vbus-supply = <®_vcc5v0>;
233 usb2_vbus-supply = <®_vcc5v0>;
234 usb3_vbus-supply = <®_vcc5v0>;