meson-gxbb-wetek-play2.dts 977 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. /dts-v1/;
  7. #include "meson-gxbb-wetek.dtsi"
  8. #include <dt-bindings/input/input.h>
  9. / {
  10. compatible = "wetek,play2", "amlogic,meson-gxbb";
  11. model = "WeTek Play 2";
  12. leds {
  13. wifi {
  14. label = "wetek-play:wifi-status";
  15. gpios = <&gpio GPIODV_26 GPIO_ACTIVE_HIGH>;
  16. default-state = "off";
  17. };
  18. ethernet {
  19. label = "wetek-play:ethernet-status";
  20. gpios = <&gpio GPIODV_27 GPIO_ACTIVE_HIGH>;
  21. default-state = "off";
  22. };
  23. };
  24. gpio-keys-polled {
  25. compatible = "gpio-keys-polled";
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. poll-interval = <100>;
  29. button@0 {
  30. label = "reset";
  31. linux,code = <KEY_RESTART>;
  32. gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_LOW>;
  33. };
  34. };
  35. };
  36. &i2c_A {
  37. status = "okay";
  38. pinctrl-0 = <&i2c_a_pins>;
  39. pinctrl-names = "default";
  40. };
  41. &usb1_phy {
  42. status = "okay";
  43. };
  44. &usb1 {
  45. status = "okay";
  46. };