u-boot/board/kosagi/novena/novena.h
Tom Rini 83d290c56f SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini <trini@konsulko.com>
2018-05-07 09:34:12 -04:00

32 lines
1 KiB
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Novena board support
*
* Copyright (C) 2014 Marek Vasut <marex@denx.de>
*/
#ifndef __BOARD_KOSAGI_NOVENA_NOVENA_H__
#define __BOARD_KOSAGI_NOVENA_NOVENA_H__
#define NOVENA_AUDIO_PWRON IMX_GPIO_NR(5, 17)
#define NOVENA_BACKLIGHT_PWM_GPIO IMX_GPIO_NR(4, 29)
#define NOVENA_BACKLIGHT_PWR_GPIO IMX_GPIO_NR(4, 15)
#define NOVENA_BUTTON_GPIO IMX_GPIO_NR(4, 14)
#define NOVENA_FPGA_RESET_N_GPIO IMX_GPIO_NR(5, 7)
#define NOVENA_HDMI_GHOST_HPD IMX_GPIO_NR(5, 4)
#define NOVENA_ITE6251_PWR_GPIO IMX_GPIO_NR(5, 28)
#define NOVENA_PCIE_DISABLE_GPIO IMX_GPIO_NR(2, 16)
#define NOVENA_PCIE_POWER_ON_GPIO IMX_GPIO_NR(7, 12)
#define NOVENA_PCIE_RESET_GPIO IMX_GPIO_NR(3, 29)
#define NOVENA_PCIE_WAKE_UP_GPIO IMX_GPIO_NR(3, 22)
#define NOVENA_SD_CD IMX_GPIO_NR(1, 4)
#define NOVENA_SD_WP IMX_GPIO_NR(1, 2)
#define NOVENA_IT6251_I2C_BUS 2
#define NOVENA_IT6251_CHIPADDR 0x5c
#define NOVENA_IT6251_LVDSADDR 0x5e
void setup_display_clock(void);
void setup_display_lvds(void);
#endif /* __BOARD_KOSAGI_NOVENA_NOVENA_H__ */