hihope-rev2.dtsi 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the HiHope RZ/G2[MN] main board Rev.2.0 common
  4. * parts
  5. *
  6. * Copyright (C) 2020 Renesas Electronics Corp.
  7. */
  8. #include <dt-bindings/gpio/gpio.h>
  9. #include "hihope-common.dtsi"
  10. / {
  11. leds {
  12. compatible = "gpio-leds";
  13. bt_active_led {
  14. label = "blue:bt";
  15. gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
  16. linux,default-trigger = "hci0-power";
  17. default-state = "off";
  18. };
  19. wlan_active_led {
  20. label = "yellow:wlan";
  21. gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
  22. linux,default-trigger = "phy0tx";
  23. default-state = "off";
  24. };
  25. };
  26. wlan_en_reg: regulator-wlan_en {
  27. compatible = "regulator-fixed";
  28. regulator-name = "wlan-en-regulator";
  29. regulator-min-microvolt = <1800000>;
  30. regulator-max-microvolt = <1800000>;
  31. startup-delay-us = <70000>;
  32. gpio = <&gpio_expander 1 GPIO_ACTIVE_HIGH>;
  33. enable-active-high;
  34. };
  35. };
  36. &hscif0 {
  37. bluetooth {
  38. compatible = "ti,wl1837-st";
  39. enable-gpios = <&gpio_expander 2 GPIO_ACTIVE_HIGH>;
  40. };
  41. };
  42. &i2c4 {
  43. gpio_expander: gpio@20 {
  44. compatible = "onnn,pca9654";
  45. reg = <0x20>;
  46. gpio-controller;
  47. #gpio-cells = <2>;
  48. };
  49. };
  50. &pfc {
  51. sound_clk_pins: sound_clk {
  52. groups = "audio_clk_a_a";
  53. function = "audio_clk";
  54. };
  55. };
  56. &rcar_sound {
  57. pinctrl-0 = <&sound_clk_pins>;
  58. pinctrl-names = "default";
  59. status = "okay";
  60. /* Single DAI */
  61. #sound-dai-cells = <0>;
  62. rsnd_port: port {
  63. rsnd_endpoint: endpoint {
  64. remote-endpoint = <&dw_hdmi0_snd_in>;
  65. dai-format = "i2s";
  66. bitclock-master = <&rsnd_endpoint>;
  67. frame-master = <&rsnd_endpoint>;
  68. playback = <&ssi2>;
  69. };
  70. };
  71. };