Lines Matching +full:bus +full:- +full:range +full:- +full:microvolt

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/gpio/meson-g12a-gpio.h>
9 #include <dt-bindings/sound/meson-g12a-toacodec.h>
10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
18 dioo2133: audio-amplifier-0 {
19 compatible = "simple-audio-amplifier";
20 enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>;
21 VCC-supply = <&vcc_5v>;
22 sound-name-prefix = "U19";
27 stdout-path = "serial0:115200n8";
35 emmc_pwrseq: emmc-pwrseq {
36 compatible = "mmc-pwrseq-emmc";
37 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-leds";
46 linux,default-trigger = "heartbeat";
50 tflash_vdd: regulator-tflash_vdd {
51 compatible = "regulator-fixed";
53 regulator-name = "TFLASH_VDD";
54 regulator-min-microvolt = <3300000>;
55 regulator-max-microvolt = <3300000>;
58 enable-active-high;
59 regulator-always-on;
62 tf_io: gpio-regulator-tf_io {
63 compatible = "regulator-gpio";
65 regulator-name = "TF_IO";
66 regulator-min-microvolt = <1800000>;
67 regulator-max-microvolt = <3300000>;
70 gpios-states = <0>;
76 flash_1v8: regulator-flash_1v8 {
77 compatible = "regulator-fixed";
78 regulator-name = "FLASH_1V8";
79 regulator-min-microvolt = <1800000>;
80 regulator-max-microvolt = <1800000>;
81 vin-supply = <&vcc_3v3>;
82 regulator-always-on;
85 main_12v: regulator-main_12v {
86 compatible = "regulator-fixed";
87 regulator-name = "12V";
88 regulator-min-microvolt = <12000000>;
89 regulator-max-microvolt = <12000000>;
90 regulator-always-on;
93 vcc_5v: regulator-vcc_5v {
94 compatible = "regulator-fixed";
95 regulator-name = "5V";
96 regulator-min-microvolt = <5000000>;
97 regulator-max-microvolt = <5000000>;
98 regulator-always-on;
99 vin-supply = <&main_12v>;
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 = <&vddao_3v3>;
117 regulator-always-on;
121 vddcpu_a: regulator-vddcpu-a {
125 compatible = "pwm-regulator";
127 regulator-name = "VDDCPU_A";
128 regulator-min-microvolt = <721000>;
129 regulator-max-microvolt = <1022000>;
131 vin-supply = <&main_12v>;
134 pwm-dutycycle-range = <100 0>;
136 regulator-boot-on;
137 regulator-always-on;
140 vddcpu_b: regulator-vddcpu-b {
144 compatible = "pwm-regulator";
146 regulator-name = "VDDCPU_B";
147 regulator-min-microvolt = <721000>;
148 regulator-max-microvolt = <1022000>;
150 vin-supply = <&main_12v>;
153 pwm-dutycycle-range = <100 0>;
155 regulator-boot-on;
156 regulator-always-on;
159 hub_5v: regulator-hub_5v {
160 compatible = "regulator-fixed";
161 regulator-name = "HUB_5V";
162 regulator-min-microvolt = <5000000>;
163 regulator-max-microvolt = <5000000>;
164 vin-supply = <&vcc_5v>;
168 enable-active-high;
171 usb_pwr_en: regulator-usb_pwr_en {
172 compatible = "regulator-fixed";
173 regulator-name = "USB_PWR_EN";
174 regulator-min-microvolt = <5000000>;
175 regulator-max-microvolt = <5000000>;
176 vin-supply = <&vcc_5v>;
180 enable-active-high;
183 vddao_1v8: regulator-vddao_1v8 {
184 compatible = "regulator-fixed";
185 regulator-name = "VDDAO_1V8";
186 regulator-min-microvolt = <1800000>;
187 regulator-max-microvolt = <1800000>;
188 vin-supply = <&vddao_3v3>;
189 regulator-always-on;
192 vddao_3v3: regulator-vddao_3v3 {
193 compatible = "regulator-fixed";
194 regulator-name = "VDDAO_3V3";
195 regulator-min-microvolt = <3300000>;
196 regulator-max-microvolt = <3300000>;
197 vin-supply = <&main_12v>;
198 regulator-always-on;
201 hdmi-connector {
202 compatible = "hdmi-connector";
207 remote-endpoint = <&hdmi_tx_tmds_out>;
213 compatible = "amlogic,axg-sound-card";
214 model = "G12B-ODROID-N2";
215 audio-widgets = "Line", "Lineout";
216 audio-aux-devs = <&tdmout_b>, <&tdmout_c>, <&tdmin_a>,
219 audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
252 assigned-clocks = <&clkc CLKID_MPLL2>,
255 assigned-clock-parents = <0>, <0>, <0>;
256 assigned-clock-rates = <294912000>,
261 dai-link-0 {
262 sound-dai = <&frddr_a>;
265 dai-link-1 {
266 sound-dai = <&frddr_b>;
269 dai-link-2 {
270 sound-dai = <&frddr_c>;
273 dai-link-3 {
274 sound-dai = <&toddr_a>;
277 dai-link-4 {
278 sound-dai = <&toddr_b>;
281 dai-link-5 {
282 sound-dai = <&toddr_c>;
286 dai-link-6 {
287 sound-dai = <&tdmif_b>;
288 dai-format = "i2s";
289 dai-tdm-slot-tx-mask-0 = <1 1>;
290 dai-tdm-slot-tx-mask-1 = <1 1>;
291 dai-tdm-slot-tx-mask-2 = <1 1>;
292 dai-tdm-slot-tx-mask-3 = <1 1>;
293 mclk-fs = <256>;
295 codec-0 {
296 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>;
299 codec-1 {
300 sound-dai = <&toacodec TOACODEC_IN_B>;
305 dai-link-7 {
306 sound-dai = <&tdmif_c>;
307 dai-format = "i2s";
308 dai-tdm-slot-tx-mask-0 = <1 1>;
309 mclk-fs = <256>;
311 codec-0 {
312 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_C>;
315 codec-1 {
316 sound-dai = <&toacodec TOACODEC_IN_C>;
321 dai-link-8 {
322 sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
325 sound-dai = <&hdmi_tx>;
330 dai-link-9 {
331 sound-dai = <&toacodec TOACODEC_OUT>;
334 sound-dai = <&acodec>;
341 AVDD-supply = <&vddao_1v8>;
350 pinctrl-0 = <&cec_ao_a_h_pins>;
351 pinctrl-names = "default";
353 hdmi-phandle = <&hdmi_tx>;
357 pinctrl-0 = <&cec_ao_b_h_pins>;
358 pinctrl-names = "default";
360 hdmi-phandle = <&hdmi_tx>;
368 cpu-supply = <&vddcpu_b>;
369 operating-points-v2 = <&cpu_opp_table_0>;
371 clock-latency = <50000>;
375 cpu-supply = <&vddcpu_b>;
376 operating-points-v2 = <&cpu_opp_table_0>;
378 clock-latency = <50000>;
382 cpu-supply = <&vddcpu_a>;
383 operating-points-v2 = <&cpub_opp_table_1>;
385 clock-latency = <50000>;
389 cpu-supply = <&vddcpu_a>;
390 operating-points-v2 = <&cpub_opp_table_1>;
392 clock-latency = <50000>;
396 cpu-supply = <&vddcpu_a>;
397 operating-points-v2 = <&cpub_opp_table_1>;
399 clock-latency = <50000>;
403 cpu-supply = <&vddcpu_a>;
404 operating-points-v2 = <&cpub_opp_table_1>;
406 clock-latency = <50000>;
410 external_phy: ethernet-phy@0 {
413 max-speed = <1000>;
415 reset-assert-us = <10000>;
416 reset-deassert-us = <30000>;
417 reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
419 interrupt-parent = <&gpio_intc>;
426 pinctrl-0 = <&eth_pins>, <&eth_rgmii_pins>;
427 pinctrl-names = "default";
429 phy-mode = "rgmii";
430 phy-handle = <&external_phy>;
431 amlogic,tx-delay-ns = <2>;
448 * WARNING: The USB Hub on the Odroid-N2 needs a reset signal
451 * in order to reset the Hub when USB bus is powered down.
453 usb-hub {
454 gpio-hog;
456 output-high;
457 line-name = "usb-hub-reset";
463 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;
464 pinctrl-names = "default";
465 hdmi-supply = <&vcc_5v>;
470 remote-endpoint = <&hdmi_connector_in>;
476 pinctrl-0 = <&remote_input_ao_pins>;
477 pinctrl-names = "default";
478 linux,rc-map-name = "rc-odroid";
482 pinctrl-0 = <&pwm_a_e_pins>;
483 pinctrl-names = "default";
485 clock-names = "clkin0";
490 pinctrl-0 = <&pwm_ao_d_e_pins>;
491 pinctrl-names = "default";
493 clock-names = "clkin1";
500 pinctrl-0 = <&sdcard_c_pins>;
501 pinctrl-1 = <&sdcard_clk_gate_c_pins>;
502 pinctrl-names = "default", "clk-gate";
504 bus-width = <4>;
505 cap-sd-highspeed;
506 max-frequency = <50000000>;
507 disable-wp;
509 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
510 vmmc-supply = <&tflash_vdd>;
511 vqmmc-supply = <&tf_io>;
518 pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>;
519 pinctrl-1 = <&emmc_clk_gate_pins>;
520 pinctrl-names = "default", "clk-gate";
522 bus-width = <8>;
523 cap-mmc-highspeed;
524 mmc-ddr-1_8v;
525 mmc-hs200-1_8v;
526 max-frequency = <200000000>;
527 disable-wp;
529 mmc-pwrseq = <&emmc_pwrseq>;
530 vmmc-supply = <&vcc_3v3>;
531 vqmmc-supply = <&flash_1v8>;
537 * Replace emmc_data_8b_pins to emmc_data_4b_pins from sd_emmc_c pinctrl-0,
538 * and change bus-width to 4 then spifc can be enabled.
543 pinctrl-0 = <&nor_pins>;
544 pinctrl-names = "default";
546 mx25u64: spi-flash@0 {
547 #address-cells = <1>;
548 #size-cells = <1>;
549 compatible = "mxicy,mx25u6435f", "jedec,spi-nor";
551 spi-max-frequency = <104000000>;
609 pinctrl-0 = <&uart_ao_a_pins>;
610 pinctrl-names = "default";
615 vbus-supply = <&usb_pwr_en>;
619 phy-supply = <&vcc_5v>;
624 phy-supply = <&hub_5v>;