Lines Matching +full:wp +full:- +full:gpios
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include <dt-bindings/input/input.h>
12 #include "meson-gxm.dtsi"
15 compatible = "khadas,vim2", "amlogic,s912", "amlogic,meson-gxm";
24 stdout-path = "serial0:115200n8";
32 adc-keys {
33 compatible = "adc-keys";
34 io-channels = <&saradc 0>;
35 io-channel-names = "buttons";
36 keyup-threshold-microvolt = <1710000>;
38 button-function {
41 press-threshold-microvolt = <10000>;
45 emmc_pwrseq: emmc-pwrseq {
46 compatible = "mmc-pwrseq-emmc";
47 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
50 gpio_fan: gpio-fan {
51 compatible = "gpio-fan";
52 gpios = <&gpio GPIODV_14 GPIO_ACTIVE_HIGH
55 gpio-fan,speed-map = <0 0
59 #cooling-cells = <2>;
62 gpio-keys-polled {
63 compatible = "gpio-keys-polled";
64 poll-interval = <100>;
66 power-button {
69 gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>;
73 hdmi-connector {
74 compatible = "hdmi-connector";
79 remote-endpoint = <&hdmi_tx_tmds_out>;
85 compatible = "pwm-leds";
90 max-brightness = <255>;
91 linux,default-trigger = "default-on";
95 sdio_pwrseq: sdio-pwrseq {
96 compatible = "mmc-pwrseq-simple";
97 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
99 clock-names = "ext_clock";
102 hdmi_5v: regulator-hdmi-5v {
103 compatible = "regulator-fixed";
105 regulator-name = "HDMI_5V";
106 regulator-min-microvolt = <5000000>;
107 regulator-max-microvolt = <5000000>;
110 enable-active-high;
111 regulator-always-on;
114 vcc_3v3: regulator-vcc_3v3 {
115 compatible = "regulator-fixed";
116 regulator-name = "VCC_3V3";
117 regulator-min-microvolt = <3300000>;
118 regulator-max-microvolt = <3300000>;
121 vddio_ao18: regulator-vddio_ao18 {
122 compatible = "regulator-fixed";
123 regulator-name = "VDDIO_AO18";
124 regulator-min-microvolt = <1800000>;
125 regulator-max-microvolt = <1800000>;
128 vddio_boot: regulator-vddio_boot {
129 compatible = "regulator-fixed";
130 regulator-name = "VDDIO_BOOT";
131 regulator-min-microvolt = <1800000>;
132 regulator-max-microvolt = <1800000>;
135 vddao_3v3: regulator-vddao_3v3 {
136 compatible = "regulator-fixed";
137 regulator-name = "VDDAO_3V3";
138 regulator-min-microvolt = <3300000>;
139 regulator-max-microvolt = <3300000>;
143 compatible = "pwm-clock";
144 #clock-cells = <0>;
145 clock-frequency = <32768>;
152 pinctrl-0 = <&ao_cec_pins>;
153 pinctrl-names = "default";
154 hdmi-phandle = <&hdmi_tx>;
160 cooling-device = <&gpio_fan THERMAL_NO_LIMIT 1>;
164 cooling-device = <&gpio_fan 2 THERMAL_NO_LIMIT>,
177 pinctrl-0 = <ð_pins>;
178 pinctrl-names = "default";
181 phy-handle = <&external_phy>;
183 amlogic,tx-delay-ns = <2>;
186 phy-mode = "rgmii";
192 external_phy: ethernet-phy@0 {
196 reset-assert-us = <10000>;
197 reset-deassert-us = <30000>;
198 reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;
200 interrupt-parent = <&gpio_intc>;
208 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
209 pinctrl-names = "default";
210 hdmi-supply = <&hdmi_5v>;
215 remote-endpoint = <&hdmi_connector_in>;
221 pinctrl-0 = <&i2c_a_pins>;
222 pinctrl-names = "default";
227 pinctrl-0 = <&i2c_b_pins>;
228 pinctrl-names = "default";
235 #clock-cells = <0>;
236 clock-frequency = <32768>;
237 clock-output-names = "xin32k";
243 pinctrl-0 = <&remote_input_ao_pins>;
244 pinctrl-names = "default";
245 linux,rc-map-name = "rc-khadas";
250 pinctrl-0 = <&pwm_ao_a_3_pins>, <&pwm_ao_b_pins>;
251 pinctrl-names = "default";
253 clock-names = "clkin0";
258 pinctrl-0 = <&pwm_e_pins>, <&pwm_f_clk_pins>;
259 pinctrl-names = "default";
261 clock-names = "clkin0";
266 pinctrl-0 = <&sdio_pins>;
267 pinctrl-1 = <&sdio_clk_gate_pins>;
268 pinctrl-names = "default", "clk-gate";
269 #address-cells = <1>;
270 #size-cells = <0>;
272 bus-width = <4>;
273 max-frequency = <60000000>;
275 non-removable;
276 disable-wp;
279 keep-power-in-suspend;
281 mmc-pwrseq = <&sdio_pwrseq>;
283 vmmc-supply = <&vddao_3v3>;
284 vqmmc-supply = <&vddio_boot>;
288 compatible = "brcm,bcm4329-fmac";
295 pinctrl-0 = <&sdcard_pins>;
296 pinctrl-1 = <&sdcard_clk_gate_pins>;
297 pinctrl-names = "default", "clk-gate";
299 bus-width = <4>;
300 cap-sd-highspeed;
301 max-frequency = <50000000>;
302 disable-wp;
304 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
306 vmmc-supply = <&vddao_3v3>;
307 vqmmc-supply = <&vddio_boot>;
313 pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
314 pinctrl-1 = <&emmc_clk_gate_pins>;
315 pinctrl-names = "default", "clk-gate";
317 bus-width = <8>;
318 cap-mmc-highspeed;
319 max-frequency = <200000000>;
320 non-removable;
321 disable-wp;
322 mmc-ddr-1_8v;
323 mmc-hs200-1_8v;
325 mmc-pwrseq = <&emmc_pwrseq>;
326 vmmc-supply = <&vcc_3v3>;
327 vqmmc-supply = <&vddio_boot>;
332 * Remove emmc_ds_pins from sd_emmc_c pinctrl-0 then spifc can be enabled
336 pinctrl-0 = <&nor_pins>;
337 pinctrl-names = "default";
339 w25q32: spi-flash@0 {
340 #address-cells = <1>;
341 #size-cells = <1>;
342 compatible = "winbond,w25q16", "jedec,spi-nor";
344 spi-max-frequency = <3000000>;
351 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
352 pinctrl-names = "default";
353 uart-has-rtscts;
356 compatible = "brcm,bcm43438-bt";
357 shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
358 max-speed = <2000000>;
360 clock-names = "lpo";
367 pinctrl-0 = <&uart_ao_a_pins>;
368 pinctrl-names = "default";
374 pinctrl-0 = <&uart_ao_b_pins>;
375 pinctrl-names = "default";
380 vref-supply = <&vddio_ao18>;