Path: blob/master/arch/powerpc/platforms/82xx/pq2ads.h
10820 views
/*1* PQ2/mpc8260 board-specific stuff2*3* A collection of structures, addresses, and values associated with4* the Freescale MPC8260ADS/MPC8266ADS-PCI boards.5* Copied from the RPX-Classic and SBS8260 stuff.6*7* Author: Vitaly Bordug <[email protected]>8*9* Originally written by Dan Malek for Motorola MPC8260 family10*11* Copyright (c) 2001 Dan Malek <[email protected]>12* Copyright (c) 2006 MontaVista Software, Inc.13*14* This program is free software; you can redistribute it and/or modify it15* under the terms of the GNU General Public License as published by the16* Free Software Foundation; either version 2 of the License, or (at your17* option) any later version.18*/1920#ifdef __KERNEL__21#ifndef __MACH_ADS8260_DEFS22#define __MACH_ADS8260_DEFS2324#include <linux/seq_file.h>2526/* The ADS8260 has 16, 32-bit wide control/status registers, accessed27* only on word boundaries.28* Not all are used (yet), or are interesting to us (yet).29*/3031/* Things of interest in the CSR.32*/33#define BCSR0_LED0 ((uint)0x02000000) /* 0 == on */34#define BCSR0_LED1 ((uint)0x01000000) /* 0 == on */35#define BCSR1_FETHIEN ((uint)0x08000000) /* 0 == enable*/36#define BCSR1_FETH_RST ((uint)0x04000000) /* 0 == reset */37#define BCSR1_RS232_EN1 ((uint)0x02000000) /* 0 ==enable */38#define BCSR1_RS232_EN2 ((uint)0x01000000) /* 0 ==enable */39#define BCSR3_FETHIEN2 ((uint)0x10000000) /* 0 == enable*/40#define BCSR3_FETH2_RST ((uint)0x80000000) /* 0 == reset */4142#endif /* __MACH_ADS8260_DEFS */43#endif /* __KERNEL__ */444546