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 = "gpio-leds";
23 label = "librecomputer:green:pwr";
24 gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */
29 label = "librecomputer:blue:status";
30 gpios = <&pio 0 7 GPIO_ACTIVE_HIGH>; /* PA7 */
35 compatible = "gpio-keys";
39 linux,code = <KEY_POWER>;
40 gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */
45 compatible = "regulator-fixed";
46 regulator-name = "vcc1v2";
47 regulator-min-microvolt = <3300000>;
48 regulator-max-microvolt = <3300000>;
51 vin-supply = <®_vcc5v0>;
52 gpio = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
57 compatible = "regulator-fixed";
58 regulator-name = "vcc3v3";
59 regulator-min-microvolt = <3300000>;
60 regulator-max-microvolt = <3300000>;
61 vin-supply = <®_vcc5v0>;
64 /* This represents the board's 5V input */
66 compatible = "regulator-fixed";
67 regulator-name = "vcc5v0";
68 regulator-min-microvolt = <5000000>;
69 regulator-max-microvolt = <5000000>;
72 reg_vcc_dram: vcc-dram {
73 compatible = "regulator-fixed";
74 regulator-name = "vcc-dram";
75 regulator-min-microvolt = <1500000>;
76 regulator-max-microvolt = <1500000>;
79 vin-supply = <®_vcc5v0>;
80 gpio = <&r_pio 0 9 GPIO_ACTIVE_HIGH>; /* PL9 */
85 compatible = "regulator-fixed";
86 regulator-name = "vcc-io";
87 regulator-min-microvolt = <3300000>;
88 regulator-max-microvolt = <3300000>;
91 vin-supply = <®_vcc3v3>;
92 gpio = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL5 */
95 reg_vdd_cpux: vdd-cpux {
96 compatible = "regulator-fixed";
97 regulator-name = "vdd-cpux";
98 regulator-min-microvolt = <3300000>;
99 regulator-max-microvolt = <3300000>;
102 vin-supply = <®_vcc5v0>;
103 gpio = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
121 phy-handle = <&int_mii_phy>;
123 allwinner,leds-active-low;
128 pinctrl-names = "default";
129 pinctrl-0 = <&ir_pins_a>;
134 vmmc-supply = <®_vcc_io>;
136 cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; /* PF6 */
142 pinctrl-names = "default";
143 pinctrl-0 = <&mmc2_8bit_pins>;
144 vmmc-supply = <®_vcc_io>;
163 pinctrl-names = "default";
164 pinctrl-0 = <&uart0_pins_a>;
169 /* VBUS on USB ports are always on */
170 usb0_vbus-supply = <®_vcc5v0>;
171 usb1_vbus-supply = <®_vcc5v0>;
172 usb2_vbus-supply = <®_vcc5v0>;
173 usb3_vbus-supply = <®_vcc5v0>;