Lines Matching +full:strobe +full:- +full:gpios
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include "meson-gxm.dtsi"
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/sound/meson-aiu.h>
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 =
60 #cooling-cells = <2>;
63 gpio-keys-polled {
64 compatible = "gpio-keys-polled";
65 poll-interval = <100>;
67 power-button {
70 gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>;
74 hdmi-connector {
75 compatible = "hdmi-connector";
80 remote-endpoint = <&hdmi_tx_tmds_out>;
85 led-controller {
86 compatible = "pwm-leds";
88 led-1 {
91 max-brightness = <255>;
92 linux,default-trigger = "default-on";
96 sdio_pwrseq: sdio-pwrseq {
97 compatible = "mmc-pwrseq-simple";
98 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
100 clock-names = "ext_clock";
103 hdmi_5v: regulator-hdmi-5v {
104 compatible = "regulator-fixed";
106 regulator-name = "HDMI_5V";
107 regulator-min-microvolt = <5000000>;
108 regulator-max-microvolt = <5000000>;
111 enable-active-high;
112 regulator-always-on;
115 vcc_3v3: regulator-vcc-3v3 {
116 compatible = "regulator-fixed";
117 regulator-name = "VCC_3V3";
118 regulator-min-microvolt = <3300000>;
119 regulator-max-microvolt = <3300000>;
122 vddio_ao18: regulator-vddio-ao18 {
123 compatible = "regulator-fixed";
124 regulator-name = "VDDIO_AO18";
125 regulator-min-microvolt = <1800000>;
126 regulator-max-microvolt = <1800000>;
129 vddio_boot: regulator-vddio-boot {
130 compatible = "regulator-fixed";
131 regulator-name = "VDDIO_BOOT";
132 regulator-min-microvolt = <1800000>;
133 regulator-max-microvolt = <1800000>;
136 vddao_3v3: regulator-vddao-3v3 {
137 compatible = "regulator-fixed";
138 regulator-name = "VDDAO_3V3";
139 regulator-min-microvolt = <3300000>;
140 regulator-max-microvolt = <3300000>;
144 compatible = "pwm-clock";
145 #clock-cells = <0>;
146 clock-frequency = <32768>;
151 compatible = "amlogic,gx-sound-card";
152 model = "KHADAS-VIM2";
157 assigned-clocks = <&clkc CLKID_MPLL0>,
160 assigned-clock-parents = <0>, <0>, <0>;
161 assigned-clock-rates = <294912000>,
165 dai-link-0 {
166 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>;
169 dai-link-1 {
170 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>;
171 dai-format = "i2s";
172 mclk-fs = <256>;
174 codec-0 {
175 sound-dai = <&aiu AIU_HDMI CTRL_I2S>;
179 dai-link-2 {
180 sound-dai = <&aiu AIU_HDMI CTRL_OUT>;
182 codec-0 {
183 sound-dai = <&hdmi_tx>;
195 pinctrl-0 = <&ao_cec_pins>;
196 pinctrl-names = "default";
197 hdmi-phandle = <&hdmi_tx>;
202 cooling-device = <&gpio_fan THERMAL_NO_LIMIT 1>;
206 cooling-device = <&gpio_fan 2 THERMAL_NO_LIMIT>,
219 pinctrl-0 = <ð_pins>;
220 pinctrl-names = "default";
223 phy-handle = <&external_phy>;
225 amlogic,tx-delay-ns = <2>;
228 phy-mode = "rgmii";
234 external_phy: ethernet-phy@0 {
238 reset-assert-us = <10000>;
239 reset-deassert-us = <80000>;
240 reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;
242 interrupt-parent = <&gpio_intc>;
250 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
251 pinctrl-names = "default";
252 hdmi-supply = <&hdmi_5v>;
257 remote-endpoint = <&hdmi_connector_in>;
263 pinctrl-0 = <&i2c_a_pins>;
264 pinctrl-names = "default";
269 pinctrl-0 = <&i2c_b_pins>;
270 pinctrl-names = "default";
276 #clock-cells = <0>;
277 clock-output-names = "xin32k";
283 pinctrl-0 = <&remote_input_ao_pins>;
284 pinctrl-names = "default";
285 linux,rc-map-name = "rc-khadas";
290 pinctrl-0 = <&pwm_ao_a_3_pins>, <&pwm_ao_b_pins>;
291 pinctrl-names = "default";
293 clock-names = "clkin0";
298 pinctrl-0 = <&pwm_e_pins>, <&pwm_f_clk_pins>;
299 pinctrl-names = "default";
301 clock-names = "clkin0";
306 pinctrl-0 = <&sdio_pins>;
307 pinctrl-1 = <&sdio_clk_gate_pins>;
308 pinctrl-names = "default", "clk-gate";
309 #address-cells = <1>;
310 #size-cells = <0>;
312 bus-width = <4>;
313 cap-sd-highspeed;
314 max-frequency = <100000000>;
316 non-removable;
317 disable-wp;
320 keep-power-in-suspend;
322 mmc-pwrseq = <&sdio_pwrseq>;
324 vmmc-supply = <&vddao_3v3>;
325 vqmmc-supply = <&vddio_boot>;
329 compatible = "brcm,bcm4329-fmac";
336 pinctrl-0 = <&sdcard_pins>;
337 pinctrl-1 = <&sdcard_clk_gate_pins>;
338 pinctrl-names = "default", "clk-gate";
340 bus-width = <4>;
341 cap-sd-highspeed;
342 max-frequency = <50000000>;
343 disable-wp;
345 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
347 vmmc-supply = <&vddao_3v3>;
348 vqmmc-supply = <&vddio_boot>;
354 pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
355 pinctrl-1 = <&emmc_clk_gate_pins>;
356 pinctrl-names = "default", "clk-gate";
358 bus-width = <8>;
359 cap-mmc-highspeed;
360 max-frequency = <200000000>;
361 non-removable;
362 disable-wp;
363 mmc-ddr-1_8v;
364 mmc-hs200-1_8v;
366 mmc-pwrseq = <&emmc_pwrseq>;
367 vmmc-supply = <&vcc_3v3>;
368 vqmmc-supply = <&vddio_boot>;
372 * EMMC_DS pin is shared between SPI NOR CS and eMMC Data Strobe
373 * Remove emmc_ds_pins from sd_emmc_c pinctrl-0 then spifc can be enabled
377 pinctrl-0 = <&nor_pins>;
378 pinctrl-names = "default";
381 #address-cells = <1>;
382 #size-cells = <1>;
383 compatible = "winbond,w25q16", "jedec,spi-nor";
385 spi-max-frequency = <104000000>;
392 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
393 pinctrl-names = "default";
394 uart-has-rtscts;
397 compatible = "brcm,bcm43438-bt";
398 shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
399 max-speed = <2000000>;
401 clock-names = "lpo";
408 pinctrl-0 = <&uart_ao_a_pins>;
409 pinctrl-names = "default";
415 pinctrl-0 = <&uart_ao_b_pins>;
416 pinctrl-names = "default";
421 vref-supply = <&vddio_ao18>;