Lines Matching +full:pio +full:- +full:mode

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree Source for A20-SOM204-EVB Board
9 /dts-v1/;
10 #include "sun7i-a20.dtsi"
11 #include "sunxi-common-regulators.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
16 #include <dt-bindings/pwm/pwm.h>
19 model = "Olimex A20-SOM204-EVB";
20 compatible = "olimex,a20-olimex-som204-evb", "allwinner,sun7i-a20";
32 stdout-path = "serial0:115200n8";
35 hdmi-connector {
36 compatible = "hdmi-connector";
41 remote-endpoint = <&hdmi_out_con>;
47 compatible = "gpio-leds";
49 led-0 {
50 label = "a20-som204-evb:green:stat";
51 gpios = <&pio 8 0 GPIO_ACTIVE_HIGH>;
52 default-state = "on";
55 led-1 {
56 label = "a20-som204-evb:green:led1";
57 gpios = <&pio 8 10 GPIO_ACTIVE_HIGH>;
58 default-state = "on";
61 led-2 {
62 label = "a20-som204-evb:yellow:led2";
63 gpios = <&pio 8 11 GPIO_ACTIVE_HIGH>;
64 default-state = "on";
69 compatible = "mmc-pwrseq-simple";
70 reset-gpios = <&pio 6 9 GPIO_ACTIVE_LOW>;
75 target-supply = <&reg_ahci_5v>;
80 pinctrl-names = "default";
81 pinctrl-0 = <&can_ph_pins>;
90 cpu-supply = <&reg_dcdc2>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&gmac_rgmii_pins>;
108 phy-handle = <&phy3>;
109 phy-mode = "rgmii";
110 phy-supply = <&reg_vcc3v3>;
120 remote-endpoint = <&hdmi_con_in>;
129 interrupt-parent = <&nmi_intc>;
151 pinctrl-names = "default";
152 pinctrl-0 = <&ir0_rx_pin>;
157 phy3: ethernet-phy@3 {
159 reset-gpios = <&pio 0 17 GPIO_ACTIVE_LOW>; /* PA17 */
160 reset-assert-us = <10000>;
162 reset-deassert-us = <1000000>;
167 vmmc-supply = <&reg_vcc3v3>;
168 bus-width = <4>;
169 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>;
174 vmmc-supply = <&reg_vcc3v3>;
175 mmc-pwrseq = <&rtl_pwrseq>;
176 bus-width = <4>;
177 non-removable;
197 &pio {
198 uart3_rts_pin: uart3-rts-pin {
215 gpio = <&pio 2 3 GPIO_ACTIVE_HIGH>;
220 regulator-always-on;
221 regulator-min-microvolt = <1000000>;
222 regulator-max-microvolt = <1400000>;
223 regulator-name = "vdd-cpu";
227 regulator-always-on;
228 regulator-min-microvolt = <1000000>;
229 regulator-max-microvolt = <1400000>;
230 regulator-name = "vdd-int-dll";
234 regulator-always-on;
235 regulator-min-microvolt = <1300000>;
236 regulator-max-microvolt = <1300000>;
237 regulator-name = "vdd-rtc";
241 regulator-always-on;
242 regulator-min-microvolt = <3000000>;
243 regulator-max-microvolt = <3000000>;
244 regulator-name = "avcc";
248 regulator-min-microvolt = <3300000>;
249 regulator-max-microvolt = <3300000>;
250 regulator-name = "vcc-pg";
254 gpio = <&pio 2 17 GPIO_ACTIVE_HIGH>;
268 pinctrl-names = "default";
269 pinctrl-0 = <&spi1_pi_pins>,
276 pinctrl-names = "default";
277 pinctrl-0 = <&spi2_pc_pins>,
283 pinctrl-names = "default";
284 pinctrl-0 = <&uart0_pb_pins>;
290 pinctrl-names = "default";
291 pinctrl-0 = <&uart3_pg_pins>, <&uart3_rts_pin>;
297 pinctrl-names = "default";
298 pinctrl-0 = <&uart4_pg_pins>;
304 pinctrl-names = "default";
305 pinctrl-0 = <&uart7_pi_pins>;
319 usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
320 usb0_vbus_det-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
321 usb0_vbus_power-supply = <&usb_power_supply>;
322 usb0_vbus-supply = <&reg_usb0_vbus>;
323 usb1_vbus-supply = <&reg_usb1_vbus>;
324 usb2_vbus-supply = <&reg_usb2_vbus>;