mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 03:36:42 +07:00
d144746478
Pull MIPS updates from Ralf Baechle: "MIPS updates: - All the things that didn't make 3.10. - Removes the Windriver PPMC platform. Nobody will miss it. - Remove a workaround from kernel/irq/irqdomain.c which was there exclusivly for MIPS. Patch by Grant Likely. - More small improvments for the SEAD 3 platform - Improvments on the BMIPS / SMP support for the BCM63xx series. - Various cleanups of dead leftovers. - Platform support for the Cavium Octeon-based EdgeRouter Lite. Two large KVM patchsets didn't make it for this pull request because their respective authors are vacationing" * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (124 commits) MIPS: Kconfig: Add missing MODULES dependency to VPE_LOADER MIPS: BCM63xx: CLK: Add dummy clk_{set,round}_rate() functions MIPS: SEAD3: Disable L2 cache on SEAD-3. MIPS: BCM63xx: Enable second core SMP on BCM6328 if available MIPS: BCM63xx: Add SMP support to prom.c MIPS: define write{b,w,l,q}_relaxed MIPS: Expose missing pci_io{map,unmap} declarations MIPS: Malta: Update GCMP detection. Revert "MIPS: make CAC_ADDR and UNCAC_ADDR account for PHYS_OFFSET" MIPS: APSP: Remove <asm/kspd.h> SSB: Kconfig: Amend SSB_EMBEDDED dependencies MIPS: microMIPS: Fix improper definition of ISA exception bit. MIPS: Don't try to decode microMIPS branch instructions where they cannot exist. MIPS: Declare emulate_load_store_microMIPS as a static function. MIPS: Fix typos and cleanup comment MIPS: Cleanup indentation and whitespace MIPS: BMIPS: support booting from physical CPU other than 0 MIPS: Only set cpu_has_mmips if SYS_SUPPORTS_MICROMIPS MIPS: GIC: Fix gic_set_affinity infinite loop MIPS: Don't save/restore OCTEON wide multiplier state on syscalls. ...
59 lines
1.2 KiB
C
59 lines
1.2 KiB
C
#ifndef BOARD_BCM963XX_H_
|
|
#define BOARD_BCM963XX_H_
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/gpio.h>
|
|
#include <linux/leds.h>
|
|
#include <bcm63xx_dev_enet.h>
|
|
#include <bcm63xx_dev_usb_usbd.h>
|
|
#include <bcm63xx_dev_dsp.h>
|
|
|
|
/*
|
|
* flash mapping
|
|
*/
|
|
#define BCM963XX_CFE_VERSION_OFFSET 0x570
|
|
#define BCM963XX_NVRAM_OFFSET 0x580
|
|
|
|
/*
|
|
* board definition
|
|
*/
|
|
struct board_info {
|
|
u8 name[16];
|
|
unsigned int expected_cpu_id;
|
|
|
|
/* enabled feature/device */
|
|
unsigned int has_enet0:1;
|
|
unsigned int has_enet1:1;
|
|
unsigned int has_enetsw:1;
|
|
unsigned int has_pci:1;
|
|
unsigned int has_pccard:1;
|
|
unsigned int has_ohci0:1;
|
|
unsigned int has_ehci0:1;
|
|
unsigned int has_usbd:1;
|
|
unsigned int has_dsp:1;
|
|
unsigned int has_uart0:1;
|
|
unsigned int has_uart1:1;
|
|
|
|
/* ethernet config */
|
|
struct bcm63xx_enet_platform_data enet0;
|
|
struct bcm63xx_enet_platform_data enet1;
|
|
struct bcm63xx_enetsw_platform_data enetsw;
|
|
|
|
/* USB config */
|
|
struct bcm63xx_usbd_platform_data usbd;
|
|
|
|
/* DSP config */
|
|
struct bcm63xx_dsp_platform_data dsp;
|
|
|
|
/* GPIO LEDs */
|
|
struct gpio_led leds[5];
|
|
|
|
/* External PHY reset GPIO */
|
|
unsigned int ephy_reset_gpio;
|
|
|
|
/* External PHY reset GPIO flags from gpio.h */
|
|
unsigned long ephy_reset_gpio_flags;
|
|
};
|
|
|
|
#endif /* ! BOARD_BCM963XX_H_ */
|