1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016 BayLibre, Inc.
4 * Author: Neil Armstrong <narmstrong@baylibre.com>
9 #include "meson-gxbb-p20x.dtsi"
10 #include <dt-bindings/input/input.h>
13 compatible = "wetek,play2", "amlogic,meson-gxbb";
14 model = "WeTek Play 2";
17 compatible = "gpio-leds";
20 label = "wetek-play:system-status";
21 gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>;
27 label = "wetek-play:wifi-status";
28 gpios = <&gpio GPIODV_26 GPIO_ACTIVE_HIGH>;
29 default-state = "off";
33 label = "wetek-play:ethernet-status";
34 gpios = <&gpio GPIODV_27 GPIO_ACTIVE_HIGH>;
35 default-state = "off";
40 compatible = "gpio-keys-polled";
43 poll-interval = <100>;
47 linux,code = <KEY_RESTART>;
48 gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_LOW>;
53 compatible = "composite-video-connector";
56 cvbs_connector_in: endpoint {
57 remote-endpoint = <&cvbs_vdac_out>;
63 compatible = "hdmi-connector";
67 hdmi_connector_in: endpoint {
68 remote-endpoint = <&hdmi_tx_tmds_out>;
76 pinctrl-0 = <&ao_cec_pins>;
77 pinctrl-names = "default";
78 hdmi-phandle = <&hdmi_tx>;
82 cvbs_vdac_out: endpoint {
83 remote-endpoint = <&cvbs_connector_in>;
89 pinctrl-0 = <ð_rgmii_pins>;
90 pinctrl-names = "default";
92 phy-handle = <ð_phy0>;
95 amlogic,tx-delay-ns = <2>;
97 snps,reset-gpio = <&gpio GPIOZ_14 0>;
98 snps,reset-delays-us = <0 10000 1000000>;
99 snps,reset-active-low;
102 compatible = "snps,dwmac-mdio";
103 #address-cells = <1>;
106 eth_phy0: ethernet-phy@0 {
107 /* Realtek RTL8211F (0x001cc916) */
115 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
116 pinctrl-names = "default";
120 hdmi_tx_tmds_out: endpoint {
121 remote-endpoint = <&hdmi_connector_in>;
127 pinctrl-0 = <&i2c_a_pins>;
128 pinctrl-names = "default";