0001 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
0002 /*
0003 * Copyright 2018 Alexander Monakov <amonakov@gmail.com>
0004 */
0005 /dts-v1/;
0006
0007 #include "berlin2cd.dtsi"
0008 #include <dt-bindings/gpio/gpio.h>
0009
0010 / {
0011 model = "Valve Steam Link";
0012 compatible = "valve,steamlink", "marvell,berlin2cd", "marvell,berlin";
0013
0014 memory@0 {
0015 device_type = "memory";
0016 reg = <0x00000000 0x20000000>; /* 512 MB */
0017 };
0018
0019 gpio-restart {
0020 compatible = "gpio-restart";
0021 gpios = <&porta 6 GPIO_ACTIVE_HIGH>;
0022 active-delay = <100>;
0023 inactive-delay = <10>;
0024 wait-delay = <100>;
0025 priority = <200>;
0026 };
0027 };
0028
0029 &cpu {
0030 cpu-supply = <&vcpu>;
0031 operating-points = <
0032 /* kHz uV */
0033 1000000 1325000
0034 >;
0035 };
0036
0037 &i2c0 {
0038 status = "okay";
0039
0040 /* There are two regulators on the board. One is accessible via I2C,
0041 * with buck1 providing SoC power (set up by bootloader to 1.325V or
0042 * less depending on leakage value in OTP), and buck2 likely used for
0043 * DRAM (providing 1.35V). The other regulator on the opposite side
0044 * of the board is probably supplying SDIO and NAND fixed voltages. */
0045 regulator@19 {
0046 compatible = "marvell,88pg868";
0047 reg = <0x19>;
0048
0049 vcpu: buck1 {
0050 regulator-boot-on;
0051 regulator-always-on;
0052 regulator-min-microvolt = <1000000>;
0053 regulator-max-microvolt = <1325000>;
0054 };
0055 };
0056 };
0057
0058 /* Fixed interface to on-board Marvell 8897 Wi-Fi/Bluetooth/NFC chip. */
0059 &sdhci0 {
0060 keep-power-in-suspend;
0061 non-removable;
0062 status = "okay";
0063 };
0064
0065 &uart0 {
0066 /* RX/TX are routed to TP50/TP51 on the board. */
0067 status = "okay";
0068 };
0069
0070 /* The SoC is connected to on-board USB hub that in turn has one downstream
0071 * port wired to the on-board Steam Controller wireless receiver chip. */
0072 &usb_phy1 { status = "okay"; };
0073
0074 &usb1 {
0075 dr_mode = "host";
0076 status = "okay";
0077 };
0078
0079 ð1 { status = "okay"; };