Lines Matching +full:orion +full:- +full:spi

1 // SPDX-License-Identifier: GPL-2.0-only
3 * arch/arm/mach-orion5x/common.c
5 * Core functions for Marvell Orion 5x SoCs
14 #include <linux/dma-mapping.h>
19 #include <linux/clk-provider.h>
27 #include <linux/platform_data/mtd-orion_nand.h>
28 #include <linux/platform_data/usb-ehci-orion.h>
32 #include "bridge-regs.h"
122 * SPI
181 .id = -1,
205 mbus_soc_name = "marvell,orion5x-88f5281-mbus"; in orion5x_init_early()
207 mbus_soc_name = "marvell,orion5x-88f5182-mbus"; in orion5x_init_early()
209 mbus_soc_name = "marvell,orion5x-88f5181-mbus"; in orion5x_init_early()
211 mbus_soc_name = "marvell,orion5x-88f6183-mbus"; in orion5x_init_early()
223 * here once Orion5x is migrated to the pci-mvebu driver. in orion5x_setup_wins()
280 *dev_name = "MV88F5281-D2"; in orion5x_id()
282 *dev_name = "MV88F5281-D1"; in orion5x_id()
284 *dev_name = "MV88F5281-D0"; in orion5x_id()
286 *dev_name = "MV88F5281-Rev-Unsupported"; in orion5x_id()
290 *dev_name = "MV88F5182-A2"; in orion5x_id()
292 *dev_name = "MV88F5182-Rev-Unsupported"; in orion5x_id()
296 *dev_name = "MV88F5181-Rev-B1"; in orion5x_id()
298 *dev_name = "MV88F5181L-Rev-A1"; in orion5x_id()
300 *dev_name = "MV88F5181(L)-Rev-Unsupported"; in orion5x_id()
304 *dev_name = "MV88F6183-Rev-B0"; in orion5x_id()
306 *dev_name = "MV88F6183-Rev-Unsupported"; in orion5x_id()
309 *dev_name = "Device-Unknown"; in orion5x_id()
319 printk(KERN_INFO "Orion ID: %s. TCLK=%d.\n", dev_name, orion5x_tclk); in orion5x_init()
322 * Setup Orion address map in orion5x_init()
334 printk(KERN_INFO "Orion: Applying 5281 D0 WFI workaround.\n"); in orion5x_init()
364 * Many orion-based systems have buggy bootloader implementations.
369 for (; t->hdr.size; t = tag_next(t)) in tag_fixup_mem32()
370 if (t->hdr.tag == ATAG_MEM && in tag_fixup_mem32()
371 (!t->u.mem.size || t->u.mem.size & ~PAGE_MASK || in tag_fixup_mem32()
372 t->u.mem.start & ~PAGE_MASK)) { in tag_fixup_mem32()
375 t->u.mem.size / 1024, t->u.mem.start); in tag_fixup_mem32()
376 t->hdr.tag = 0; in tag_fixup_mem32()