We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3db57e6 commit 04f5605Copy full SHA for 04f5605
arch/arm/mach-bcm/board_bcm2835.c
@@ -114,11 +114,25 @@ static const char * const bcm2835_compat[] = {
114
};
115
116
DT_MACHINE_START(BCM2835, "BCM2835")
117
+ .map_io = bcm2835_map_io,
118
+ .init_machine = bcm2835_init,
119
+ .dt_compat = bcm2835_compat,
120
+ .smp = smp_ops(bcm2836_smp_ops),
121
+MACHINE_END
122
+
123
+static const char * const bcm2711_compat[] = {
124
+#ifdef CONFIG_ARCH_MULTI_V7
125
+ "brcm,bcm2711",
126
+#endif
127
+ NULL
128
+};
129
130
+DT_MACHINE_START(BCM2711, "BCM2711")
131
#if defined(CONFIG_ZONE_DMA) && defined(CONFIG_ARM_LPAE)
132
.dma_zone_size = SZ_1G,
133
#endif
134
.map_io = bcm2835_map_io,
135
.init_machine = bcm2835_init,
- .dt_compat = bcm2835_compat,
136
+ .dt_compat = bcm2711_compat,
137
.smp = smp_ops(bcm2836_smp_ops),
138
MACHINE_END
0 commit comments