1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2016 BayLibre, Inc. 4 * Author: Neil Armstrong <narmstrong@baylibre.com> 5 */ 6 7/dts-v1/; 8 9#include "meson-gxbb-wetek.dtsi" 10#include <dt-bindings/input/input.h> 11 12/ { 13 compatible = "wetek,play2", "amlogic,meson-gxbb"; 14 model = "WeTek Play 2"; 15 16 leds { 17 wifi { 18 label = "wetek-play:wifi-status"; 19 gpios = <&gpio GPIODV_26 GPIO_ACTIVE_HIGH>; 20 default-state = "off"; 21 }; 22 23 ethernet { 24 label = "wetek-play:ethernet-status"; 25 gpios = <&gpio GPIODV_27 GPIO_ACTIVE_HIGH>; 26 default-state = "off"; 27 }; 28 }; 29 30 gpio-keys-polled { 31 compatible = "gpio-keys-polled"; 32 #address-cells = <1>; 33 #size-cells = <0>; 34 poll-interval = <100>; 35 36 button@0 { 37 label = "reset"; 38 linux,code = <KEY_RESTART>; 39 gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_LOW>; 40 }; 41 }; 42}; 43 44&i2c_A { 45 status = "okay"; 46 pinctrl-0 = <&i2c_a_pins>; 47 pinctrl-names = "default"; 48}; 49 50&usb1_phy { 51 status = "okay"; 52}; 53 54&usb1 { 55 status = "okay"; 56}; 57