1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
6 #ifndef __SOC_TEGRA_FUSE_H__
7 #define __SOC_TEGRA_FUSE_H__
16 #define TEGRA_FUSE_SKU_CALIB_0 0xf0
17 #define TEGRA30_FUSE_SATA_CALIB 0x124
18 #define TEGRA_FUSE_USB_CALIB_EXT_0 0x250
22 u32
tegra_read_chipid(void);
23 u8
tegra_get_chip_id(void);
26 TEGRA_REVISION_UNKNOWN
= 0,
35 struct tegra_sku_info
{
47 enum tegra_revision revision
;
50 u32
tegra_read_straps(void);
51 u32
tegra_read_ram_code(void);
52 int tegra_fuse_readl(unsigned long offset
, u32
*value
);
54 extern struct tegra_sku_info tegra_sku_info
;
56 struct device
*tegra_soc_device_register(void);
58 #endif /* __ASSEMBLY__ */
60 #endif /* __SOC_TEGRA_FUSE_H__ */