aboutsummaryrefslogtreecommitdiffstats
path: root/config
Commit message (Expand)AuthorAgeFilesLines
* linux: make IPv6 builtin if selected (saves >30KB)Steven Barth2015-09-091-1/+1
* gcc: remove version 4.9-linaroFelix Fietkau2015-09-061-2/+2
* enable strong SSP / Stackprotector on gcc5Steven Barth2015-08-181-2/+2
* build: disable kernel stack protector support for i386/x86_64Felix Fietkau2015-08-021-0/+1
* hardening: disable user-space SSP for !muslSteven Barth2015-06-291-0/+1
* toolchain: add fortify-headers, enable FORTIFY_SOURCE by defaultSteven Barth2015-06-231-0/+1
* gcc/musl: rework SSP-supportSteven Barth2015-06-221-2/+2
* kernel: mitigate cgroups config dependency changesFelix Fietkau2015-06-181-1/+1
* hardening: enable regular SSP support by defaultSteven Barth2015-06-171-2/+2
* hardening: enable RELRO by defaultSteven Barth2015-06-161-0/+1
* hardening: enable format security checking by defaultSteven Barth2015-06-161-1/+1
* build: enable package list signing by defaultFelix Fietkau2015-05-051-0/+1
* build: add integration for managing opkg package feed keysFelix Fietkau2015-04-061-0/+3
* config: add an option to enable KPROBEJohn Crispin2015-04-011-0/+17
* x86: clean up default grub baudrate settingsFelix Fietkau2015-03-291-4/+3
* build: remove leftover olpc support codeFelix Fietkau2015-03-281-4/+4
* kernel: cleanup seccomp symbol selectionJohn Crispin2015-03-261-7/+5
* x86: use PARTUUID instead explicitly specifying the device by defaultJo-Philipp Wich2015-03-241-2/+0
* build: remove obsolete references to cris and avr32Felix Fietkau2015-03-241-1/+1
* kernel: Support kernel options required by systemdJohn Crispin2015-03-211-6/+28
* config: add function tracersJohn Crispin2015-03-181-0/+20
* buildroot: make it easier to build all kmodsJonas Gorski2015-03-161-1/+5
* kernel: enable open by fhandle syscallsJohn Crispin2015-03-151-0/+6
* toolchain: The glorious return of glibc, ver 2.21John Crispin2015-03-121-3/+2
* config: disable kernel tracing on umlNicolas Thill2015-02-111-0/+1
* config: remove CONFIG_BUILD_STATIC_TOOLSJo-Philipp Wich2015-02-061-8/+0
* config: fix typo in Global build settings menuNicolas Thill2015-02-051-2/+2
* config: fix typo in Global build settings menuJohn Crispin2015-01-281-1/+1
* Support for building an hardened OpenWRTJohn Crispin2015-01-171-9/+79
* config: enable EARLY_PRINTK on bcm53xx by defaultRafał Miłecki2015-01-161-0/+1
* kernel: add SECCOMP to menuconfigJohn Crispin2015-01-081-0/+14
* packages: fix typo in OpenWrt nameJohn Crispin2014-12-071-1/+1
* config: use PARTUUID by default on x86_64Jo-Philipp Wich2014-10-271-3/+4
* Kconfig: Fix missing help text in DEVEL config menuHauke Mehrtens2014-09-131-2/+13
* Kconfig: Various typo/grammar/line-length fixes in Config*.in filesHauke Mehrtens2014-09-134-80/+85
* config: enable cgroup freezerLuka Perkov2014-09-101-1/+1
* PKG_CHECK_FORMAT_SECURITY: add a menuconfig option, disable by defaultJohn Crispin2014-08-251-0/+9
* x86: add back a line accidentally removed in r41763Felix Fietkau2014-07-201-0/+1
* x86: remove the arbitrary limitation of vmware/virtualbox images to ext4, sel...Felix Fietkau2014-07-201-3/+2
* config/Config-images.in: enable zlib as the default ubi compressionJohn Crispin2014-06-241-1/+1
* Disable crashlog for UMLSteven Barth2014-06-121-1/+1
* kernel: fix duplicate KERNEL_PERF_EVENTS with wrong dependencyFelix Fietkau2014-06-061-4/+1
* build: set default squashfs block size to 64k for low-memory systemsFelix Fietkau2014-06-021-0/+1
* build: make the squashfs block size configurableFelix Fietkau2014-06-021-1/+6
* config/Config-images.in: the ext4 series introduced a regressionJohn Crispin2014-06-021-3/+3
* include: Allow git kernel branch selectionJohn Crispin2014-06-021-0/+18
* config: Remove KERNEL_GIT_LOCAL_REPOSITORY optionJohn Crispin2014-06-021-8/+0
* image: ext4: rename config options as these are only used for ext4 image crea...John Crispin2014-06-021-2/+2
* image: ext4: allow creation of a journaling filesystemJohn Crispin2014-06-021-0/+7
* image: ext4: allow to choose a block size for the rootfsJohn Crispin2014-06-021-0/+24
pan> { .name = "tp-link:blue:wlan2g", .gpio = WDR4300_GPIO_LED_WLAN2G, .active_low = 1, }, }; static struct gpio_keys_button wdr4300_gpio_keys[] __initdata = { { .desc = "QSS button", .type = EV_KEY, .code = KEY_WPS_BUTTON, .debounce_interval = WDR4300_KEYS_DEBOUNCE_INTERVAL, .gpio = WDR4300_GPIO_BTN_WPS, .active_low = 1, }, { .desc = "RFKILL switch", .type = EV_SW, .code = KEY_RFKILL, .debounce_interval = WDR4300_KEYS_DEBOUNCE_INTERVAL, .gpio = WDR4300_GPIO_BTN_RFKILL, }, }; static const struct ar8327_led_info wdr4300_leds_ar8327[] __initconst = { AR8327_LED_INFO(PHY0_0, HW, "tp-link:blue:wan"), AR8327_LED_INFO(PHY1_0, HW, "tp-link:blue:lan1"), AR8327_LED_INFO(PHY2_0, HW, "tp-link:blue:lan2"), AR8327_LED_INFO(PHY3_0, HW, "tp-link:blue:lan3"), AR8327_LED_INFO(PHY4_0, HW, "tp-link:blue:lan4"), }; static struct ar8327_pad_cfg wdr4300_ar8327_pad0_cfg = { .mode = AR8327_PAD_MAC_RGMII, .txclk_delay_en = true, .rxclk_delay_en = true, .txclk_delay_sel = AR8327_CLK_DELAY_SEL1, .rxclk_delay_sel = AR8327_CLK_DELAY_SEL2, }; static struct ar8327_led_cfg wdr4300_ar8327_led_cfg = { .led_ctrl0 = 0xc737c737, .led_ctrl1 = 0x00000000, .led_ctrl2 = 0x00000000, .led_ctrl3 = 0x0030c300, .open_drain = false, }; static struct ar8327_platform_data wdr4300_ar8327_data = { .pad0_cfg = &wdr4300_ar8327_pad0_cfg, .port0_cfg = { .force_link = 1, .speed = AR8327_PORT_SPEED_1000, .duplex = 1, .txpause = 1, .rxpause = 1, }, .led_cfg = &wdr4300_ar8327_led_cfg, .num_leds = ARRAY_SIZE(wdr4300_leds_ar8327), .leds = wdr4300_leds_ar8327, }; static struct mdio_board_info wdr4300_mdio0_info[] = { { .bus_id = "ag71xx-mdio.0", .phy_addr = 0, .platform_data = &wdr4300_ar8327_data, }, }; static void __init wdr4300_setup(void) { u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00); u8 *art = (u8 *) KSEG1ADDR(0x1fff0000); u8 tmpmac[ETH_ALEN]; ath79_register_m25p80(&wdr4300_flash_data); ath79_register_leds_gpio(-1, ARRAY_SIZE(wdr4300_leds_gpio), wdr4300_leds_gpio); ath79_register_gpio_keys_polled(-1, WDR4300_KEYS_POLL_INTERVAL, ARRAY_SIZE(wdr4300_gpio_keys), wdr4300_gpio_keys); ath79_wmac_set_ext_lna_gpio(0, WDR4300_GPIO_EXTERNAL_LNA0); ath79_wmac_set_ext_lna_gpio(1, WDR4300_GPIO_EXTERNAL_LNA1); ath79_init_mac(tmpmac, mac, -1); ath79_register_wmac(art + WDR4300_WMAC_CALDATA_OFFSET, tmpmac); ath79_init_mac(tmpmac, mac, 0); ap9x_pci_setup_wmac_led_pin(0, 0); ap91_pci_init(art + WDR4300_PCIE_CALDATA_OFFSET, tmpmac); ath79_setup_ar934x_eth_cfg(AR934X_ETH_CFG_RGMII_GMAC0); mdiobus_register_board_info(wdr4300_mdio0_info, ARRAY_SIZE(wdr4300_mdio0_info)); ath79_register_mdio(0, 0x0); ath79_init_mac(ath79_eth0_data.mac_addr, mac, -2); /* GMAC0 is connected to an AR8327N switch */ ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII; ath79_eth0_data.phy_mask = BIT(0); ath79_eth0_data.mii_bus_dev = &ath79_mdio0_device.dev; ath79_eth0_pll_data.pll_1000 = 0x06000000; ath79_register_eth(0); gpio_request_one(WDR4300_GPIO_USB1_POWER, GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED, "USB1 power"); gpio_request_one(WDR4300_GPIO_USB2_POWER, GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED, "USB2 power"); ath79_register_usb(); } MIPS_MACHINE(ATH79_MACH_TL_WDR4300, "TL-WDR4300", "TP-LINK TL-WDR3600/4300/4310", wdr4300_setup);