blob: a569044195d9a65bf968f3cd6723c78728d3d486 [file] [log] [blame]
Christian Marangic771b632025-03-14 19:59:21 +01001// SPDX-License-Identifier: GPL-2.0+
2
Christian Marangi5ba73a82025-04-07 22:01:48 +02003#include <dt-bindings/reset/airoha,en7581-reset.h>
4
Christian Marangic771b632025-03-14 19:59:21 +01005/ {
6 reserved-memory {
7 #address-cells = <2>;
8 #size-cells = <2>;
9 ranges;
10
11 atf-reserved-memory@80000000 {
12 no-map;
13 reg = <0x0 0x80000000 0x0 0x40000>;
14 };
15 };
Christian Marangi01a16662025-04-07 22:01:45 +020016
17 soc {
18 chip_scu: syscon@1fa20000 {
19 compatible = "airoha,en7581-chip-scu", "syscon";
20 reg = <0x0 0x1fa20000 0x0 0x388>;
21 };
Christian Marangi5ba73a82025-04-07 22:01:48 +020022
23 eth: ethernet@1fb50000 {
24 compatible = "airoha,en7581-eth";
25 reg = <0 0x1fb50000 0 0x2600>,
26 <0 0x1fb54000 0 0x2000>,
27 <0 0x1fb56000 0 0x2000>;
28 reg-names = "fe", "qdma0", "qdma1";
29
30 resets = <&scuclk EN7581_FE_RST>,
31 <&scuclk EN7581_FE_PDMA_RST>,
32 <&scuclk EN7581_FE_QDMA_RST>,
33 <&scuclk EN7581_DUAL_HSI0_MAC_RST>,
34 <&scuclk EN7581_DUAL_HSI1_MAC_RST>,
35 <&scuclk EN7581_HSI_MAC_RST>,
36 <&scuclk EN7581_XFP_MAC_RST>;
37 reset-names = "fe", "pdma", "qdma",
38 "hsi0-mac", "hsi1-mac", "hsi-mac",
39 "xfp-mac";
40 };
41
42 switch: switch@1fb58000 {
43 compatible = "airoha,en7581-switch";
44 reg = <0 0x1fb58000 0 0x8000>;
45 };
Christian Marangi01a16662025-04-07 22:01:45 +020046 };
Christian Marangic771b632025-03-14 19:59:21 +010047};
48
Christian Marangi5ba73a82025-04-07 22:01:48 +020049&scuclk {
50 compatible = "airoha,en7581-scu", "syscon";
51};
52
Christian Marangic771b632025-03-14 19:59:21 +010053&uart1 {
54 bootph-all;
55};