Debian Codegraph @

arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts

raw
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3 * Copyright (C) 2023, Intel Corporation
4 */
5 #include "socfpga_agilex5.dtsi"
6
7 / {
8 model = "SoCFPGA Agilex5 SoCDK";
9 compatible = "intel,socfpga-agilex5-socdk", "intel,socfpga-agilex5";
10
11 aliases {
12 serial0 = &uart0;
13 ethernet0 = &gmac0;
14 ethernet1 = &gmac1;
15 ethernet2 = &gmac2;
16 };
17
18 chosen {
19 stdout-path = "serial0:115200n8";
20 };
21
22 leds {
23 compatible = "gpio-leds";
24
25 led-0 {
26 label = "hps_led0";
27 gpios = <&porta 11 GPIO_ACTIVE_HIGH>;
28 };
29
30 };
31
32 memory@80000000 {
33 device_type = "memory";
34 /* We expect the bootloader to fill in the reg */
35 reg = <0x0 0x80000000 0x0 0x0>;
36 };
37 };
38
39 &gpio0 {
40 status = "okay";
41 };
42
43 &gmac2 {
44 status = "okay";
45 phy-mode = "rgmii-id";
46 phy-handle = <&emac2_phy0>;
47 max-frame-size = <9000>;
48
49 mdio0 {
50 #address-cells = <1>;
51 #size-cells = <0>;
52 compatible = "snps,dwmac-mdio";
53
54 emac2_phy0: ethernet-phy@0 {
55 reg = <0>;
56 };
57 };
58 };
59
60 &gpio1 {
61 status = "okay";
62 };
63
64 &osc1 {
65 clock-frequency = <25000000>;
66 };
67
68 &qspi {
69 status = "okay";
70 flash@0 {
71 compatible = "micron,mt25qu02g", "jedec,spi-nor";
72 reg = <0>;
73 spi-max-frequency = <100000000>;
74 m25p,fast-read;
75 cdns,read-delay = <2>;
76 cdns,tshsl-ns = <50>;
77 cdns,tsd2d-ns = <50>;
78 cdns,tchsh-ns = <4>;
79 cdns,tslch-ns = <4>;
80 spi-tx-bus-width = <4>;
81 spi-rx-bus-width = <4>;
82
83 partitions {
84 compatible = "fixed-partitions";
85 #address-cells = <1>;
86 #size-cells = <1>;
87
88 qspi_boot: partition@0 {
89 label = "u-boot";
90 reg = <0x0 0x04200000>;
91 };
92
93 root: partition@4200000 {
94 label = "root";
95 reg = <0x04200000 0x0be00000>;
96 };
97 };
98 };
99 };
100
101 &uart0 {
102 status = "okay";
103 };
104
105 &usb0 {
106 status = "okay";
107 disable-over-current;
108 };
109
110 &watchdog0 {
111 status = "okay";
112 };