Skip to content

Commit 5be374d

Browse files
committed
Merge tag 'socfpga_dts_updates_for_v6.3_part2' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux into arm/dt
SoCFPGA dts updates for v6.3, part 2 - Add support for the enclustra PE1 board that is based on Arria10 * tag 'socfpga_dts_updates_for_v6.3_part2' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux: ARM: dts: socfpga: Add enclustra PE1 devicetree dt-bindings: altera: Add enclustra mercury PE1 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 18b68c6 + 2d050f0 commit 5be374d

File tree

3 files changed

+57
-0
lines changed

3 files changed

+57
-0
lines changed

Documentation/devicetree/bindings/arm/altera.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ properties:
3131
- description: Mercury+ AA1 boards
3232
items:
3333
- enum:
34+
- enclustra,mercury-pe1
3435
- google,chameleon-v3
3536
- const: enclustra,mercury-aa1
3637
- const: altr,socfpga-arria10

arch/arm/boot/dts/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,6 +1187,7 @@ dtb-$(CONFIG_ARCH_S5PV210) += \
11871187
dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += \
11881188
socfpga_arria5_socdk.dtb \
11891189
socfpga_arria10_chameleonv3.dtb \
1190+
socfpga_arria10_mercury_pe1.dtb \
11901191
socfpga_arria10_socdk_nand.dtb \
11911192
socfpga_arria10_socdk_qspi.dtb \
11921193
socfpga_arria10_socdk_sdmmc.dtb \
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
/*
3+
* Copyright 2023 Steffen Trumtrar <[email protected]>
4+
*/
5+
/dts-v1/;
6+
#include "socfpga_arria10_mercury_aa1.dtsi"
7+
8+
/ {
9+
model = "Enclustra Mercury+ PE1";
10+
compatible = "enclustra,mercury-pe1", "enclustra,mercury-aa1",
11+
"altr,socfpga-arria10", "altr,socfpga";
12+
13+
aliases {
14+
ethernet0 = &gmac0;
15+
serial0 = &uart0;
16+
serial1 = &uart1;
17+
};
18+
};
19+
20+
&gmac0 {
21+
status = "okay";
22+
};
23+
24+
&gpio0 {
25+
status = "okay";
26+
};
27+
28+
&gpio1 {
29+
status = "okay";
30+
};
31+
32+
&gpio2 {
33+
status = "okay";
34+
};
35+
36+
&i2c1 {
37+
status = "okay";
38+
};
39+
40+
&mmc {
41+
status = "okay";
42+
};
43+
44+
&uart0 {
45+
status = "okay";
46+
};
47+
48+
&uart1 {
49+
status = "okay";
50+
};
51+
52+
&usb0 {
53+
status = "okay";
54+
dr_mode = "host";
55+
};

0 commit comments

Comments
 (0)