1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 // Copyright (C) 2019 Chen-Yu Tsai <wens@csie.org>
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
14 stdout-path = "serial0:115200n8";
18 compatible = "hdmi-connector";
22 hdmi_con_in: endpoint {
23 remote-endpoint = <&hdmi_out_con>;
29 compatible = "gpio-leds";
32 label = "librecomputer:blue:status";
33 gpios = <&pio 0 7 GPIO_ACTIVE_HIGH>; /* PA7 */
38 compatible = "regulator-fixed";
39 regulator-name = "vcc3v3";
40 regulator-min-microvolt = <3300000>;
41 regulator-max-microvolt = <3300000>;
44 vin-supply = <®_vcc5v0>;
47 /* This represents the board's 5V input */
49 compatible = "regulator-fixed";
50 regulator-name = "vcc5v0";
51 regulator-min-microvolt = <5000000>;
52 regulator-max-microvolt = <5000000>;
57 reg_vcc_dram: vcc-dram {
58 compatible = "regulator-fixed";
59 regulator-name = "vcc-dram";
60 regulator-min-microvolt = <1500000>;
61 regulator-max-microvolt = <1500000>;
64 vin-supply = <®_vcc5v0>;
65 gpio = <&r_pio 0 9 GPIO_ACTIVE_HIGH>; /* PL9 */
70 compatible = "regulator-fixed";
71 regulator-name = "vcc-io";
72 /* This is simply a MOSFET switch */
75 vin-supply = <®_vcc3v3>;
76 gpio = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL5 */
79 reg_vcc_usbwifi: vcc-usbwifi {
80 compatible = "regulator-fixed";
81 regulator-name = "vcc-usbwifi";
82 regulator-min-microvolt = <3300000>;
83 regulator-max-microvolt = <3300000>;
84 vin-supply = <®_vcc5v0>;
85 gpio = <&pio 6 4 GPIO_ACTIVE_HIGH>; /* PG4 */
89 reg_vdd_cpux: vdd-cpux {
90 compatible = "regulator-fixed";
91 regulator-name = "vdd-cpux";
92 regulator-min-microvolt = <1100000>;
93 regulator-max-microvolt = <1100000>;
96 vin-supply = <®_vcc5v0>;
97 gpio = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
103 cpu-supply = <®_vdd_cpux>;
107 cpu-supply = <®_vdd_cpux>;
111 cpu-supply = <®_vdd_cpux>;
115 cpu-supply = <®_vdd_cpux>;
131 hdmi_out_con: endpoint {
132 remote-endpoint = <&hdmi_con_in>;
137 vmmc-supply = <®_vcc_io>;
139 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
144 vcc-pa-supply = <®_vcc_io>;
145 vcc-pc-supply = <®_vcc_io>;
146 vcc-pd-supply = <®_vcc_io>;
147 vcc-pe-supply = <®_vcc_io>;
148 vcc-pf-supply = <®_vcc_io>;
149 vcc-pg-supply = <®_vcc_io>;
153 vcc-pl-supply = <®_vcc3v3>;
160 compatible = "jedec,spi-nor";
162 spi-max-frequency = <50000000>;
167 pinctrl-names = "default";
168 pinctrl-0 = <&uart0_pa_pins>;
173 dr_mode = "peripheral";
178 usb1_vbus-supply = <®_vcc_usbwifi>;