Debian Codegraph @

scripts/dtc/include-prefixes/arm64/airoha/en7581-evb.dts

raw
1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 /dts-v1/;
3
4 /* Bootloader installs ATF here */
5 /memreserve/ 0x80000000 0x200000;
6
7 #include "en7581.dtsi"
8
9 / {
10 model = "Airoha EN7581 Evaluation Board";
11 compatible = "airoha,en7581-evb", "airoha,en7581";
12
13 aliases {
14 serial0 = &uart1;
15 };
16
17 chosen {
18 stdout-path = "serial0:115200n8";
19 linux,usable-memory-range = <0x0 0x80200000 0x0 0x1fe00000>;
20 };
21
22 memory@80000000 {
23 device_type = "memory";
24 reg = <0x0 0x80000000 0x2 0x00000000>;
25 };
26 };
27
28 &spi_nand {
29 partitions {
30 compatible = "fixed-partitions";
31 #address-cells = <1>;
32 #size-cells = <1>;
33
34 bootloader@0 {
35 label = "bootloader";
36 reg = <0x00000000 0x00080000>;
37 read-only;
38 };
39
40 art@200000 {
41 label = "art";
42 reg = <0x00200000 0x00400000>;
43 };
44
45 tclinux@600000 {
46 label = "tclinux";
47 reg = <0x00600000 0x03200000>;
48 };
49
50 tclinux-slave@3800000 {
51 label = "tclinux_alt";
52 reg = <0x03800000 0x03200000>;
53 };
54
55 rootfs-data@6a00000 {
56 label = "rootfs_data";
57 reg = <0x06a00000 0x01400000>;
58 };
59
60 reserved-bmt@7e00000 {
61 label = "reserved_bmt";
62 reg = <0x07e00000 0x00200000>;
63 read-only;
64 };
65 };
66 };
67
68 &en7581_pinctrl {
69 gpio-ranges = <&en7581_pinctrl 0 13 47>;
70
71 pcie0_rst_pins: pcie0-rst-pins {
72 conf {
73 pins = "pcie_reset0";
74 drive-open-drain = <1>;
75 };
76 };
77
78 pcie1_rst_pins: pcie1-rst-pins {
79 conf {
80 pins = "pcie_reset1";
81 drive-open-drain = <1>;
82 };
83 };
84 };
85
86 &pcie0 {
87 pinctrl-names = "default";
88 pinctrl-0 = <&pcie0_rst_pins>;
89 status = "okay";
90 };
91
92 &pcie1 {
93 pinctrl-names = "default";
94 pinctrl-0 = <&pcie1_rst_pins>;
95 status = "okay";
96 };
97
98 &i2c0 {
99 status = "okay";
100 };
101
102 &eth {
103 status = "okay";
104 };
105
106 &gdm1 {
107 status = "okay";
108 };