berlin2cd-valve-steamlink.dts 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. // SPDX-License-Identifier: (GPL-2.0 OR MIT)
  2. /*
  3. * Copyright 2018 Alexander Monakov <[email protected]>
  4. */
  5. /dts-v1/;
  6. #include "berlin2cd.dtsi"
  7. #include <dt-bindings/gpio/gpio.h>
  8. / {
  9. model = "Valve Steam Link";
  10. compatible = "valve,steamlink", "marvell,berlin2cd", "marvell,berlin";
  11. memory@0 {
  12. device_type = "memory";
  13. reg = <0x00000000 0x20000000>; /* 512 MB */
  14. };
  15. gpio-restart {
  16. compatible = "gpio-restart";
  17. gpios = <&porta 6 GPIO_ACTIVE_HIGH>;
  18. active-delay = <100>;
  19. inactive-delay = <10>;
  20. wait-delay = <100>;
  21. priority = <200>;
  22. };
  23. };
  24. &cpu {
  25. cpu-supply = <&vcpu>;
  26. operating-points = <
  27. /* kHz uV */
  28. 1000000 1325000
  29. >;
  30. };
  31. &i2c0 {
  32. status = "okay";
  33. /* There are two regulators on the board. One is accessible via I2C,
  34. * with buck1 providing SoC power (set up by bootloader to 1.325V or
  35. * less depending on leakage value in OTP), and buck2 likely used for
  36. * DRAM (providing 1.35V). The other regulator on the opposite side
  37. * of the board is probably supplying SDIO and NAND fixed voltages. */
  38. regulator@19 {
  39. compatible = "marvell,88pg868";
  40. reg = <0x19>;
  41. vcpu: buck1 {
  42. regulator-boot-on;
  43. regulator-always-on;
  44. regulator-min-microvolt = <1000000>;
  45. regulator-max-microvolt = <1325000>;
  46. };
  47. };
  48. };
  49. /* Fixed interface to on-board Marvell 8897 Wi-Fi/Bluetooth/NFC chip. */
  50. &sdhci0 {
  51. keep-power-in-suspend;
  52. non-removable;
  53. status = "okay";
  54. };
  55. &uart0 {
  56. /* RX/TX are routed to TP50/TP51 on the board. */
  57. status = "okay";
  58. };
  59. /* The SoC is connected to on-board USB hub that in turn has one downstream
  60. * port wired to the on-board Steam Controller wireless receiver chip. */
  61. &usb_phy1 { status = "okay"; };
  62. &usb1 {
  63. dr_mode = "host";
  64. status = "okay";
  65. };
  66. &eth1 { status = "okay"; };