Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Marek Vasut | 3653e97 | 2014-12-16 14:09:21 +0100 | [diff] [blame] | 2 | /* |
| 3 | * Novena board support |
| 4 | * |
| 5 | * Copyright (C) 2014 Marek Vasut <marex@denx.de> |
Marek Vasut | 3653e97 | 2014-12-16 14:09:21 +0100 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __BOARD_KOSAGI_NOVENA_NOVENA_H__ |
| 9 | #define __BOARD_KOSAGI_NOVENA_NOVENA_H__ |
| 10 | |
| 11 | #define NOVENA_AUDIO_PWRON IMX_GPIO_NR(5, 17) |
Marek Vasut | 7d4dcba | 2014-12-16 14:09:23 +0100 | [diff] [blame] | 12 | #define NOVENA_BACKLIGHT_PWM_GPIO IMX_GPIO_NR(4, 29) |
| 13 | #define NOVENA_BACKLIGHT_PWR_GPIO IMX_GPIO_NR(4, 15) |
Marek Vasut | 3653e97 | 2014-12-16 14:09:21 +0100 | [diff] [blame] | 14 | #define NOVENA_BUTTON_GPIO IMX_GPIO_NR(4, 14) |
| 15 | #define NOVENA_FPGA_RESET_N_GPIO IMX_GPIO_NR(5, 7) |
| 16 | #define NOVENA_HDMI_GHOST_HPD IMX_GPIO_NR(5, 4) |
Marek Vasut | 7d4dcba | 2014-12-16 14:09:23 +0100 | [diff] [blame] | 17 | #define NOVENA_ITE6251_PWR_GPIO IMX_GPIO_NR(5, 28) |
Marek Vasut | 3653e97 | 2014-12-16 14:09:21 +0100 | [diff] [blame] | 18 | #define NOVENA_PCIE_DISABLE_GPIO IMX_GPIO_NR(2, 16) |
| 19 | #define NOVENA_PCIE_POWER_ON_GPIO IMX_GPIO_NR(7, 12) |
| 20 | #define NOVENA_PCIE_RESET_GPIO IMX_GPIO_NR(3, 29) |
| 21 | #define NOVENA_PCIE_WAKE_UP_GPIO IMX_GPIO_NR(3, 22) |
| 22 | #define NOVENA_SD_CD IMX_GPIO_NR(1, 4) |
| 23 | #define NOVENA_SD_WP IMX_GPIO_NR(1, 2) |
| 24 | |
Marek Vasut | 7d4dcba | 2014-12-16 14:09:23 +0100 | [diff] [blame] | 25 | #define NOVENA_IT6251_I2C_BUS 2 |
| 26 | #define NOVENA_IT6251_CHIPADDR 0x5c |
| 27 | #define NOVENA_IT6251_LVDSADDR 0x5e |
| 28 | |
Marek Vasut | 5da39bf | 2014-12-16 14:09:22 +0100 | [diff] [blame] | 29 | void setup_display_clock(void); |
Marek Vasut | 7d4dcba | 2014-12-16 14:09:23 +0100 | [diff] [blame] | 30 | void setup_display_lvds(void); |
Marek Vasut | 5da39bf | 2014-12-16 14:09:22 +0100 | [diff] [blame] | 31 | |
Marek Vasut | 3653e97 | 2014-12-16 14:09:21 +0100 | [diff] [blame] | 32 | #endif /* __BOARD_KOSAGI_NOVENA_NOVENA_H__ */ |