Lines Matching +full:fixed +full:- +full:link
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/gpio/meson-g12a-gpio.h>
11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
22 stdout-path = "serial0:115200n8";
30 adc-keys {
31 compatible = "adc-keys";
32 io-channels = <&saradc 2>;
33 io-channel-names = "buttons";
34 keyup-threshold-microvolt = <1710000>;
36 button-function {
39 press-threshold-microvolt = <10000>;
44 compatible = "gpio-leds";
46 led-white {
50 linux,default-trigger = "heartbeat";
53 led-red {
60 emmc_pwrseq: emmc-pwrseq {
61 compatible = "mmc-pwrseq-emmc";
62 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
65 gpio-keys-polled {
66 compatible = "gpio-keys-polled";
67 poll-interval = <100>;
69 power-button {
76 sdio_pwrseq: sdio-pwrseq {
77 compatible = "mmc-pwrseq-simple";
78 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
80 clock-names = "ext_clock";
83 dc_in: regulator-dc_in {
84 compatible = "regulator-fixed";
85 regulator-name = "DC_IN";
86 regulator-min-microvolt = <5000000>;
87 regulator-max-microvolt = <5000000>;
88 regulator-always-on;
91 vcc_5v: regulator-vcc_5v {
92 compatible = "regulator-fixed";
93 regulator-name = "VCC_5V";
94 regulator-min-microvolt = <5000000>;
95 regulator-max-microvolt = <5000000>;
96 vin-supply = <&dc_in>;
99 enable-active-high;
102 vcc_1v8: regulator-vcc_1v8 {
103 compatible = "regulator-fixed";
104 regulator-name = "VCC_1V8";
105 regulator-min-microvolt = <1800000>;
106 regulator-max-microvolt = <1800000>;
107 vin-supply = <&vcc_3v3>;
108 regulator-always-on;
111 vcc_3v3: regulator-vcc_3v3 {
112 compatible = "regulator-fixed";
113 regulator-name = "VCC_3V3";
114 regulator-min-microvolt = <3300000>;
115 regulator-max-microvolt = <3300000>;
116 vin-supply = <&vsys_3v3>;
117 regulator-always-on;
121 vddao_1v8: regulator-vddao_1v8 {
122 compatible = "regulator-fixed";
123 regulator-name = "VDDIO_AO1V8";
124 regulator-min-microvolt = <1800000>;
125 regulator-max-microvolt = <1800000>;
126 vin-supply = <&vsys_3v3>;
127 regulator-always-on;
130 emmc_1v8: regulator-emmc_1v8 {
131 compatible = "regulator-fixed";
132 regulator-name = "EMMC_AO1V8";
133 regulator-min-microvolt = <1800000>;
134 regulator-max-microvolt = <1800000>;
135 vin-supply = <&vcc_3v3>;
136 regulator-always-on;
139 vsys_3v3: regulator-vsys_3v3 {
140 compatible = "regulator-fixed";
141 regulator-name = "VSYS_3V3";
142 regulator-min-microvolt = <3300000>;
143 regulator-max-microvolt = <3300000>;
144 vin-supply = <&dc_in>;
145 regulator-always-on;
148 usb_pwr: regulator-usb_pwr {
149 compatible = "regulator-fixed";
150 regulator-name = "USB_PWR";
151 regulator-min-microvolt = <5000000>;
152 regulator-max-microvolt = <5000000>;
153 vin-supply = <&vcc_5v>;
156 enable-active-high;
159 hdmi-connector {
160 compatible = "hdmi-connector";
165 remote-endpoint = <&hdmi_tx_tmds_out>;
172 compatible = "amlogic,axg-sound-card";
173 model = "KHADAS-VIM3";
174 audio-aux-devs = <&tdmin_a>, <&tdmout_a>;
175 audio-routing = "TDMOUT_A IN 0", "FRDDR_A OUT 0",
185 assigned-clocks = <&clkc CLKID_MPLL2>,
188 assigned-clock-parents = <0>, <0>, <0>;
189 assigned-clock-rates = <294912000>,
193 dai-link-0 {
194 sound-dai = <&frddr_a>;
197 dai-link-1 {
198 sound-dai = <&frddr_b>;
201 dai-link-2 {
202 sound-dai = <&frddr_c>;
205 dai-link-3 {
206 sound-dai = <&toddr_a>;
209 dai-link-4 {
210 sound-dai = <&toddr_b>;
213 dai-link-5 {
214 sound-dai = <&toddr_c>;
218 dai-link-6 {
219 sound-dai = <&tdmif_a>;
220 dai-format = "i2s";
221 dai-tdm-slot-tx-mask-0 = <1 1>;
222 dai-tdm-slot-tx-mask-1 = <1 1>;
223 dai-tdm-slot-tx-mask-2 = <1 1>;
224 dai-tdm-slot-tx-mask-3 = <1 1>;
225 mclk-fs = <256>;
228 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_A>;
233 dai-link-7 {
234 sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
237 sound-dai = <&hdmi_tx>;
243 compatible = "pwm-clock";
244 #clock-cells = <0>;
245 clock-frequency = <32768>;
259 pinctrl-0 = <&cec_ao_a_h_pins>;
260 pinctrl-names = "default";
262 hdmi-phandle = <&hdmi_tx>;
266 pinctrl-0 = <&cec_ao_b_h_pins>;
267 pinctrl-names = "default";
269 hdmi-phandle = <&hdmi_tx>;
274 cpu_active: cpu-active {
281 cooling-maps {
284 cooling-device = <&khadas_mcu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
290 external_phy: ethernet-phy@0 {
293 max-speed = <1000>;
295 interrupt-parent = <&gpio_intc>;
302 pinctrl-0 = <ð_pins>, <ð_rgmii_pins>;
303 pinctrl-names = "default";
305 phy-mode = "rgmii";
306 phy-handle = <&external_phy>;
307 amlogic,tx-delay-ns = <2>;
324 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;
325 pinctrl-names = "default";
326 hdmi-supply = <&vcc_5v>;
331 remote-endpoint = <&hdmi_connector_in>;
337 pinctrl-0 = <&i2c_ao_sck_pins>, <&i2c_ao_sda_pins>;
338 pinctrl-names = "default";
340 khadas_mcu: system-controller@18 {
343 #cooling-cells = <2>;
346 gpio_expander: gpio-controller@20 {
349 vcc-supply = <&vcc_3v3>;
350 gpio-controller;
351 #gpio-cells = <2>;
357 #clock-cells = <0>;
363 pinctrl-0 = <&remote_input_ao_pins>;
364 pinctrl-names = "default";
365 linux,rc-map-name = "rc-khadas";
369 reset-gpios = <&gpio GPIOA_8 GPIO_ACTIVE_LOW>;
374 pinctrl-0 = <&pwm_e_pins>;
375 pinctrl-names = "default";
380 vref-supply = <&vddao_1v8>;
386 pinctrl-0 = <&sdio_pins>;
387 pinctrl-1 = <&sdio_clk_gate_pins>;
388 pinctrl-names = "default", "clk-gate";
389 #address-cells = <1>;
390 #size-cells = <0>;
392 bus-width = <4>;
393 cap-sd-highspeed;
394 max-frequency = <100000000>;
396 non-removable;
397 disable-wp;
400 keep-power-in-suspend;
402 mmc-pwrseq = <&sdio_pwrseq>;
404 vmmc-supply = <&vsys_3v3>;
405 vqmmc-supply = <&vddao_1v8>;
409 compatible = "brcm,bcm4329-fmac";
416 pinctrl-0 = <&sdcard_c_pins>;
417 pinctrl-1 = <&sdcard_clk_gate_c_pins>;
418 pinctrl-names = "default", "clk-gate";
420 bus-width = <4>;
421 cap-sd-highspeed;
422 max-frequency = <50000000>;
423 disable-wp;
425 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
426 vmmc-supply = <&vsys_3v3>;
427 vqmmc-supply = <&vsys_3v3>;
433 pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>;
434 pinctrl-1 = <&emmc_clk_gate_pins>;
435 pinctrl-names = "default", "clk-gate";
437 bus-width = <8>;
438 cap-mmc-highspeed;
439 mmc-ddr-1_8v;
440 mmc-hs200-1_8v;
441 max-frequency = <200000000>;
442 disable-wp;
444 mmc-pwrseq = <&emmc_pwrseq>;
445 vmmc-supply = <&vcc_3v3>;
446 vqmmc-supply = <&emmc_1v8>;
452 * Replace emmc_data_8b_pins to emmc_data_4b_pins from sd_emmc_c pinctrl-0,
453 * and change bus-width to 4 then spifc can be enabled.
457 pinctrl-0 = <&nor_pins>;
458 pinctrl-names = "default";
461 #address-cells = <1>;
462 #size-cells = <1>;
463 compatible = "winbond,w25q128fw", "jedec,spi-nor";
465 spi-max-frequency = <104000000>;
499 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
500 pinctrl-names = "default";
501 uart-has-rtscts;
504 compatible = "brcm,bcm43438-bt";
505 shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
506 max-speed = <2000000>;
508 clock-names = "lpo";
514 pinctrl-0 = <&uart_ao_a_pins>;
515 pinctrl-names = "default";
519 phy-supply = <&dc_in>;
523 phy-supply = <&usb_pwr>;
527 phy-supply = <&usb_pwr>;