treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / arm64 / boot / dts / amlogic / meson-gxbb-wetek-play2.dts
blob1d32d1f6d03274181d737be2227703b3953b6381
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3  * Copyright (c) 2016 BayLibre, Inc.
4  * Author: Neil Armstrong <narmstrong@baylibre.com>
5  */
7 /dts-v1/;
9 #include "meson-gxbb-wetek.dtsi"
10 #include <dt-bindings/input/input.h>
12 / {
13         compatible = "wetek,play2", "amlogic,meson-gxbb";
14         model = "WeTek Play 2";
16         leds {
17                 wifi {
18                         label = "wetek-play:wifi-status";
19                         gpios = <&gpio GPIODV_26 GPIO_ACTIVE_HIGH>;
20                         default-state = "off";
21                 };
23                 ethernet {
24                         label = "wetek-play:ethernet-status";
25                         gpios = <&gpio GPIODV_27 GPIO_ACTIVE_HIGH>;
26                         default-state = "off";
27                 };
28         };
30         gpio-keys-polled {
31                 compatible = "gpio-keys-polled";
32                 #address-cells = <1>;
33                 #size-cells = <0>;
34                 poll-interval = <100>;
36                 button@0 {
37                         label = "reset";
38                         linux,code = <KEY_RESTART>;
39                         gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_LOW>;
40                 };
41         };
44 &i2c_A {
45         status = "okay";
46         pinctrl-0 = <&i2c_a_pins>;
47         pinctrl-names = "default";
50 &usb1_phy {
51         status = "okay";
54 &usb1 {
55         status = "okay";
58 &ir {
59         linux,rc-map-name = "rc-wetek-play2";