diff options
Diffstat (limited to 'target/linux/ar71xx/files/include')
12 files changed, 381 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/include/.svn/entries b/target/linux/ar71xx/files/include/.svn/entries new file mode 100644 index 0000000..adf9989 --- /dev/null +++ b/target/linux/ar71xx/files/include/.svn/entries @@ -0,0 +1,31 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/ar71xx/files/include +svn://svn.openwrt.org/openwrt + + + +2012-12-10T10:38:07.979701Z +34588 +juhosg + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +linux +dir + diff --git a/target/linux/ar71xx/files/include/linux/.svn/entries b/target/linux/ar71xx/files/include/linux/.svn/entries new file mode 100644 index 0000000..6ded3e0 --- /dev/null +++ b/target/linux/ar71xx/files/include/linux/.svn/entries @@ -0,0 +1,68 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/ar71xx/files/include/linux +svn://svn.openwrt.org/openwrt + + + +2012-12-10T10:38:07.979701Z +34588 +juhosg + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +platform +dir + +nxp_74hc153.h +file + + + + +2013-03-17T12:12:46.000000Z +86b45e8c225649b346e85cc4654df19c +2010-01-15T12:07:58.891088Z +19149 +juhosg + + + + + + + + + + + + + + + + + + + + + +585 + +spi +dir + diff --git a/target/linux/ar71xx/files/include/linux/.svn/text-base/nxp_74hc153.h.svn-base b/target/linux/ar71xx/files/include/linux/.svn/text-base/nxp_74hc153.h.svn-base new file mode 100644 index 0000000..20b8845 --- /dev/null +++ b/target/linux/ar71xx/files/include/linux/.svn/text-base/nxp_74hc153.h.svn-base @@ -0,0 +1,24 @@ +/* + * NXP 74HC153 - Dual 4-input multiplexer defines + * + * Copyright (C) 2010 Gabor Juhos <juhosg@openwrt.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef _NXP_74HC153_H +#define _NXP_74HC153_H + +#define NXP_74HC153_DRIVER_NAME "nxp-74hc153" + +struct nxp_74hc153_platform_data { + unsigned gpio_base; + unsigned gpio_pin_s0; + unsigned gpio_pin_s1; + unsigned gpio_pin_1y; + unsigned gpio_pin_2y; +}; + +#endif /* _NXP_74HC153_H */ diff --git a/target/linux/ar71xx/files/include/linux/nxp_74hc153.h b/target/linux/ar71xx/files/include/linux/nxp_74hc153.h new file mode 100644 index 0000000..20b8845 --- /dev/null +++ b/target/linux/ar71xx/files/include/linux/nxp_74hc153.h @@ -0,0 +1,24 @@ +/* + * NXP 74HC153 - Dual 4-input multiplexer defines + * + * Copyright (C) 2010 Gabor Juhos <juhosg@openwrt.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef _NXP_74HC153_H +#define _NXP_74HC153_H + +#define NXP_74HC153_DRIVER_NAME "nxp-74hc153" + +struct nxp_74hc153_platform_data { + unsigned gpio_base; + unsigned gpio_pin_s0; + unsigned gpio_pin_s1; + unsigned gpio_pin_1y; + unsigned gpio_pin_2y; +}; + +#endif /* _NXP_74HC153_H */ diff --git a/target/linux/ar71xx/files/include/linux/platform/.svn/entries b/target/linux/ar71xx/files/include/linux/platform/.svn/entries new file mode 100644 index 0000000..67a3e83 --- /dev/null +++ b/target/linux/ar71xx/files/include/linux/platform/.svn/entries @@ -0,0 +1,62 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/ar71xx/files/include/linux/platform +svn://svn.openwrt.org/openwrt + + + +2012-12-10T10:38:07.979701Z +34588 +juhosg + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +ar934x_nfc.h +file + + + + +2013-03-17T12:12:46.000000Z +8b7d8ae7c1aafb5961d1635a9d04bf98 +2012-12-10T10:38:07.979701Z +34588 +juhosg +has-props + + + + + + + + + + + + + + + + + + + + +765 + diff --git a/target/linux/ar71xx/files/include/linux/platform/.svn/prop-base/ar934x_nfc.h.svn-base b/target/linux/ar71xx/files/include/linux/platform/.svn/prop-base/ar934x_nfc.h.svn-base new file mode 100644 index 0000000..bdbd305 --- /dev/null +++ b/target/linux/ar71xx/files/include/linux/platform/.svn/prop-base/ar934x_nfc.h.svn-base @@ -0,0 +1,5 @@ +K 13 +svn:eol-style +V 6 +native +END diff --git a/target/linux/ar71xx/files/include/linux/platform/.svn/text-base/ar934x_nfc.h.svn-base b/target/linux/ar71xx/files/include/linux/platform/.svn/text-base/ar934x_nfc.h.svn-base new file mode 100644 index 0000000..2c3db15 --- /dev/null +++ b/target/linux/ar71xx/files/include/linux/platform/.svn/text-base/ar934x_nfc.h.svn-base @@ -0,0 +1,31 @@ +/* + * Platform data definition for the built-in NAND controller of the + * Atheros AR934x SoCs + * + * Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published + * by the Free Software Foundation. + */ + +#ifndef _AR934X_NFC_PLATFORM_H +#define _AR934X_NFC_PLATFORM_H + +#define AR934X_NFC_DRIVER_NAME "ar934x-nfc" + +struct mtd_info; +struct mtd_partition; + +struct ar934x_nfc_platform_data { + const char *name; + struct mtd_partition *parts; + int nr_parts; + + bool swap_dma; + void (*hw_reset)(bool active); + void (*select_chip)(int chip_no); + int (*scan_fixup)(struct mtd_info *mtd); +}; + +#endif /* _AR934X_NFC_PLATFORM_H */ diff --git a/target/linux/ar71xx/files/include/linux/platform/ar934x_nfc.h b/target/linux/ar71xx/files/include/linux/platform/ar934x_nfc.h new file mode 100644 index 0000000..2c3db15 --- /dev/null +++ b/target/linux/ar71xx/files/include/linux/platform/ar934x_nfc.h @@ -0,0 +1,31 @@ +/* + * Platform data definition for the built-in NAND controller of the + * Atheros AR934x SoCs + * + * Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published + * by the Free Software Foundation. + */ + +#ifndef _AR934X_NFC_PLATFORM_H +#define _AR934X_NFC_PLATFORM_H + +#define AR934X_NFC_DRIVER_NAME "ar934x-nfc" + +struct mtd_info; +struct mtd_partition; + +struct ar934x_nfc_platform_data { + const char *name; + struct mtd_partition *parts; + int nr_parts; + + bool swap_dma; + void (*hw_reset)(bool active); + void (*select_chip)(int chip_no); + int (*scan_fixup)(struct mtd_info *mtd); +}; + +#endif /* _AR934X_NFC_PLATFORM_H */ diff --git a/target/linux/ar71xx/files/include/linux/spi/.svn/entries b/target/linux/ar71xx/files/include/linux/spi/.svn/entries new file mode 100644 index 0000000..ee393a8 --- /dev/null +++ b/target/linux/ar71xx/files/include/linux/spi/.svn/entries @@ -0,0 +1,62 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/ar71xx/files/include/linux/spi +svn://svn.openwrt.org/openwrt + + + +2010-11-12T18:50:29.628373Z +23975 +juhosg + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +vsc7385.h +file + + + + +2013-03-17T12:12:46.000000Z +e128b7a959cdab61a4cbcbf3b90cd057 +2010-11-12T18:50:29.628373Z +23975 +juhosg +has-props + + + + + + + + + + + + + + + + + + + + +477 + diff --git a/target/linux/ar71xx/files/include/linux/spi/.svn/prop-base/vsc7385.h.svn-base b/target/linux/ar71xx/files/include/linux/spi/.svn/prop-base/vsc7385.h.svn-base new file mode 100644 index 0000000..bdbd305 --- /dev/null +++ b/target/linux/ar71xx/files/include/linux/spi/.svn/prop-base/vsc7385.h.svn-base @@ -0,0 +1,5 @@ +K 13 +svn:eol-style +V 6 +native +END diff --git a/target/linux/ar71xx/files/include/linux/spi/.svn/text-base/vsc7385.h.svn-base b/target/linux/ar71xx/files/include/linux/spi/.svn/text-base/vsc7385.h.svn-base new file mode 100644 index 0000000..1072ad7 --- /dev/null +++ b/target/linux/ar71xx/files/include/linux/spi/.svn/text-base/vsc7385.h.svn-base @@ -0,0 +1,19 @@ +/* + * Platform data definition for the Vitesse VSC7385 ethernet switch driver + * + * Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published + * by the Free Software Foundation. + */ + +struct vsc7385_platform_data { + void (*reset)(void); + char *ucode_name; + struct { + u32 tx_ipg:5; + u32 bit2:1; + u32 clk_sel:3; + } mac_cfg; +}; diff --git a/target/linux/ar71xx/files/include/linux/spi/vsc7385.h b/target/linux/ar71xx/files/include/linux/spi/vsc7385.h new file mode 100644 index 0000000..1072ad7 --- /dev/null +++ b/target/linux/ar71xx/files/include/linux/spi/vsc7385.h @@ -0,0 +1,19 @@ +/* + * Platform data definition for the Vitesse VSC7385 ethernet switch driver + * + * Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published + * by the Free Software Foundation. + */ + +struct vsc7385_platform_data { + void (*reset)(void); + char *ucode_name; + struct { + u32 tx_ipg:5; + u32 bit2:1; + u32 clk_sel:3; + } mac_cfg; +}; |