111 lines
1.9 KiB
Plaintext
111 lines
1.9 KiB
Plaintext
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||
|
|
/*
|
||
|
|
* Device Tree file for RIPE Atlas Probe v5
|
||
|
|
* 2025 by Marek Behún <kabel@kernel.org>
|
||
|
|
*/
|
||
|
|
|
||
|
|
/dts-v1/;
|
||
|
|
|
||
|
|
#include <dt-bindings/bus/moxtet.h>
|
||
|
|
#include <dt-bindings/gpio/gpio.h>
|
||
|
|
#include <dt-bindings/leds/common.h>
|
||
|
|
#include "armada-372x.dtsi"
|
||
|
|
|
||
|
|
/ {
|
||
|
|
model = "RIPE Atlas Probe v5";
|
||
|
|
compatible = "ripe,atlas-v5", "marvell,armada3720",
|
||
|
|
"marvell,armada3710";
|
||
|
|
|
||
|
|
aliases {
|
||
|
|
ethernet0 = ð0;
|
||
|
|
mmc0 = &sdhci0;
|
||
|
|
};
|
||
|
|
|
||
|
|
chosen {
|
||
|
|
stdout-path = "serial0:115200n8";
|
||
|
|
};
|
||
|
|
|
||
|
|
memory@0 {
|
||
|
|
device_type = "memory";
|
||
|
|
reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
|
||
|
|
};
|
||
|
|
|
||
|
|
leds {
|
||
|
|
compatible = "gpio-leds";
|
||
|
|
|
||
|
|
led {
|
||
|
|
gpios = <&gpiosb 21 GPIO_ACTIVE_LOW>;
|
||
|
|
function = LED_FUNCTION_ACTIVITY;
|
||
|
|
color = <LED_COLOR_ID_RED>;
|
||
|
|
linux,default-trigger = "default-on";
|
||
|
|
};
|
||
|
|
};
|
||
|
|
|
||
|
|
vsdc_reg: vsdc-reg {
|
||
|
|
compatible = "regulator-gpio";
|
||
|
|
regulator-name = "vsdc";
|
||
|
|
regulator-min-microvolt = <1800000>;
|
||
|
|
regulator-max-microvolt = <3300000>;
|
||
|
|
regulator-boot-on;
|
||
|
|
|
||
|
|
gpios = <&gpiosb 23 GPIO_ACTIVE_HIGH>;
|
||
|
|
gpios-states = <0>;
|
||
|
|
states = <1800000 0x1
|
||
|
|
3300000 0x0>;
|
||
|
|
enable-active-high;
|
||
|
|
};
|
||
|
|
|
||
|
|
firmware {
|
||
|
|
armada-3700-rwtm {
|
||
|
|
compatible = "marvell,armada-3700-rwtm-firmware", "cznic,turris-mox-rwtm";
|
||
|
|
};
|
||
|
|
};
|
||
|
|
};
|
||
|
|
|
||
|
|
&uart0 {
|
||
|
|
pinctrl-names = "default";
|
||
|
|
pinctrl-0 = <&uart1_pins>;
|
||
|
|
status = "okay";
|
||
|
|
};
|
||
|
|
|
||
|
|
ð0 {
|
||
|
|
pinctrl-names = "default";
|
||
|
|
pinctrl-0 = <&rgmii_pins>;
|
||
|
|
phy-mode = "rgmii-id";
|
||
|
|
phy-handle = <&phy1>;
|
||
|
|
status = "okay";
|
||
|
|
};
|
||
|
|
|
||
|
|
&sdhci0 {
|
||
|
|
non-removable;
|
||
|
|
bus-width = <4>;
|
||
|
|
mmc-ddr-1_8v;
|
||
|
|
mmc-hs400-1_8v;
|
||
|
|
sd-uhs-sdr104;
|
||
|
|
marvell,xenon-emmc;
|
||
|
|
marvell,xenon-tun-count = <9>;
|
||
|
|
marvell,pad-type = "fixed-1-8v";
|
||
|
|
vqmmc-supply = <&vsdc_reg>;
|
||
|
|
|
||
|
|
pinctrl-names = "default";
|
||
|
|
pinctrl-0 = <&mmc_pins>;
|
||
|
|
status = "okay";
|
||
|
|
|
||
|
|
#address-cells = <1>;
|
||
|
|
#size-cells = <0>;
|
||
|
|
mmccard: mmccard@0 {
|
||
|
|
compatible = "mmc-card";
|
||
|
|
reg = <0>;
|
||
|
|
};
|
||
|
|
};
|
||
|
|
|
||
|
|
&mdio {
|
||
|
|
pinctrl-names = "default";
|
||
|
|
pinctrl-0 = <&smi_pins>;
|
||
|
|
status = "okay";
|
||
|
|
|
||
|
|
phy1: ethernet-phy@1 {
|
||
|
|
reg = <1>;
|
||
|
|
};
|
||
|
|
};
|