1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016 Andreas Färber
4 * Copyright (c) 2016 BayLibre, Inc.
5 * Author: Kevin Hilman <khilman@kernel.org>
8 #include "meson-gxbb.dtsi"
17 stdout-path = "serial0:115200n8";
21 device_type = "memory";
22 reg = <0x0 0x0 0x0 0x40000000>;
26 compatible = "gpio-leds";
29 label = "wetek-play:system-status";
30 gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>;
36 usb_pwr: regulator-usb-pwrs {
37 compatible = "regulator-fixed";
39 regulator-name = "USB_PWR";
41 regulator-min-microvolt = <5000000>;
42 regulator-max-microvolt = <5000000>;
44 gpio = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>;
48 vddio_boot: regulator-vddio_boot {
49 compatible = "regulator-fixed";
50 regulator-name = "VDDIO_BOOT";
51 regulator-min-microvolt = <1800000>;
52 regulator-max-microvolt = <1800000>;
55 vddao_3v3: regulator-vddao_3v3 {
56 compatible = "regulator-fixed";
57 regulator-name = "VDDAO_3V3";
58 regulator-min-microvolt = <3300000>;
59 regulator-max-microvolt = <3300000>;
62 vddio_ao18: regulator-vddio_ao18 {
63 compatible = "regulator-fixed";
64 regulator-name = "VDDIO_AO18";
65 regulator-min-microvolt = <1800000>;
66 regulator-max-microvolt = <1800000>;
69 vcc_3v3: regulator-vcc_3v3 {
70 compatible = "regulator-fixed";
71 regulator-name = "VCC_3V3";
72 regulator-min-microvolt = <3300000>;
73 regulator-max-microvolt = <3300000>;
76 emmc_pwrseq: emmc-pwrseq {
77 compatible = "mmc-pwrseq-emmc";
78 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
82 compatible = "pwm-clock";
84 clock-frequency = <32768>;
85 pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */
88 sdio_pwrseq: sdio-pwrseq {
89 compatible = "mmc-pwrseq-simple";
90 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
92 clock-names = "ext_clock";
96 compatible = "composite-video-connector";
99 cvbs_connector_in: endpoint {
100 remote-endpoint = <&cvbs_vdac_out>;
106 compatible = "hdmi-connector";
110 hdmi_connector_in: endpoint {
111 remote-endpoint = <&hdmi_tx_tmds_out>;
119 pinctrl-0 = <&ao_cec_pins>;
120 pinctrl-names = "default";
121 hdmi-phandle = <&hdmi_tx>;
125 cvbs_vdac_out: endpoint {
126 remote-endpoint = <&cvbs_connector_in>;
132 pinctrl-0 = <ð_rgmii_pins>;
133 pinctrl-names = "default";
135 phy-handle = <ð_phy0>;
138 amlogic,tx-delay-ns = <2>;
141 compatible = "snps,dwmac-mdio";
142 #address-cells = <1>;
145 eth_phy0: ethernet-phy@0 {
146 /* Realtek RTL8211F (0x001cc916) */
149 reset-assert-us = <10000>;
150 reset-deassert-us = <30000>;
151 reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;
158 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
159 pinctrl-names = "default";
163 hdmi_tx_tmds_out: endpoint {
164 remote-endpoint = <&hdmi_connector_in>;
170 pinctrl-0 = <&remote_input_ao_pins>;
171 pinctrl-names = "default";
176 pinctrl-0 = <&pwm_e_pins>;
177 pinctrl-names = "default";
178 clocks = <&clkc CLKID_FCLK_DIV4>;
179 clock-names = "clkin0";
184 vref-supply = <&vddio_ao18>;
187 /* Wireless SDIO Module */
190 pinctrl-0 = <&sdio_pins>;
191 pinctrl-1 = <&sdio_clk_gate_pins>;
192 pinctrl-names = "default", "clk-gate";
193 #address-cells = <1>;
198 max-frequency = <50000000>;
203 /* WiFi firmware requires power to be kept while in suspend */
204 keep-power-in-suspend;
206 mmc-pwrseq = <&sdio_pwrseq>;
208 vmmc-supply = <&vddao_3v3>;
209 vqmmc-supply = <&vddio_boot>;
213 compatible = "brcm,bcm4329-fmac";
220 pinctrl-0 = <&sdcard_pins>;
221 pinctrl-1 = <&sdcard_clk_gate_pins>;
222 pinctrl-names = "default", "clk-gate";
226 max-frequency = <50000000>;
229 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
231 vmmc-supply = <&vddao_3v3>;
232 vqmmc-supply = <&vcc_3v3>;
238 pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
239 pinctrl-1 = <&emmc_clk_gate_pins>;
240 pinctrl-names = "default", "clk-gate";
244 max-frequency = <200000000>;
250 mmc-pwrseq = <&emmc_pwrseq>;
251 vmmc-supply = <&vcc_3v3>;
252 vqmmc-supply = <&vddio_boot>;
255 /* This is connected to the Bluetooth module: */
258 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
259 pinctrl-names = "default";
263 compatible = "brcm,bcm43438-bt";
264 shutdown-gpios = <&gpio GPIOX_20 GPIO_ACTIVE_HIGH>;
268 /* This UART is brought out to the DB9 connector */
271 pinctrl-0 = <&uart_ao_a_pins>;
272 pinctrl-names = "default";
277 phy-supply = <&usb_pwr>;