Debian Codegraph @

arch/arm64/boot/dts/marvell/armada-3720-atlas-v5.dts

raw
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3 * Device Tree file for RIPE Atlas Probe v5
4 * 2025 by Marek BehĂșn <[email protected]>
5 */
6
7 /dts-v1/;
8
9 #include <dt-bindings/bus/moxtet.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/leds/common.h>
12 #include "armada-372x.dtsi"
13
14 / {
15 model = "RIPE Atlas Probe v5";
16 compatible = "ripe,atlas-v5", "marvell,armada3720",
17 "marvell,armada3710";
18
19 aliases {
20 ethernet0 = &eth0;
21 mmc0 = &sdhci0;
22 };
23
24 chosen {
25 stdout-path = "serial0:115200n8";
26 };
27
28 memory@0 {
29 device_type = "memory";
30 reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
31 };
32
33 leds {
34 compatible = "gpio-leds";
35
36 led {
37 gpios = <&gpiosb 21 GPIO_ACTIVE_LOW>;
38 function = LED_FUNCTION_ACTIVITY;
39 color = <LED_COLOR_ID_RED>;
40 linux,default-trigger = "default-on";
41 };
42 };
43
44 vsdc_reg: vsdc-reg {
45 compatible = "regulator-gpio";
46 regulator-name = "vsdc";
47 regulator-min-microvolt = <1800000>;
48 regulator-max-microvolt = <3300000>;
49 regulator-boot-on;
50
51 gpios = <&gpiosb 23 GPIO_ACTIVE_HIGH>;
52 gpios-states = <0>;
53 states = <1800000 0x1
54 3300000 0x0>;
55 enable-active-high;
56 };
57
58 firmware {
59 armada-3700-rwtm {
60 compatible = "marvell,armada-3700-rwtm-firmware", "cznic,turris-mox-rwtm";
61 };
62 };
63 };
64
65 &uart0 {
66 pinctrl-names = "default";
67 pinctrl-0 = <&uart1_pins>;
68 status = "okay";
69 };
70
71 &eth0 {
72 pinctrl-names = "default";
73 pinctrl-0 = <&rgmii_pins>;
74 phy-mode = "rgmii-id";
75 phy-handle = <&phy1>;
76 status = "okay";
77 };
78
79 &sdhci0 {
80 non-removable;
81 bus-width = <4>;
82 mmc-ddr-1_8v;
83 mmc-hs400-1_8v;
84 sd-uhs-sdr104;
85 marvell,xenon-emmc;
86 marvell,xenon-tun-count = <9>;
87 marvell,pad-type = "fixed-1-8v";
88 vqmmc-supply = <&vsdc_reg>;
89
90 pinctrl-names = "default";
91 pinctrl-0 = <&mmc_pins>;
92 status = "okay";
93
94 #address-cells = <1>;
95 #size-cells = <0>;
96 mmccard: mmccard@0 {
97 compatible = "mmc-card";
98 reg = <0>;
99 };
100 };
101
102 &mdio {
103 pinctrl-names = "default";
104 pinctrl-0 = <&smi_pins>;
105 status = "okay";
106
107 phy1: ethernet-phy@1 {
108 reg = <1>;
109 };
110 };