rk3399-rock-pi-4b-plus.dts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Copyright (c) 2019 Akash Gajjar <[email protected]>
  4. * Copyright (c) 2019 Pragnesh Patel <[email protected]>
  5. */
  6. /dts-v1/;
  7. #include "rk3399-rock-pi-4.dtsi"
  8. #include "rk3399-op1-opp.dtsi"
  9. / {
  10. model = "Radxa ROCK Pi 4B+";
  11. compatible = "radxa,rockpi4b-plus", "radxa,rockpi4", "rockchip,rk3399";
  12. aliases {
  13. mmc2 = &sdio0;
  14. };
  15. };
  16. &es8316 {
  17. pinctrl-0 = <&hp_detect &hp_int>;
  18. pinctrl-names = "default";
  19. interrupt-parent = <&gpio1>;
  20. interrupts = <RK_PA1 IRQ_TYPE_LEVEL_HIGH>;
  21. };
  22. &sdio0 {
  23. status = "okay";
  24. brcmf: wifi@1 {
  25. compatible = "brcm,bcm4329-fmac";
  26. reg = <1>;
  27. interrupt-parent = <&gpio0>;
  28. interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>;
  29. interrupt-names = "host-wake";
  30. pinctrl-names = "default";
  31. pinctrl-0 = <&wifi_host_wake_l>;
  32. };
  33. };
  34. &sound {
  35. hp-det-gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
  36. };
  37. &uart0 {
  38. status = "okay";
  39. bluetooth {
  40. compatible = "brcm,bcm4345c5";
  41. clocks = <&rk808 1>;
  42. clock-names = "lpo";
  43. device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
  44. host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
  45. shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
  46. max-speed = <1500000>;
  47. pinctrl-names = "default";
  48. pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
  49. vbat-supply = <&vcc3v3_sys>;
  50. vddio-supply = <&vcc_1v8>;
  51. };
  52. };