Lines Matching +full:usb0_vbus_det +full:- +full:gpios

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/leds/common.h>
7 /dts-v1/;
9 #include "sun20i-d1.dtsi"
10 #include "sun20i-common-regulators.dtsi"
14 compatible = "100ask,dongshan-nezha-stu", "allwinner,sun20i-d1";
22 stdout-path = "serial0:115200n8";
26 compatible = "gpio-leds";
28 led-0 {
31 gpios = <&pio 2 1 GPIO_ACTIVE_HIGH>; /* PC1 */
36 compatible = "regulator-fixed";
37 regulator-name = "usbvbus";
38 regulator-min-microvolt = <5000000>;
39 regulator-max-microvolt = <5000000>;
41 enable-active-high;
42 vin-supply = <&reg_vcc>;
46 * This regulator is PWM-controlled, but the PWM controller is not
49 reg_vdd_cpu: vdd-cpu {
50 compatible = "regulator-fixed";
51 regulator-name = "vdd-cpu";
52 regulator-min-microvolt = <1100000>;
53 regulator-max-microvolt = <1100000>;
54 vin-supply = <&reg_vcc>;
59 cpu-supply = <&reg_vdd_cpu>;
63 clock-frequency = <24000000>;
71 pinctrl-0 = <&rgmii_pe_pins>;
72 pinctrl-names = "default";
73 phy-handle = <&ext_rgmii_phy>;
74 phy-mode = "rgmii-id";
75 phy-supply = <&reg_vcc_3v3>;
80 ext_rgmii_phy: ethernet-phy@1 {
81 compatible = "ethernet-phy-ieee802.3-c22";
87 broken-cd;
88 bus-width = <4>;
89 disable-wp;
90 vmmc-supply = <&reg_vcc_3v3>;
91 vqmmc-supply = <&reg_vcc_3v3>;
92 pinctrl-0 = <&mmc0_pins>;
93 pinctrl-names = "default";
102 pinctrl-0 = <&uart0_pb8_pins>;
103 pinctrl-names = "default";
113 usb0_id_det-gpios = <&pio 3 21 GPIO_ACTIVE_HIGH>; /* PD21 */
114 usb0_vbus_det-gpios = <&pio 3 20 GPIO_ACTIVE_HIGH>; /* PD20 */
115 usb0_vbus-supply = <&reg_usbvbus>;