/*------------------------------------------------------------------------------------------*\ * * Hardware Config für Fritz Box 4040 (HW-Rev 210) und Fritz Box 4080 (HW-Rev 211) * \*------------------------------------------------------------------------------------------*/ #ERROR "Diese Datei darf nicht mehr verwendet werden. Bitte Änderungen in der entsprechenden .dts Datei vornehmen" #undef AVM_HARDWARE_CONFIG #define AVM_HARDWARE_CONFIG avm_hardware_config_hw211 struct _avm_hw_config AVM_HARDWARE_CONFIG[] = { /****************************************************************************************\ * * GPIO Config * \****************************************************************************************/ /*------------------------------------------------------------------------------------------*\ * LEDs / Taster \*------------------------------------------------------------------------------------------*/ { .name = "gpio_avm_led_power", /*--- LED5 ---*/ .value = 14, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_LED, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OUTPUT_SET } }, { .name = "gpio_avm_led_internet", /*--- LED4 ---*/ .value = 0x107 - 1, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_LED, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT } }, { .name = "gpio_avm_led_dect", /*--- LED3 ---*/ .value = 0x107 - 2, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_LED, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT } }, { .name = "gpio_avm_led_wlan", /*--- LED2 ---*/ .value = 0x107 - 0, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_LED, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT } }, { .name = "gpio_avm_led_info", /*--- LED1 ---*/ .value = 0x107 - 3, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_LED, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT } }, { .name = "gpio_avm_led_info_red", /*--- LED1R ---*/ .value = 0x107 - 4, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_LED, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT } }, /*--- DECT button ---*/ #if 0 { .name = "gpio_avm_button_dect", .value = 10, .param = avm_hw_param_gpio_in_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_LED, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_IN | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR } }, #endif /*--- WLAN button connected to EXTIN 1 ---*/ { .name = "gpio_avm_button_wlan", .value = 9, .param = avm_hw_param_gpio_in_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_LED, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_IN | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_SET } }, /*--------------------------------------------------------------------------------------*\ * SHIFT REGISTER \*--------------------------------------------------------------------------------------*/ { .name = "gpio_avm_shift_led_st", .value = 4, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_SHIFT_REG, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR } }, { .name = "gpio_avm_shift_led_d", .value = 5, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_SHIFT_REG, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR } }, { .name = "gpio_avm_shift_led_sh", .value = 6, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_SHIFT_REG, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR } }, /*--------------------------------------------------------------------------------------*\ * DECT \*--------------------------------------------------------------------------------------*/ { .name = "gpio_avm_dect_reset", .value = IFX_GPIO_PIN_ID(2, 3), .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_PIGLET, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_dect_uart_rx", .value = IFX_GPIO_PIN_ID(0, 11), .param = avm_hw_param_no_param, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_PIGLET, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_IN | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR } }, { .name = "gpio_avm_dect_uart_tx", .value = IFX_GPIO_PIN_ID(0, 10), .param = avm_hw_param_no_param, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_PIGLET, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, /*--------------------------------------------------------------------------------------*\ * FPGA \*--------------------------------------------------------------------------------------*/ { .name = "gpio_avm_piglet_noemif_prog", .value = IFX_GPIO_PIN_ID(1, 3), .param = avm_hw_param_no_param, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_FPGA, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_piglet_noemif_clk", .value = IFX_GPIO_PIN_ID(0, 8), .param = avm_hw_param_gpio_out_active_high, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_FPGA, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_piglet_noemif_data", .value = IFX_GPIO_PIN_ID(2, 4), .param = avm_hw_param_no_param, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_FPGA, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_piglet_noemif_done", .value = 1, .param = avm_hw_param_gpio_in_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_FPGA, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_IN | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_PUDEN_SET } }, /*--------------------------------------------------------------------------------*\ * TDM-Check (Clockmessung) \*--------------------------------------------------------------------------------*/ { .name = "gpio_avm_tdm_fsc", .value = IFX_GPIO_PIN_ID(3, 10), .param = avm_hw_param_no_param, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_TDMCHECK, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_IN | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR } }, { .name = "gpio_avm_tdm_dcl", .value = IFX_GPIO_PIN_ID(1, 11), .param = avm_hw_param_no_param, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_TDMCHECK, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_IN | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR } }, /*--------------------------------------------------------------------------------------*\ * PCM-BUS \*--------------------------------------------------------------------------------------*/ { .name = "gpio_avm_pcmlink_fsc", .value = IFX_GPIO_PIN_ID(3, 10), .param = avm_hw_param_no_param, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_PCMLINK, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_IN | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_SET | IFX_GPIO_IOCTL_PIN_CONFIG_PUDSEL_SET | IFX_GPIO_IOCTL_PIN_CONFIG_PUDEN_SET } }, { .name = "gpio_avm_pcmlink_do", .value = IFX_GPIO_PIN_ID(1, 9), .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_PCMLINK, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_pcmlink_di", .value = IFX_GPIO_PIN_ID(1, 10), .param = avm_hw_param_no_param, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_PCMLINK, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_IN | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_SET | IFX_GPIO_IOCTL_PIN_CONFIG_PUDSEL_SET | IFX_GPIO_IOCTL_PIN_CONFIG_PUDEN_SET } }, { .name = "gpio_avm_pcmlink_dcl", .value = IFX_GPIO_PIN_ID(1, 11), .param = avm_hw_param_no_param, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_PCMLINK, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_IN | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_PUDSEL_SET | IFX_GPIO_IOCTL_PIN_CONFIG_PUDEN_SET } }, /*--------------------------------------------------------------------------------------*\ * SPI \*--------------------------------------------------------------------------------------*/ { .name = "gpio_avm_spi_clk", .value = 18, .param = avm_hw_param_no_param, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_SSC, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_spi_do", .value = 17, .param = avm_hw_param_no_param, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_SSC, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_spi_di", .value = 16, .param = avm_hw_param_no_param, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_SSC, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_IN | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR } }, { .name = "gpio_avm_spi_flash_cs", .value = 15, .param = avm_hw_param_gpio_out_active_high, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_SPI_FLASH, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, /*--------------------------------------------------------------------------------------*\ * NAND / FLASH \*--------------------------------------------------------------------------------------*/ { .name = "gpio_avm_nand_ale", .value = 13, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_NAND, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_nand_cle", .value = 24, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_NAND, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_nand_rd_by", .value = 48, .param = avm_hw_param_gpio_in_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_NAND, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_IN | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_CLEAR } }, { .name = "gpio_avm_nand_rd", .value = 49, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_NAND, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_nand_wr", .value = 59, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_NAND, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_nand_wp", .value = 60, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_NAND, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_nand_cs1", .value = 23, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_NAND, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_nand_d0", .value = 51, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_NAND, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_nand_d1", .value = 50, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_NAND, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_nand_d2", .value = 52, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_NAND, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_nand_d3", .value = 57, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_NAND, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_nand_d4", .value = 56, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_NAND, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_nand_d5", .value = 55, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_NAND, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_nand_d6", .value = 54, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_NAND, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_nand_d7", .value = 53, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_NAND, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, /*--------------------------------------------------------------------------------------*\ * USB \*--------------------------------------------------------------------------------------*/ { .name = "gpio_avm_usb_int", .value = 34, .param = avm_hw_param_no_param, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_USB | IFX_GPIO_MODULE_EARLY_REGISTER, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_IN } }, /*--------------------------------------------------------------------------------------*\ * ETHERNET \*--------------------------------------------------------------------------------------*/ { .name = "gpio_avm_extphy_25mhz", .value = 3, .param = avm_hw_param_no_param, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_EXTPHY_25MHZ_CLOCK, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_IN | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR } }, { .name = "gpio_avm_extphy_reset", .value = 0x107 - 7, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_EXTPHY_RESET, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR } }, { .name = "gpio_avm_mii_mdio", .value = 42, .param = avm_hw_param_no_param, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_EXTPHY_MDIO, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_IN | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, { .name = "gpio_avm_mii_mdc", .value = 43, .param = avm_hw_param_no_param, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_EXTPHY_MDIO, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_SET | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_OD_SET } }, /*--------------------------------------------------------------------------------------*\ * PCIE / WLAN / Ext. WASP \*--------------------------------------------------------------------------------------*/ { .name = "gpio_avm_pcie_reset0", /*--- usb ---*/ .value = 61, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_PCIE, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL0_CLEAR | IFX_GPIO_IOCTL_PIN_CONFIG_ALTSEL1_CLEAR } }, { .name = "gpio_avm_pcie_reset1", /*--- osprey ---*/ .value = 0x107 - 6, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_PCIE, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT } }, { .name = "gpio_avm_pcie_reset2", /*--- peregrine ---*/ .value = 0x107 - 5, .param = avm_hw_param_gpio_out_active_low, .manufactor_hw_config.manufactor_lantiq_gpio_config = { .module_id = IFX_GPIO_MODULE_PCIE, .config = IFX_GPIO_IOCTL_PIN_CONFIG_DIR_OUT } }, { .name = NULL } }; EXPORT_SYMBOL(AVM_HARDWARE_CONFIG);