meson-gxl-s905d-sml5442tw.dts 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Copyright (c) Christian Hewitt <[email protected]>
  4. */
  5. /dts-v1/;
  6. #include "meson-gxl-s905d.dtsi"
  7. #include "meson-gx-p23x-q20x.dtsi"
  8. #include <dt-bindings/leds/common.h>
  9. / {
  10. compatible = "smartlabs,sml5442tw", "amlogic,s905d", "amlogic,meson-gxl";
  11. model = "SmartLabs SML-5442TW";
  12. leds {
  13. compatible = "gpio-leds";
  14. led-yellow {
  15. color = <LED_COLOR_ID_YELLOW>;
  16. function = LED_FUNCTION_STATUS;
  17. gpios = <&gpio_ao GPIOAO_6 GPIO_ACTIVE_HIGH>;
  18. default-state = "off";
  19. };
  20. led-blue {
  21. color = <LED_COLOR_ID_BLUE>;
  22. function = LED_FUNCTION_STATUS;
  23. gpios = <&gpio GPIODV_28 GPIO_ACTIVE_HIGH>;
  24. default-state = "off";
  25. };
  26. led-green {
  27. color = <LED_COLOR_ID_GREEN>;
  28. function = LED_FUNCTION_STATUS;
  29. gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>;
  30. default-state = "on";
  31. };
  32. led-red {
  33. color = <LED_COLOR_ID_RED>;
  34. function = LED_FUNCTION_STATUS;
  35. gpios = <&gpio GPIODV_27 GPIO_ACTIVE_HIGH>;
  36. default-state = "off";
  37. };
  38. };
  39. };
  40. &ethmac {
  41. status = "okay";
  42. phy-mode = "rmii";
  43. phy-handle = <&internal_phy>;
  44. };
  45. &i2c_A {
  46. status = "okay";
  47. pinctrl-0 = <&i2c_a_pins>;
  48. pinctrl-names = "default";
  49. };
  50. &internal_phy {
  51. pinctrl-0 = <&eth_link_led_pins>, <&eth_act_led_pins>;
  52. pinctrl-names = "default";
  53. };
  54. &ir {
  55. linux,rc-map-name = "rc-khamsin";
  56. };
  57. /* This is connected to the Bluetooth module: */
  58. &uart_A {
  59. status = "okay";
  60. pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
  61. pinctrl-names = "default";
  62. uart-has-rtscts;
  63. bluetooth {
  64. compatible = "qcom,qca9377-bt";
  65. enable-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
  66. max-speed = <2000000>;
  67. clocks = <&wifi32k>;
  68. };
  69. };