Lines Matching +full:meson +full:- +full:gpio +full:- +full:intc
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "meson-gxbb.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/sound/meson-aiu.h>
13 compatible = "friendlyarm,nanopi-k2", "amlogic,meson-gxbb";
22 stdout-path = "serial0:115200n8";
31 compatible = "gpio-leds";
33 led-stat {
34 label = "nanopi-k2:blue:stat";
36 default-state = "on";
37 panic-indicator;
41 vdd_5v: regulator-vdd-5v {
42 compatible = "regulator-fixed";
43 regulator-name = "VDD_5V";
44 regulator-min-microvolt = <5000000>;
45 regulator-max-microvolt = <5000000>;
48 vddio_ao18: regulator-vddio-ao18 {
49 compatible = "regulator-fixed";
50 regulator-name = "VDDIO_AO18";
51 regulator-min-microvolt = <1800000>;
52 regulator-max-microvolt = <1800000>;
55 vddio_ao3v3: regulator-vddio-ao3v3 {
56 compatible = "regulator-fixed";
57 regulator-name = "VDDIO_AO3.3V";
58 regulator-min-microvolt = <3300000>;
59 regulator-max-microvolt = <3300000>;
62 vddio_tf: regulator-vddio-tf {
63 compatible = "regulator-gpio";
65 regulator-name = "VDDIO_TF";
66 regulator-min-microvolt = <1800000>;
67 regulator-max-microvolt = <3300000>;
70 gpios-states = <0>;
75 regulator-settling-time-up-us = <100>;
76 regulator-settling-time-down-us = <5000>;
79 wifi_32k: wifi-32k {
80 compatible = "pwm-clock";
81 #clock-cells = <0>;
82 clock-frequency = <32768>;
86 sdio_pwrseq: sdio-pwrseq {
87 compatible = "mmc-pwrseq-simple";
88 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
90 clock-names = "ext_clock";
93 vcc1v8: regulator-vcc1v8 {
94 compatible = "regulator-fixed";
95 regulator-name = "VCC1.8V";
96 regulator-min-microvolt = <1800000>;
97 regulator-max-microvolt = <1800000>;
100 vcc3v3: regulator-vcc3v3 {
101 compatible = "regulator-fixed";
102 regulator-name = "VCC3.3V";
103 regulator-min-microvolt = <3300000>;
104 regulator-max-microvolt = <3300000>;
107 emmc_pwrseq: emmc-pwrseq {
108 compatible = "mmc-pwrseq-emmc";
109 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
113 cvbs-connector {
114 compatible = "composite-video-connector";
119 remote-endpoint = <&cvbs_vdac_out>;
124 hdmi-connector {
125 compatible = "hdmi-connector";
130 remote-endpoint = <&hdmi_tx_tmds_out>;
136 compatible = "amlogic,gx-sound-card";
137 model = "NANOPI-K2";
142 assigned-clocks = <&clkc CLKID_MPLL0>,
145 assigned-clock-parents = <0>, <0>, <0>;
146 assigned-clock-rates = <294912000>,
150 dai-link-0 {
151 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>;
154 dai-link-1 {
155 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>;
156 dai-format = "i2s";
157 mclk-fs = <256>;
159 codec-0 {
160 sound-dai = <&aiu AIU_HDMI CTRL_I2S>;
164 dai-link-2 {
165 sound-dai = <&aiu AIU_HDMI CTRL_OUT>;
167 codec-0 {
168 sound-dai = <&hdmi_tx>;
180 pinctrl-0 = <&ao_cec_pins>;
181 pinctrl-names = "default";
182 hdmi-phandle = <&hdmi_tx>;
187 remote-endpoint = <&cvbs_connector_in>;
193 pinctrl-0 = <ð_rgmii_pins>;
194 pinctrl-names = "default";
196 phy-handle = <ð_phy0>;
197 phy-mode = "rgmii";
199 amlogic,tx-delay-ns = <2>;
202 compatible = "snps,dwmac-mdio";
203 #address-cells = <1>;
204 #size-cells = <0>;
206 eth_phy0: ethernet-phy@0 {
210 reset-assert-us = <10000>;
211 reset-deassert-us = <80000>;
212 reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;
214 interrupt-parent = <&gpio_intc>;
223 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
224 pinctrl-names = "default";
229 remote-endpoint = <&hdmi_connector_in>;
235 pinctrl-0 = <&remote_input_ao_pins>;
236 pinctrl-names = "default";
240 gpio-line-names = "UART TX", "UART RX", "Power Control", "Power Key In",
249 &gpio {
250 gpio-line-names = /* Bank GPIOZ */
255 "Eth PHY nRESET", "Eth PHY Intc",
299 pinctrl-0 = <&pwm_e_pins>;
300 pinctrl-names = "default";
302 clock-names = "clkin0";
307 vref-supply = <&vddio_ao18>;
313 pinctrl-0 = <&sdio_pins>, <&sdio_irq_pins>;
314 pinctrl-1 = <&sdio_clk_gate_pins>;
315 pinctrl-names = "default", "clk-gate";
316 #address-cells = <1>;
317 #size-cells = <0>;
319 bus-width = <4>;
320 cap-sd-highspeed;
321 max-frequency = <50000000>;
323 non-removable;
324 disable-wp;
327 keep-power-in-suspend;
329 mmc-pwrseq = <&sdio_pwrseq>;
331 vmmc-supply = <&vddio_ao3v3>;
332 vqmmc-supply = <&vddio_ao18>;
335 compatible = "brcm,bcm4329-fmac";
343 pinctrl-0 = <&sdcard_pins>;
344 pinctrl-1 = <&sdcard_clk_gate_pins>;
345 pinctrl-names = "default", "clk-gate";
347 bus-width = <4>;
348 cap-sd-highspeed;
349 sd-uhs-sdr12;
350 sd-uhs-sdr25;
351 sd-uhs-sdr50;
352 sd-uhs-ddr50;
353 max-frequency = <100000000>;
354 disable-wp;
356 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
358 vmmc-supply = <&vddio_ao3v3>;
359 vqmmc-supply = <&vddio_tf>;
365 pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
366 pinctrl-1 = <&emmc_clk_gate_pins>;
367 pinctrl-names = "default", "clk-gate";
369 bus-width = <8>;
370 max-frequency = <200000000>;
371 non-removable;
372 disable-wp;
373 cap-mmc-highspeed;
374 mmc-ddr-1_8v;
375 mmc-hs200-1_8v;
377 mmc-pwrseq = <&emmc_pwrseq>;
378 vmmc-supply = <&vcc3v3>;
379 vqmmc-supply = <&vcc1v8>;
385 pinctrl-0 = <&uart_ao_a_pins>;
386 pinctrl-names = "default";
392 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
393 pinctrl-names = "default";
394 uart-has-rtscts;
397 compatible = "brcm,bcm43438-bt";
399 clock-names = "lpo";
400 vbat-supply = <&vddio_ao3v3>;
401 vddio-supply = <&vddio_ao18>;
402 host-wakeup-gpios = <&gpio GPIOX_21 GPIO_ACTIVE_HIGH>;
403 shutdown-gpios = <&gpio GPIOX_20 GPIO_ACTIVE_HIGH>;
407 /* 40-pin CON1 */
410 pinctrl-0 = <&uart_c_pins>;
411 pinctrl-names = "default";
416 phy-supply = <&vdd_5v>;